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

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 ?





Joomla 3.x | VirtueMart 4.0.12 107771 | HORME3 PRO 1.9.6 / 2.0
VirtueMart 4.2.4 | Joomla 4.4.1 | PHP 8.1 | Vp_neoteric 1.3

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