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

What files are changed?

Started by Watto, May 06, 2013, 10:18:04 AM

Previous topic - Next topic

Watto

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

Cheers!

Watto :)

jenkinhill

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.
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

Watto

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!

jenkinhill

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........
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

Watto

Ok, I'll look into it.  Thanks very much :)