Can You Have More Than One Category Layout Within One Joomla Template?

Started by Marga123, May 23, 2013, 17:45:12 PM

Previous topic - Next topic

Marga123

Hi
Can you have more than one
category layout to choose from the same joomla template?

I'm making in the

html/com_virtuemart/category

a one category column layout

but I also want to add a

three category column layout
to choose from too

Is this possible of or do I have
to make two different joomla templates?

Many Thanks for your time
and help

Best Regards
Charles

jenkinhill

Yes, just use your edited default.php files as template overrides with different names and select them for each category. For the use of overrides see http://docs.virtuemart.net/tutorials/33-templating-layouts.html and http://www.ostraining.com/blog/joomla/overrides

You can also set Default Number of Products per Row for each category.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum