News:

Looking for documentation? Take a look on our wiki

Main Menu

Create multiple category layout for diffetent category level

Started by jaimin, January 24, 2013, 09:27:51 AM

Previous topic - Next topic

jaimin

Hello,

I want to create different category layouts for different category, for example.

Layout 1 for first level category.
Layout 2 for second level category

Please let me know how can I achieve this.

Thanks

K&K media production

Hi

copy the file

components/com_virtuemart/views/category/tmpl/default.php

to

templates/your_template/html/com_virtuemart/category/default.php

and rename it (for example secondLevel.php)

make your layout changes

go to category configuration in vm BE and choose your second level category

go to details at the bottom and choose the file secondLevel for category loayout


Regards,
Maik