SOLVED Template Override to SA-MB-SB affects default layout
Posted 12 years 2 months ago
I'm having a problem.
I want all pages EXCEPT the home page to display as:
Sidebar A - Mainbody
So in the Default Template Layout Settings I set that up. I didn't assign it to anything since I want it to affect everything except what I assigned to the Override Template.
Next since I want the Homepage to be a little different, I created an Override Template and set the layout as:
Sidebar A - Mainbody - Sidebar B
and I assigned it to the home page.
Now, everything is cool, except....the default pages are coming up as Mainbody - Sidebar A. (The reverse of what they're being told to do in the default template settings.)
Example of problem:
sethilepipes.com/joomla25/component/k2/item/180
What am I missing? Or is this a bug?
Thanks for any help!
Kathy
KT Web Design
developing Joomla websites in the sweet, sunny South
Re: SOLVED Template Override to SA-MB-SB affects default layout
Posted 12 years 2 months ago
Thanks Igor, I do understand the information in that tutorial, but I am still having a problem with pages not receiving the default layout. I might not have worded my first post very well.
I do have an override set up for the Homepage, and that's doing what it is supposed to do.
This is being displayed as Mainbody - Sidebar A, which is incorrect. It should be Sidebar - Mainbody, which is what is set in the Default Template Settings.
Kathy
KT Web Design
developing Joomla websites in the sweet, sunny South
Re: SOLVED Template Override to SA-MB-SB affects default layout
Posted 12 years 2 months ago
This is actually normal Joomla behavior. For pages that doesn't have assigned itemid (every page dynamically generated which doesn't have menu item defined) Joomla will show modules assigned to the default itemid (which is usually Home page of the site)
Search google how to overcome this behavior or try this
Create a hidden MENU.
Put a MENU ITEM in it for each (single) article you want on separate page (publish)
No need to put hidden menu anywhere - it will never be seen
Now joomla will open the articles in a separate page.
You can also take a look at Advanced Module Manager by nonumber.nl as a possible solution to this issue