VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: panoss on April 01, 2017, 13:21:20 PM

Title: Can't override ShopFront's categories (solved)
Post by: panoss on April 01, 2017, 13:21:20 PM
My ShopFront displays a list of categories.
I 'm trying to create a new layout (and later add a new sublayout) for the categories' list.
(protostar is the template I' m using)

I created: \templates\protostar\html\com_virtuemart\category\categories-mylayout.php

In it's beginning I put: die(); just to test it.

In Configuration->Configuration->Templates->Category Layout, I selected 'categories-mylayout' from the list.

But it's not dying, it just displays the page normally, it's ignoring totally the categories-mylayout.php file.

What am I doing wrong?
Title: Re: Can't override ShopFront's categories
Post by: panoss on April 02, 2017, 09:16:31 AM
Finally, it was my mistake, I was just refreshing the browser 's page by Alt+R, while I should click on a menu item...