VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: ankan on January 23, 2013, 12:33:34 PM

Title: Overrriding mod_virtuemart_category.php
Post by: ankan on January 23, 2013, 12:33:34 PM
I know it's possible to override the layout by coping the file modules\mod_virtuemart_category\tmpl\default.php to templates\TEMPLATENAME\html\mod_virtuemart_category\default.php.

But is it possible to override modules\mod_virtuemart_category\mod_virtuemart_category.php ?

I just want to uncomment the disable image row and would prefer to do it in my template to be sure it won't disappear in future update of mod_virtuemart_category.
Title: Re: Overrriding mod_virtuemart_category.php
Post by: PRO on January 23, 2013, 13:31:44 PM
Quote from: ankan on January 23, 2013, 12:33:34 PM


I just want to uncomment the disable image row and would prefer to do it in my template to be sure it won't disappear in future update of mod_virtuemart_category.


??


you can copy a module, and change it to a new named one.
You just have to change some filenames, and text in the files