Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » Chameleon / ChameleonLite
- » ChameleonLite
- » I want to assign one template each to...
I want to assign one template each to Home page, All articles and VM
I want to assign one template each to Home page, All articles and VM
please in my subject VM means VirtueMart
Hi,
please i need help ASAP, i have three templates;
Template 1: Default for all articles
Template 2: menu selective to show only home page
Template 3: also menu selective to show only Virtuemart and virtuemart links.
please i am new to php and dont have full understanding are per what to do make this work.
I love your plugin, great work. please can you help me archive this?
Re: I want to assign one template each to Home page, All articles and VM
Hi edeminang,
This is easier with the Pro version, but here's how to do it with the free version.
1st rule for VM:
if ($option == "com_virtuemart") return true;
(then set the appropriate template in the SUCCEED action)
2nd rule for home page: (assuming this is the standard Joomla com_content home page, not a VM page):
if ($core_genius->check("pagetype = frontpage")) return true;
(then set the appropriate template in the SUCCEED action)
3rd rule for article pages only:
if ($core_genius->check("pagetype starts with article")) return true;
(then set the appropriate template in the SUCCEED action)
Hope that helps,
Stephen
- Index
- » Chameleon / ChameleonLite
- » ChameleonLite
- » I want to assign one template each to...
Board Info
- Board Stats:
- Total Topics:
- 1699
- Total Polls:
- 6
- Total Posts:
- 5967
- Total Posts Today:
- 2
- User Info:
- Total Users:
- 8027
- Newest User:
- henley7346
- Members Online:
- 1
- Guests Online:
- 185
- Online:
- henley7346
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked