Mytihost Posted February 22 Share Posted February 22 24 minutes ago, SamS1 said: Thats the thing though. Child themes are the best option to survive updates and until @WHMCS Danny or someone else can 100% confirm they work, i think i'll have to stick with the manual line update. It's only 1 line so not an issue. Thanks Child themes dont work for admin templates you need to clone the blend folder and all its contents rename it to something other than blend and then use it for your admin template 0 Quote Link to comment Share on other sites More sharing options...
Mytihost Posted February 22 Share Posted February 22 @SamS1 the attached zip is a clone of blend with the viewticket.tpl changed upload it to your admin/templates then change the admin theme to blend_mod blend_mod.zip 0 Quote Link to comment Share on other sites More sharing options...
SamS1 Posted February 22 Share Posted February 22 (edited) 23 minutes ago, Mytihost said: Child themes dont work for admin templates you need to clone the blend folder and all its contents rename it to something other than blend and then use it for your admin template That's what i've been trying to confirm since the start as Whmcsdanny insinuated it and need an official response. Cloning Blend doesn't help at all when it comes to updates. Especially in this case when it's just one line. Cloning will preserve the one single line sure to make this work but it won't help with the 100s of other changes they make on updates. For now I'd rather just manually change one line then have to worry about running outdated etc files. Like i mentioned, will just keep it working with the manual update for now. Edit: just saw your attachment post. Thanks but not needed as I keep my files clean and have been manually making that change for ages and it has always worked. Edited February 22 by SamS1 0 Quote Link to comment Share on other sites More sharing options...
Mytihost Posted February 23 Share Posted February 23 2 hours ago, SamS1 said: That's what i've been trying to confirm since the start as Whmcsdanny insinuated it and need an official response. Cloning Blend doesn't help at all when it comes to updates. Especially in this case when it's just one line. Cloning will preserve the one single line sure to make this work but it won't help with the 100s of other changes they make on updates. For now I'd rather just manually change one line then have to worry about running outdated etc files. Like i mentioned, will just keep it working with the manual update for now. Edit: just saw your attachment post. Thanks but not needed as I keep my files clean and have been manually making that change for ages and it has always worked. No worries. Other than those two ways I have provided there isn't much else that can be done I don't think. The general advice WHMCS give is to clone the admin templates to make your changes so you don't loose them during the updates. 0 Quote Link to comment Share on other sites More sharing options...
Sufiyan Shaikh Posted August 24 Share Posted August 24 On 7/20/2017 at 8:29 PM, brian! said: there's nothing wrong with a bit of sarcasm on a Thursday! not a bad suggestion, but I doubt you could make it client-specific... another option would be an edit of the admin template of viewticket.tpl (i'm working in Blend, but assume v4 would be similar) and change... <textarea name="message" id="replymessage" rows="14" class="form-control bottom-margin-10">{if $signature} {$signature}{/if}</textarea> to... <textarea name="message" id="replymessage" rows="14" class="form-control bottom-margin-10">Hello {$clientname|strstr:' ':true},{if $signature} {$signature}{/if}</textarea> as you don't have direct access to any variables for the client's first name, you have to use {$clientname} which contains the client's full name, and then if you only want their first name, you can split it using some Smarty and remove the surname. I am using Lagom2 theme. How to get it done? 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.