Page layout with multiple templates
Posted: Wed 26. Nov 2003, 02:05
Here's the question: how do I associate each template with its own page layout?
Example:
I have two templates: a 3 column (default), and 2-col-left (the sample posted on this forum). My page layout that shows up in admin is the one I created for the default template.
I know I can create multiple templates, I can even specify different templates for different categories in the site structure panel (e.g. the 2-col template for News and the 3-col template for Articles) - so far so good - very good, different templates for different pages!
However, it seems that I can not (yet?) associate each template with its own page layout parameters. This results in pages that do not render properly.
If I set the page layout parameters for the 3-col layout, when I view the "News" page which has a 2-col template, the layout is wrong, because the page parameters do not match.
If, on the other hand, I set the page layout parameters for the 2-col template, then I get a bad layout when I view the "articles" page (which uses the 3-col template).
Is there something I am missing here, or there is really only one page layout in effect regardless of what template I specify in the site structure?
Example:
I have two templates: a 3 column (default), and 2-col-left (the sample posted on this forum). My page layout that shows up in admin is the one I created for the default template.
I know I can create multiple templates, I can even specify different templates for different categories in the site structure panel (e.g. the 2-col template for News and the 3-col template for Articles) - so far so good - very good, different templates for different pages!
However, it seems that I can not (yet?) associate each template with its own page layout parameters. This results in pages that do not render properly.
If I set the page layout parameters for the 3-col layout, when I view the "News" page which has a 2-col template, the layout is wrong, because the page parameters do not match.
If, on the other hand, I set the page layout parameters for the 2-col template, then I get a bad layout when I view the "articles" page (which uses the 3-col template).
Is there something I am missing here, or there is really only one page layout in effect regardless of what template I specify in the site structure?