joozef Posted September 25, 2013 Share Posted September 25, 2013 Hi, Is possible to override module file (file which contains class of module) ? I need to override this file: /modules/blocknewproducts/blocknewproducts.php Link to comment Share on other sites More sharing options...
Mukesh Ravi Posted September 25, 2013 Share Posted September 25, 2013 No, it is not possible to override .php file of module. only .tpl, .js, .css, mails can be override. Link to comment Share on other sites More sharing options...
tomerg3 Posted September 25, 2013 Share Posted September 25, 2013 You would have to overwrite the file. Just keep it in mind if you ever upgrade PS and make sure to back it up. Link to comment Share on other sites More sharing options...
El Patron Posted September 25, 2013 Share Posted September 25, 2013 Curious, I've not done this but I think themes that have 'like' modules sort of works this way: would not placing new module in themes/mytheme/modules/blocknewproducts folder override the root//modules/blocknewproducts/blocknewproducts.php Link to comment Share on other sites More sharing options...
tomerg3 Posted September 25, 2013 Share Posted September 25, 2013 No, at least not the last time I tried. As there are no php files in the themes folder (only tpl, css and js), they cannot be overriden Link to comment Share on other sites More sharing options...
Recommended Posts