News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

virtuemart 1.9.8k -. Category template problems

Started by meriturva, October 31, 2011, 09:12:46 AM

Previous topic - Next topic

Stephen Roberts

I finished overriding the category view, so I moved on to the productdetails view. I copied the productdetails default.php to

/templates/theme131/html/com_virtuemart/productdetails/default.php

Nothing happened, so I figured it was the same problem as earlier where it just wasn't taking effect. So I switched to the Beez template, copied default.php over and still nothing. I tried clearing cache, various settings, etc. and nothing worked. Finally, I switched back to my template, theme131, copied the productdetails pdf.php to

/templates/theme131/html/com_virtuemart/productdetails/pdf.php

and everything worked! The product details page seems to be using the pdf.php instead of default.php. I don't remember changing a setting for it anywhere. BTW, I'm running Joomla 1.5.24 with Virtuemart 1.9.8k.
Sell downloadable (virtual) products in VirtueMart 2 and deliver downloads via local server, Amazon S3, and more! http://www.digitollsoftware.com

PRO

IN EACH category you choose what the default layout

see is some of them say PDF.

I do remember seeing someone with a problem where it said pdf with their install by default

PRO

if you have a lot of categories you can do it with sql

update jos_virtuemart_categories set category_product_layout = 0

Milbo

Quote from: Milbo on October 31, 2011, 19:43:49 PM
ah found it.

The value of the default category layout set in the config was not taken. Fixed and improved.

The fix is in the svn!

The pdf as default should never happen, except you configure it that way, to help you further I need an admin account on your page.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Stephen Roberts

In the configuration or in each category, the templates are set to "No Override". In fact, no other options have ever shown up in those fields except "No Override". I checked the database and the category_layout and category_product_layout fields are empty. It's not a problem right now, I just wanted to make sure it's not something that should be fixed. Thanks!
Sell downloadable (virtual) products in VirtueMart 2 and deliver downloads via local server, Amazon S3, and more! http://www.digitollsoftware.com