koy Posted April 20, 2014 Share Posted April 20, 2014 Hi, I wan't to make some minor changes to the HTML of some of the invoice templates, like adding ids for CSS. But the code I need to alter isn't plain HTML; instead the template references variables e.g {$paymentmethod} {$gatewaydropdown} I can't find the source that declares and initialises these variables. I've already tried full-text searching the through whole project... Neither my IDE nor grep/find/ack was able to find something. Where do they come from? Thanks! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted April 20, 2014 Share Posted April 20, 2014 they'll be created in one of the encrypted files, so they can't be modified by you as they're being created - you'll either have to recreate them from scratch, or modify them after they've been created.. the usual method for which would be using the Smarty 'replace' tag. if you're lucky, someone may have already done what you want to do... otherwise, it's a case of seeing their default output and working out a way to change it to your desired output. 0 Quote Link to comment Share on other sites More sharing options...
koy Posted April 22, 2014 Author Share Posted April 22, 2014 Ok, thanks! I guess WHMCS is that customisable after all... 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.