twister Posted September 14, 2021 Share Posted September 14, 2021 hi guys, i need to alter client area product details page completly, but i don't want to do it live so that will affect all users. can i access cient area in such way that will affect one user only ( it will be my account ) ? so i can do my tests there ? 0 Quote Link to comment Share on other sites More sharing options...
Msonliy Posted September 14, 2021 Share Posted September 14, 2021 Hello, Actually, the easiest way to do this work is to work on localhost. 0 Quote Link to comment Share on other sites More sharing options...
string Posted September 14, 2021 Share Posted September 14, 2021 https://help.whmcs.com/m/customisation/l/680995-previewing-a-template This is the easiest way 🙂 0 Quote Link to comment Share on other sites More sharing options...
twister Posted September 14, 2021 Author Share Posted September 14, 2021 2 hours ago, Msonliy said: Hello, Actually, the easiest way to do this work is to work on localhost. I would have to load also mysql, thats a hassle 0 Quote Link to comment Share on other sites More sharing options...
twister Posted September 14, 2021 Author Share Posted September 14, 2021 1 hour ago, string said: https://help.whmcs.com/m/customisation/l/680995-previewing-a-template This is the easiest way 🙂 This says for admin panel. , i need it for user panel when i log in as client 0 Quote Link to comment Share on other sites More sharing options...
string Posted September 14, 2021 Share Posted September 14, 2021 Not sure where you read that this is for the admin panel. It's for the client area. Just try it. 0 Quote Link to comment Share on other sites More sharing options...
twister Posted September 14, 2021 Author Share Posted September 14, 2021 3 minutes ago, string said: Not sure where you read that this is for the admin panel. It's for the client area. Just try it. Thank uou will do today 🙂 0 Quote Link to comment Share on other sites More sharing options...
Msonliy Posted September 14, 2021 Share Posted September 14, 2021 {if $client.fullName == "Your Client Name"} New Code {else} Code {/if} Looking for something like this? 0 Quote Link to comment Share on other sites More sharing options...
twister Posted September 15, 2021 Author Share Posted September 15, 2021 13 hours ago, string said: Not sure where you read that this is for the admin panel. It's for the client area. Just try it. ok, so not clear then how to access it temaplate name is - templates/juke-dev when i access example.com/clientarea.php?systpl=juke-dev , the new template does not load , even though it's a copy of active one with one text change, so i would see it 0 Quote Link to comment Share on other sites More sharing options...
twister Posted September 15, 2021 Author Share Posted September 15, 2021 nvermind, big cache issue, all solved, thank you guys 🙂 0 Quote Link to comment Share on other sites More sharing options...
twister Posted September 15, 2021 Author Share Posted September 15, 2021 ?systpl= works as expected 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted September 15, 2021 Share Posted September 15, 2021 ?systpl={yourtemplate}&carttpl={yourcarttemplate} This always works to check template/cart template changes on-the-fly. 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.