soamz Posted August 1, 2017 Author Share Posted August 1, 2017 pure_comparison/products.tpl custom.css Replaced and back to business Link to comment Share on other sites More sharing options...
soamz Posted January 15, 2018 Author Share Posted January 15, 2018 Is there a way to avoid over writing those 2 files every time WHMCS upgrades ? Is there any template over ride thing in WHMCS ? Link to comment Share on other sites More sharing options...
brian! Posted January 15, 2018 Share Posted January 15, 2018 3 hours ago, soamz said: Is there a way to avoid over writing those 2 files every time WHMCS upgrades ? I seem to recall one of the developers saying that they might not overwrite custom.css in the future, but until then, keeping a copy of the code in both the css and .tpl would be one way... another would be to rename the pure_comparison orderform template to something else and using that instead. the third way, which I won't get a chance to look at today but will bookmark this thread to remind me, might be to use a hook instead of modifying the template - i'll need to reread the thread and my notes to see the viability of that. Link to comment Share on other sites More sharing options...
soamz Posted January 15, 2018 Author Share Posted January 15, 2018 yes I have the backup and I replace each time. I just wanted to see if WHMCS has over ride system or not for templates Link to comment Share on other sites More sharing options...
brian! Posted January 15, 2018 Share Posted January 15, 2018 3 hours ago, soamz said: I just wanted to see if WHMCS has over ride system or not for templates no it doesn't. Link to comment Share on other sites More sharing options...
brian! Posted January 17, 2018 Share Posted January 17, 2018 On 1/15/2018 at 12:59, brian! said: the third way, which I won't get a chance to look at today but will bookmark this thread to remind me, might be to use a hook instead of modifying the template - i'll need to reread the thread and my notes to see the viability of that. a quick look and I don't think it's practical... you have to remove/replace existing code and you can't do that in this case without editing the template. Link to comment Share on other sites More sharing options...
Recommended Posts