sunil.ch Posted February 6, 2014 Share Posted February 6, 2014 Hello Everyone, I want to change the meta title of admin login page. It is now showing "WHMCS - Login". I want to change it as " Mywebsite - Login". If any of whmcs user can help, it will be a great help for me. Thanks Sunil 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 6, 2014 Share Posted February 6, 2014 Hi Sunil, you'll need to edit one of the admin template files - header.tpl it will be in each of the admin templates (v4, blend and original), so find out which template you're using and alter the appropriate header.tpl template... admin/templates/*template*/header.tpl there will be a line towards to the top... <title>WHMCS - {$pagetitle}</title> just change it to... <title>Mywebsite - {$pagetitle}</title> this will change all the admin pages to use "Mywebsite" instead of "WHMCS" in the title, but I assume you won't mind this happening. 0 Quote Link to comment Share on other sites More sharing options...
sunil.ch Posted February 7, 2014 Author Share Posted February 7, 2014 Hello brian, Thanks for your promt reply. I have aready tried the solution which you have suggested here. As I am using blend template for my admin. I have edited header.tpl in the same way as u have suggested, but it is showing title for all the admin pages. But for login page it remains the same. I have tried in another way. As I have put the below code in jquery.js file. if(window.location.href.toString().indexOf('login.php') !== -1){ document.title = 'Mywebsite'; } But this will change the title when login page loads completely. In the starting it is showing as previous. Please suggest if you have any other solution for this. Thanks Sunil 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 7, 2014 Share Posted February 7, 2014 Sunil, my apologies - you are totally correct and that code didn't work on the login page (I didn't test it there before posting). i've now looked into this further and can confirm that unfortunately "WHMCS - Login" is hard-coded into the login.php page - so it can't be changed. I guess you could start a feature request about this - http://requests.whmcs.com/ - or maybe open a support ticket with whmcs, but I suspect you'll just have to live with it the way it is. 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.