Hi Logician
Thanks for the reply. The reason why I want to include templates is to make it easier for our site editor to update the sections he needs to update without getting lost in all the code in the rest of the page.
For example:
We have an Events page. This consists of three sections: the standard $header, a side bar which is specific to all the pages in the events section, and the list of events. At the moment the side bar and the events list are text files which are included in the page using SSI. The editor only has access to the events list which he updates as events are sent to us. This makes it easy to update as he only sees the bit that he updates.
I wanted to therefore create 3 WebTemplates: Events (main page), Events_Side (side bar) and Events_List (the list of events.) I could then tell the editor to just to to Events_List whenever he needed to update an event. If all of these are in one page, it is a lot of code in a small template box and for a non-IT person this can get very confusing.
The included template may have webqueries in it though it's not essential. Our side bars currently contain the last 10 posts from each forum depending on which page is being loaded, but I can also just not have an included side bar template if that makes it easier and instead just have two templates, Events and Events_List.
Hope that makes it clearer!
I would be more than happy to test the new version though I've only just installed this and haven't even tried the queries yet.
|