secureip Posted May 20, 2016 Share Posted May 20, 2016 Hi, I would like to know if I can add my logo to the page for printable ticket version. Thx all 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 20, 2016 Share Posted May 20, 2016 i'm not sure if you are talking about support tickets or invoices ? 0 Quote Link to comment Share on other sites More sharing options...
secureip Posted May 20, 2016 Author Share Posted May 20, 2016 Support tickets Into the "printable ticket version" 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 20, 2016 Share Posted May 20, 2016 oh ok - just spotted the "View Printable Version" button at the bottom of the page. that page will be hard-coded by WHMCS, and not templated - so I doubt you could find a way to add a logo to the top of the output. 0 Quote Link to comment Share on other sites More sharing options...
secureip Posted May 26, 2016 Author Share Posted May 26, 2016 And if I update the hard coded page? Do I will have problem with update? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 26, 2016 Share Posted May 26, 2016 And if I update the hard coded page? Do I will have problem with update? well it'll likely be hard-coded in an ioncube encrypted file... and if you start decrypting the files in order to make modifications to them, you'll have more to worry about than updating... namely, the loss of your WHMCS license for starters! 0 Quote Link to comment Share on other sites More sharing options...
secureip Posted May 29, 2016 Author Share Posted May 29, 2016 ok so no option for the logo hahaha 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted May 29, 2016 Share Posted May 29, 2016 (edited) ok so no option for the logo hahaha 1) create new folder inside admin languages directory, called "overrides". 2) create new language file inside that directory, file name is the same as your admin language name, if you are using english then file name will be english.php. 3) inside that file add the following lines: <?php $_ADMINLANG['support']['printticketversion'] = "<img src='http://www.whmcs.com/images/logo_whmcs.png'><br><br>Printable Ticket Version"; this way you can add your logo the same way you would if smarty template were available so take your time customizing if needed. Edited May 30, 2016 by sentq adding screenshot 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 30, 2016 Share Posted May 30, 2016 very nice idea sentq! 0 Quote Link to comment Share on other sites More sharing options...
Ugyen Posted May 31, 2016 Share Posted May 31, 2016 How can I add ticket printer version in clientarea page ? As I feel that It more important to have it in admin site then client. Looking forward hearing from you all 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted May 31, 2016 Share Posted May 31, 2016 How can I add ticket printer version in clientarea page ? As I feel that It more important to have it in admin site then client. Looking forward hearing from you all it's already there, how different you need it? 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.