VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: Watto on May 06, 2013, 10:18:04 AM

Title: What files are changed?
Post by: Watto on May 06, 2013, 10:18:04 AM
Hi guys,

Is there a way to find out which files are going to be changed in an update?  I've made some custom changes to the category page, and really don't want to update if it means having to redo everything!

The site is here, by the way: http://jamhouse.com.au/newsite/jamtracks (http://jamhouse.com.au/newsite/jamtracks)

Cheers!

Watto :)
Title: Re: What files are changed?
Post by: jenkinhill on May 06, 2013, 10:41:57 AM
See http://forum.virtuemart.net/index.php?topic=106486.msg377140#msg377140

Assuming that your changes are to the view (template) structure then to avoid overwriting during updates 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, the revisions should be added to your Joomla template css or in a custom.css file.

We do not support edits/hacks to the VM core.
Title: Re: What files are changed?
Post by: Watto on May 06, 2013, 11:14:52 AM
Thanks for your reply!  I've mostly made changes to components/com_virtuemart/views/category/tmpl/default.php - would that be considered a core hack?

Cheers!
Title: Re: What files are changed?
Post by: jenkinhill on May 06, 2013, 17:26:45 PM
No, that is what you would do for a template override, so place the edited file in your Joomla template's html directory - as described in the links above. Then it does not get overwritten, although you may need to update the edits if the VM utput was changed between version. But those changes are documented in the live update info.

In any case, all updates should be made on a backup copy of the site - just in case........
Title: Re: What files are changed?
Post by: Watto on May 07, 2013, 01:48:47 AM
Ok, I'll look into it.  Thanks very much :)