Author Topic: virtuemart 1.9.8k -. Category template problems  (Read 6357 times)

Stephen Roberts

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 142
    • SundaySchool.com
Re: virtuemart 1.9.8k -. Category template problems
« Reply #15 on: November 03, 2011, 16:15:54 pm »
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

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10337
  • VirtueMart Version: 3+
Re: virtuemart 1.9.8k -. Category template problems
« Reply #16 on: November 03, 2011, 16:45:30 pm »
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
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10337
  • VirtueMart Version: 3+
Re: virtuemart 1.9.8k -. Category template problems
« Reply #17 on: November 03, 2011, 16:48:27 pm »
if you have a lot of categories you can do it with sql

update jos_virtuemart_categories set category_product_layout = 0
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9853
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: virtuemart 1.9.8k -. Category template problems
« Reply #18 on: November 03, 2011, 16:49:21 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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Stephen Roberts

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 142
    • SundaySchool.com
Re: virtuemart 1.9.8k -. Category template problems
« Reply #19 on: November 03, 2011, 18:59:25 pm »
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