VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: lostmail on April 29, 2013, 15:35:09 PM

Title: Template overwrite after updating ?
Post by: lostmail on April 29, 2013, 15:35:09 PM
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 ?





Title: Re: Template overwrite after updating ?
Post by: jenkinhill on April 29, 2013, 15:53:17 PM
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