VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: micropalla on June 18, 2013, 23:31:37 PM

Title: Can't modify my template
Post by: micropalla on June 18, 2013, 23:31:37 PM
Hi guys.
I've searched but seems no one has my problem...

So I've got one main category named Svizzera which contains two categories named Locomotori and Carrozze.
Inside these i've got my products.
Now I've made the override system. The Main page is controlled by category --> default.php, the Svizzera page by categories --> default.php, the product detail page by productdetails --> default.php but I can't modify the Carrozze or Locomotive page!
It looks like Im missing a page to modify. Which is this page?
Can anyone help me?
Title: Re: Can't modify my template
Post by: jenkinhill on June 18, 2013, 23:50:29 PM
http://forum.virtuemart.net/index.php?topic=79799.0

Add another categories --> default.php for each subcategory but call it comething different eg default-car.php and select that override on the Carrozze category edit page under Category Browse Page .
Title: Re: Can't modify my template
Post by: micropalla on June 19, 2013, 00:01:35 AM
I did it but is not listed...

However Vm 2.0.20b on Joomla 2.5.11.
Title: Re: Can't modify my template
Post by: PRO on June 19, 2013, 02:37:12 AM
where are you putting the override file?

http://forum.virtuemart.net/index.php?topic=90935.0
Title: Re: Can't modify my template
Post by: micropalla on June 19, 2013, 06:37:17 AM
In

/httpdocs/templates/acmetreni/html/com_virtuemart/categories

where acmetreni mis the name of my template.
Title: Re: Can't modify my template
Post by: micropalla on June 19, 2013, 10:29:12 AM
This is the problem.
As you can see in the image the text is too big and I would like to reduce it but I don't find where to do it  :-\

[attachment cleanup by admin]
Title: Re: Can't modify my template
Post by: micropalla on June 19, 2013, 11:49:25 AM
OK, solved. File category/defaul.php is used also for child category...