Forums / Developer / relating objects / Comment40366
Rinze Cats
Thursday 06 May 2004 1:08:22 am
Hi, I have implemented a 'current issue' system as well, but run in to a problem. I have current issues and archived issues.
all issues use the same pagelayout.tpl. in this template I select the homepage with current issue check and display it. Works fine. However, when opening a homepage from the archive, the template will check the current issue attribute, and open the current issue.
I have solved this by copying my pagelayout. one including the check. This is only used on first visit. This is a very ugly sollution since it involves copying my entire page template. I think I want to create a start template the finds the current issue and redirects to it, but I don't know how to implement this!
Another thing: I relate articles to my homepage to assign them to a certain issue. Relating is a nasty job cause all articles reside in different folders. Is there a way to change the admin template to list all articles of an issue in one view,allowing the editor to relate them all at once. I have already included an issue attribute in my articles to distinguishe them!
many thanx!