News:

Looking for documentation? Take a look on our wiki

Main Menu

Disable override in a a category page

Started by d4rkcloud, July 26, 2016, 16:09:38 PM

Previous topic - Next topic

d4rkcloud

Joomla! 3.5.0
VirtueMart 3.0.16

Hi guys,

I need to show the custom fields in a single category list page, but the template I used does not allow me to do it, without hard-coding it.
So I'd like to disable the category template override on that category. Using the standard virtuemart template I shoud be able to show the custom filters without any problem.
Do you know how to do it?


Thank you all!  8)

GJC Web Design

you can select individual cat templates within the vm cat admin
Category Browse Page select
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

d4rkcloud

Thanks for answering!

Uhm, almost there...
In that way you change all the template, but I need that the template remains the same, but the VM category page override (inside the /html folder of the template) doesn't show at all.
Same template, vm override gone, only in that category page.
Hope it's clear now.

GJC Web Design

the way I understand it works is the Category Browse Page ONLY changes the cat over ride

If not just copy in the default as another cat template over ride and choose that
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

Maybe this:
Copy the default VM template components/com_virtuemart/views/category/tmpl/default.php into your templates/[yourJoomlaTemplate]/html/com_virtuemart/category/ directory, but call it something different, eg mydefault.php - and select that file as override in the category config page. You may also need to create a new customfield sublayout file to be used as well.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

d4rkcloud

Thanks to both of you! I'll try and let you know!