Remitur Posted June 24, 2021 Share Posted June 24, 2021 Issue: having a custom theme is great for public pages, but it's a mess when a user visits his client area... css conflicts, updates overwriting your custom code, continuous necessity to update your code according to WHMCS updates... lot of wasted time. So, my idea is: using custom theme for any public page (index . php, index . php ? rp=announcements, index . php ? rp=knowledgebase , contact . php etc.) but switch to six (or twentyone, or another standard theme) just for client area ( clientarea . php ? action=whatever) Being not possible to edit clientarea . php, I guess that the only way is some kind of hook... but I can't imagine how switching the theme inside of it. (I guess that just a simple $ _ SESSION [ 'Template' ] = 'six'; wouldn't be enough...) Any idea? 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.