Jump to content

Changing Admin Login title


Jezza95

Recommended Posts

Hi guys,

 

Yes, this may seem a very petty question. Although, there is nothing more I like than being able to personalize settings and templates to suit my standards.

 

Before I upgraded my WHMCS from an earlier version, some how I managed to change the title of the admin login page. I can't remember how to do it and I'm just wondering if any one could point me in to the right direction of doing this?

 

I have tried opening up the "login.php" file under the "admin" folder and adding in some standard HTML although, when re-uploaded to the server it returns an error on the page.

 

So I've removed the HTML code from the page and now it's functioning as normal again. So I'm just wondering how to get my head around it...

 

Many Thanks,

 

Josh.

Link to comment
Share on other sites

I would guess one of the templates (.tpl) under the /admin/templates folder !?

 

Hi mate,

 

Still no luck after searching through the /admin/templates folder. I reviewed the "login.php" under the "admin" folder but most of that file is full of encrypted context.

 

Any ideas how I could add some code in to this file without it corrupting the file?

 

Many Thanks,

 

Josh.

Link to comment
Share on other sites

Hi mate,

 

Still no luck after searching through the /admin/templates folder. I reviewed the "login.php" under the "admin" folder but most of that file is full of encrypted context.

 

Any ideas how I could add some code in to this file without it corrupting the file?

 

Many Thanks,

 

Josh.

 

Look under "admin/template/<current_template_your_using>/header.tpl"

 

Then change inside the file

 

<title>WHMCS - {$pagetitle}</title>

 

to whatever you want it to be.

 

Or better yet make a copy of the template to a new folder and make the changes there then choose the new admin theme in WHMCS (Home -> My Account) to the new directory you created and your changes will survive an upgrade.

Link to comment
Share on other sites

Look under "admin/template/<current_template_your_using>/header.tpl"

 

Then change inside the file

 

<title>WHMCS - {$pagetitle}</title>

 

to whatever you want it to be.

 

Or better yet make a copy of the template to a new folder and make the changes there then choose the new admin theme in WHMCS (Home -> My Account) to the new directory you created and your changes will survive an upgrade.

 

Hello,

 

Thanks for your advise. The <title> of the header file is changing the title for after you have logged in to the billing system.

 

I'm referring to the "Admin Login" screen itself. The default title is "WHMCS Complete Billing & Support System". (On the /admin/login.php) page.

 

I've tried opening up the "login.php" but I can't add anything in there without the login.php file page becoming corrupted.

 

Any ideas? :)

 

Thanks again.

Link to comment
Share on other sites

Hello,

 

Thanks for your advise. The <title> of the header file is changing the title for after you have logged in to the billing system.

 

I'm referring to the "Admin Login" screen itself. The default title is "WHMCS Complete Billing & Support System". (On the /admin/login.php) page.

 

I've tried opening up the "login.php" but I can't add anything in there without the login.php file page becoming corrupted.

 

Any ideas? :)

 

Thanks again.

 

Didn't even realize when I posted it that it wasn't templated. Bit of a hack but I got it working. :D

 

1. Rename login.php to login2.php

2. Create new login.php with the following:

<?php
echo("<html><head><title>Your new title here</title>");
require("login2.php")
?>

 

You might want to do the same to logout.php as well as it looks like its hardcoded too.

Link to comment
Share on other sites

Didn't even realize when I posted it that it wasn't templated. Bit of a hack but I got it working. :D

 

1. Rename login.php to login2.php

2. Create new login.php with the following:

<?php
echo("<html><head><title>Your new title here</title>");
require("login2.php")
?>

 

You might want to do the same to logout.php as well as it looks like its hardcoded too.

 

Fantastic! That's done the trick! :) Thanks a lot for the help. I know it's only a small thing I wanted, but I think small things can make a big difference some times when it comes to personalization of scripts :)

 

Thanks again buddy.

 

Josh.

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