altomarketing Posted July 27, 2017 Share Posted July 27, 2017 Hi ! How does whmcs stores the cookie to select the template ? How to force always one template lets say six if customer is loggued ? Thanks in advance. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 27, 2017 Share Posted July 27, 2017 untested, but I suspect you could use a hook to redirect logged in clients to use a different theme (assuming theme exists)... <?php function theme_redirect_hook($vars) { $client = Menu::context('client'); if (!is_null($client)) { return array("template" => "seven"); } } add_hook("ClientAreaPage", 1, "theme_redirect_hook"); ?> 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.