News:

Support the VirtueMart project and become a member

Main Menu

Template overwrite after updating ?

Started by lostmail, April 29, 2013, 15:35:09 PM

Previous topic - Next topic

lostmail

I modified some files in the default template in

components/com_virtuemart/assets
components/com_virtuemart/views

How can i prevent that automatic software update overwrites my modified files ?





VirtueMart VirtueMart 4.4.0 11095 | Joomla 5.x | PHP 8.3 | Vp_neoteric 1.6

jenkinhill

For template file changes you should use template overrides:  see http://www.ostraining.com/blog/joomla/overrides  and also  http://docs.virtuemart.net/tutorials/33-templating-layouts.html

For css changes add your changes to the Joomla template css are maybe into a custom.css file, adding

Same with any js file changes, make a new file and add a link to the file in your template's index.php
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