Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2010
    Posts
    179
    Plugin Contributions
    0

    Default Need Help Changing Site Title Again

    Okay, I'm baffled. We originally named the site one thing, and I changed the header, english, and meta tag files to reflect that name. Now the site has been renamed, and I changed them all again. I also changed the store name in admin / configuration / my store. I even cleared the cache on my browser three different times. But for some reason, the original site name is still showing up. What did I miss??

  2. #2
    Join Date
    Dec 2010
    Posts
    179
    Plugin Contributions
    0

    Default Re: Need Help Changing Site Title Again

    I've used half a dozen text editors to search for the old site name, and come up with nothing. Am I going to have to uninstall the entire cart, and start over from scratch??

  3. #3
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    3,967
    Plugin Contributions
    1

    Default Re: Need Help Changing Site Title Again

    Quote Originally Posted by Scully View Post
    We originally named the site one thing Now the site has been renamed
    Could you please be a bit more explicit as to what you actually mean by the "site name" ?

    Where is it showing 'wrong', and what *should* it be showing?

    I suspect the reason you've had no responses is because your question isn't clear.

    Things that people often get confused with are, the Page Title (meta tags) , the Store name (used in emails, etc) , and the domain name (the name people use to access your site). These are all totally different things, and you could be referring to any one of them, or possibly something else entirely?

    Cheers
    Rod

  4. #4
    Join Date
    Dec 2010
    Posts
    179
    Plugin Contributions
    0

    Default Re: Need Help Changing Site Title Again

    I've changed the Page Title in the meta tags, and the Store Name in the Admin section. I've also changed the alt text that had the site byline...such as, "My Favorite Website - Come check out all my great stuff," to use a really stupid example.

    When I pull up the page in any browser, the bar at the very top has the wrong site name. On this page, for example, the bar says "v150 Need Help Changing Site Title Again - Windows Internet Explorer". That's what I'm trying to change. I've searched every single page in the entire zencart, and made changes to every single meta-tag that had the old information. And I've re-uploaded the entire set of files to the server after reviewing them. The old site name should not be coming up...but it still is.

    Does that make more sense?

  5. #5
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    3,967
    Plugin Contributions
    1

    Default Re: Need Help Changing Site Title Again

    Quote Originally Posted by Scully View Post
    I've changed the Page Title in the meta tags,
    Just to clarify, are you refering the the meta_tags.php *file*, or something else?

    If the *file*, then check the file location of the one you changed.
    The *default* file is located at /includes/languages/english/meta_tags.php

    However, you may find another located in:
    /includes/languages/english/custom/meta_tags.php

    The 'custom' will match your template name (obviously?), and this will override anything in the *default* file.

    You'll be looking that the line that reads something like
    // page title define('TITLE', 'This is my My Store');

    "This is my My Store" is an example. Change to suit your needs.
    Quote Originally Posted by Scully View Post
    and the Store Name in the Admin section.
    This is used in Emails, etc...

    Quote Originally Posted by Scully View Post
    I've also changed the alt text that had the site byline...such as, "My Favorite Website - Come check out all my great stuff," to use a really stupid example.
    Alt text? Are you referring to this......

    // Site Tagline define('SITE_TAGLINE', 'You never know what you will find.');This define is in the same meta_tags.php file as above.

    If you are referring to something else, please elaborate.

    Quote Originally Posted by Scully View Post
    When I pull up the page in any browser, the bar at the very top has the wrong site name. On this page, for example, the bar says "v150 Need Help Changing Site Title Again - Windows Internet Explorer". That's what I'm trying to change.
    OK, now it is making more sense. It is the meta_tags.php file as discussed above that you'll be needing to check/change.

    One word of caution though, if you change/add meta_tags to the products/categories in the admin menu, these will override those in the meta_tags.php file.

    Quote Originally Posted by Scully View Post
    I've searched every single page in the entire zencart, and made changes to every single meta-tag that had the old information.
    Please don't take this personally, but one of my pet gripes is when people seeking help try to insist that they've checked/change 'every single page'. If such statements were true, they would have found the solution themselves, and wouldn't be asking for help. :)


    Quote Originally Posted by Scully View Post
    And I've re-uploaded the entire set of files to the server after reviewing them. The old site name should not be coming up...but it still is.
    Does that make more sense?
    The last two comments don't make sense <grin>, but everything else does.

    I'm suspecting that you have somehow missed the /includes/languages/english/custom/meta_tags.php

    Cheers
    Rod

  6. #6
    Join Date
    Dec 2010
    Posts
    179
    Plugin Contributions
    0

    Default Re: Need Help Changing Site Title Again

    No offense taken...but in my own defense...when I've downloaded every file, done text searches for the old site name using three different text editors, found (I thought) every instance of the old site name, re-upoaded all the files (the entire cart, not just a few files here or there), still had the same error, repeated the entire process two more times, then manually reviewed EVERY SINGLE screen in the Admin section multiple times...yes, I was pretty darned sure I'd checked everything.

    /includes/languages/english/meta_tags.php was exactly what I was looking for, and now the problem (which I've been fighting for two days--I don't ask for help until I've exhausted every other thing I can think of, because I hate looking like an idiot! LOL) is finally resolved. THANK YOU SO MUCH!!!

    But could you please explain to me why all three text editors, which are supposed to be excellent for finding exactly this kind of thing, didn't find even one of the keywords (title or tagline words) in the meta_tags.php file? That's just baffling. And I'd really like to know why it happened, so that I know how to get around it next time...assuming there is a next time, which I fervently hope there is not!!

    Anyway, thanks again...I really, really appreciate your help!

  7. #7
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    3,967
    Plugin Contributions
    1

    Default Re: Need Help Changing Site Title Again

    Quote Originally Posted by Scully View Post
    could you please explain to me:
    I can make some educated guesses, but not much more than that.

    Quote Originally Posted by Scully View Post
    when I've downloaded every file,
    It is possible that one or more files simply didn't get downloaded. This could be due to insufficient file or folder permissions, or something simply went astray during the download. Unless you did a file comparision this would be quite easy to miss.

    Quote Originally Posted by Scully View Post
    done text searches for the old site name using three different text editors,
    I'm not even going to take a guess at this one. However, when seeking for particular text that could be found in any one of a number of files, a text editor wouldn't be my 1st tool of choice. I'd be using something like 'find' (on *nix). Offhand I don't know what the equivilent program would be for Windows, or Mac, or any other operating system.

    For your benefit though, the way I 'solved' your problem was to look to see where the similar text was defined on my own system, and the tool I used for this was the Developers Toolkit, which is a part of the ZenCart installation. It is a very handy tool for this kind of thing. It doesn't allow you to *edit* the files it finds, but it does a great job at searching through the files and even the database to help locate where things can be found.
    Well worth spending a few minutes having a 'play'. The fact that you *can't* edit files with this tool also means you can't accidently modify (and therefore, break) anything either.

    Quote Originally Posted by Scully View Post
    found (I thought) every instance of the old site name, re-upoaded all the files (the entire cart, not just a few files here or there), still had the same error, repeated the entire process two more times,
    If the file that needed to be changed didn't get d/loaded due to file permissions, then it also wouldn't have been replaced when you re-uploaded, so the same 'old' definitions would still exist.

    FWIW, this is a 'trick' that some hackers do when they compromise a site. They'll set the permissions of thier 'back door' programs so they can't be downloaded or modified, so that when the victim tries to recover, unless they explicity remove these files by some other means, they'll still be in place even after the site has been restored from a backup.

    Quote Originally Posted by Scully View Post
    then manually reviewed EVERY SINGLE screen in the Admin section multiple times...
    Although neither of us knew what the cause or the solution was at the time, it turns out that since the issue had nothing to do with anything in the admin section then it stands to reason that no matter how many times you checked and reviewed this, there was nothing to be found amiss anyway.

    Quote Originally Posted by Scully View Post
    yes, I was pretty darned sure I'd checked everything.
    I am also sure that you were sure. There is no disputing this. However, it doesn't change the fact that regardless of the cause or the reasons, this one relevent file escaped your attention.

    If *I* was as sure that you really had checked *everything* I wouldn't have even bothered looking into where I thought you *should* be looking. As such you should be thankful that I tend to be very cynical when people make these claims

    Quote Originally Posted by Scully View Post
    /includes/languages/english/meta_tags.php was exactly what I was looking for,
    I do advise that now that you have identified this as the relevent file that you should make a copy of it and place it into your 'custom' folder before making changes. This way you won't need to re-edit it when you next do a zencart update.
    Where possible, all changes of this nature should be placed into your custom folder(s). It is always well worth the effort (although, until you are familiar with the way zencart deals with these folders it can be a little confusing as to why you'll have two near identical files, with the same name, in different folders).

    Quote Originally Posted by Scully View Post
    and now the problem (which I've been fighting for two days--I don't ask for help until I've exhausted every other thing I can think of, because I hate looking like an idiot! LOL)
    This is where I often have a great advantage of many others... It doesn't bother me if I do or say something that makes me look like an idiot. . I consider it just another way of getting to learn something I didn't know before.

    Besides, hasn't it often been said that the only foolish question is the one that isn't asked? Same thing really. :)

    Quote Originally Posted by Scully View Post
    is finally resolved.
    At the end of the day, this is all that really matters. If you, I, or someone else can learn something from the experience then so much the better.

    Quote Originally Posted by Scully View Post
    THANK YOU SO MUCH!!!
    You're welcome. I appreciate the extra experience it has given me, so we both 'win' :)

    Quote Originally Posted by Scully View Post
    And I'd really like to know why it happened, so that I know how to get around it next time...assuming there is a next time, which I fervently hope there is not!!
    *WHY* it happened is still not really known. I've merely presented a few of the possibilities.

    To *solve* similar issues in the future, the Developer Toolkit is your friend.
    To *avoid* having to search for it in the future (eg, after a zencart update) make use of the override system (the custom/template folders).

    Cheers
    Rod

    ps. It is a pleasure discussing this kind of thing with people such as yourself that is not only after a solution, but willing to understand & learn the reasons behind them. It saddens me deeply when people are only interested in the solution itself and have no wish to actually *learn* anything from the experience. Thanks.

 

 

Similar Threads

  1. Need help changing color on my site
    By jaylee in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 28 Jan 2011, 07:41 PM
  2. Need help changing the title
    By ijarofjami in forum General Questions
    Replies: 2
    Last Post: 3 Oct 2009, 05:27 AM
  3. Need help on changing the title of my store
    By rayray430 in forum General Questions
    Replies: 2
    Last Post: 28 Sep 2007, 11:19 PM
  4. Need help changing colors of my site
    By JC67 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Sep 2007, 07:12 PM
  5. Need Help on changing the Site Title.....
    By morrisgiftshop in forum General Questions
    Replies: 1
    Last Post: 8 Aug 2007, 10:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •