- Posts: 5
- Thank you received: 0
Use the same template with 3 different styles
-
nibe
Inactive member - Topic Author
- New Member
Less
More
13 years 6 months ago #8732
by nibe
Use the same template with 3 different styles was created by nibe
Hello everyone. I'm wondering if it's possible to use the same template but to have different styles per section/category. We need to have 3 different looks and each of them is related to a section and I need to know how to proceed to have this possible. Thanks for letting me know asap. I'm using HotWellness template.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 6 months ago #8738
by ivan.milic
Replied by ivan.milic on topic Re: Use the same template with 3 different styles
Hi,
I think that is not possible by usual things. However you can experiment.
You can select different template for each menu item, so you can maybe just copy wellness few times using different name. You will need to change template directory name like hot_wellnes2 ,hot_wellnes3 ...
and to change template name parameter in template_details.xml for each of them. That might work.
Second thing that our template supports is to add somehow "style" query parameter in url (example: www.mysite.com/chairs/?style=3 or www.mysite.com/chairs?id=345&style=2 ....).
I think that is not possible by usual things. However you can experiment.
You can select different template for each menu item, so you can maybe just copy wellness few times using different name. You will need to change template directory name like hot_wellnes2 ,hot_wellnes3 ...
and to change template name parameter in template_details.xml for each of them. That might work.
Second thing that our template supports is to add somehow "style" query parameter in url (example: www.mysite.com/chairs/?style=3 or www.mysite.com/chairs?id=345&style=2 ....).
The following user(s) said Thank You: nibe
Please Log in to join the conversation.
-
nibe
Inactive member - Topic Author
- New Member
Less
More
- Posts: 5
- Thank you received: 0
13 years 6 months ago #8742
by nibe
Replied by nibe on topic Re: Use the same template with 3 different styles
Thanks Ivan, changing the xml and copying the template files worked just fine. Thanks and have a nice day.
Please Log in to join the conversation.
Time to create page: 0.173 seconds