Editing PHP

I am trying to edit the login page at www.topmodelcolorcontacts.com/admin 

The login box has HCC and I want to change it to TMCC but I can't find what page has the text.  I was able to change the footer and the logo, but I can't find the text in the box.
topmodellogin.JPG
LVL 1
northernknightAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

arnoldCommented:
Look at any page to see where it redirects/reacts to a login prompt, it might be part of an include file. Not sure what options you have, bcc might be part of the configuration file where you setup your company name.  Or it us an entry in the database backend.
0
Marco GasiFreelancerCommented:
If you use an IDE or a good text editor such a Notepad++, you can just use the Search function to find all occurreneces of HCC in all files of projects or within the project's folder. Be ure to check the option to do the seach in all subfolders too. It should be easy to find it...
0
Ray PaseurCommented:
Is this part of a framework or CMS?  (WordPress, CodeIgniter, etc) If so you may want to look in the database.  Some of those things do not put much clear text into the HTML documents, preferring instead to use the database for all of the customizable data.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

northernknightAuthor Commented:
I believe it is a custom cms.  It does have a database named HCC.  Do I have to change the database name?  I just don't want to break any links.  The customer just doesn't want to see the word HCC on the login page because his other site is named that.
0
arnoldCommented:
OU might be able to track down where the prompt is coming from. And once you identify that, you can look at whether it is changeable.
What page do you go to to get this prompt? You then need to locate where that construct is what is evaluated, it might be that it can not be changed.
0
northernknightAuthor Commented:
This is the page that has the login box, http://www.topmodelcolorcontacts.com/admin 
I have looked at the page and have looked through tons of include pages and can't find anything referencing the HCC text.
0
arnoldCommented:
If you look at the page to which you directed me, where is it getting the variable data for h4?

The data is likely in the database.  Does the VMs have a configuration interface where it is possible to see the application name hcc and which can be changed.

Include files.
...
0
northernknightAuthor Commented:
I don't know where it is getting the H4 table information.  If I can find this I could edit it.
 /div>
<div id="login">
<form name="login" method="post">
<table id="login_table" cellspacing="7">
   <tr>
      <td colspan="2"><h4>Welcome to HCC Admin.  Please enter your username and password to login!</h4></td>
   </tr>
   <tr>
0
northernknightAuthor Commented:
I found a file called login.tpl that has the div id and shows an H4 code, but has no text value to edit.
<div id="login">
<form name="login" method="post">
<table id="login_table" cellspacing="7">
   <tr>
      <td colspan="2"><h4><?php print $LANG['login_welcome']; ?></h4></td>
   </tr>
   <tr>
      <td><?php print $LANG['login_username'] . ":"; ?></td>
      <td><input class="flat1" type="text" name="username" value="<?php print $username; ?>" /></td>
   </tr>
0
arnoldCommented:
Codes it have an include file where $LANG is language based output.
Try this, replace the $LANG in a copy of the template where you say what you want to appear as a. Example to confirm this is the correct item. Then look for the file that has include login.tpl file.

There has to be a file where the different language parameters are.
0
northernknightAuthor Commented:
It must be coming from the database name.  I think if I change the database name it will show up.  I'm just not sure if I want to do that as I might have other issues.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
northernknightAuthor Commented:
Nothing from the comments worked.  I have done searches through every file on the website and there is no HCC to edit.  It must be coming from the database name itself.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.