Jump to content

how to change meta title of login page


sunil.ch

Recommended Posts

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. :)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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). :oops:

 

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated