Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Feb 2005
    Location
    Jim Thorpe Pennsylvania
    Posts
    143
    Plugin Contributions
    0

    Default Changing Page Titles in Admin Section

    I edited the meta_tags.php and all my page titles are just fine. Problem I have is with the admin section. All pages show Zen Cart! as page titles. The strange thing is that I searched the site for "Cart!" matches but found only in english.php. I don't see any meta_tags.php for the Admin Area. I have cleared my cache. Any idea of why the admin page titles are not reflecting the changes in meta_tags.php while the non admin pages do?
    Got a Zencart Tatoo & Vanity Plate

  2. #2
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Changing Page Titles in Admin Section

    Quote Originally Posted by sperdie View Post
    All pages show Zen Cart! as page titles.
    Yes, at the present time all the admin pages use the same title text, and that's based on whatever you've defined TITLE as for your current template.
    Code:
    define('TITLE', 'Zen Cart');
    It is not dynamically changed based on which admin activity you're performing.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Feb 2005
    Location
    Jim Thorpe Pennsylvania
    Posts
    143
    Plugin Contributions
    0

    Default Re: Changing Page Titles in Admin Section

    Thank you for your response. My issue is not that all the pages are not titled correctly, they are. Each page has taken on the value that I put in the meta_tags.php. But any page that is generated from the admin section, ie: the log in or invoices, takes the value "Zen Cart!" that is NOT in my meta_tags value. In the admin section, I didn't expect the page titles to by dynamic- I don't care about that. I expected that the admin pages would at least take on the value of my meta_tags.php setting. They clearly do not. So If I am at any admin page the page titles are all "Zen Cart!" but if I am on any page from the Main page to any page that is not generated from the Admin side then the page names display the value that I set in meta_tags.php.
    The issue pops up when I go to print an invoice. The invoice takes the page name and puts it at the top of the page.
    Is there any reason why my Admin pages are not taking the value specified in meta_tags.php? I see that the english.php comments out the page name and tag line settings and directs me to the meta_tags.php for this value.
    Got a Zencart Tatoo & Vanity Plate

  4. #4
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Changing Page Titles in Admin Section

    You must have a define for it someplace in your admin files, else it would be correctly taking on what you've set in your template.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Feb 2005
    Location
    Jim Thorpe Pennsylvania
    Posts
    143
    Plugin Contributions
    0

    Default Re: Changing Page Titles in Admin Section

    This was a fairly new install. I didn't have a chance to change anything from the original files. (I scanned for file changes since install date and no suspects) Obviously it has to come from somewhere. Any suggestions?
    Got a Zencart Tatoo & Vanity Plate

  6. #6
    Join Date
    Feb 2005
    Location
    Jim Thorpe Pennsylvania
    Posts
    143
    Plugin Contributions
    0

    Default Re: Changing Page Titles in Admin Section

    Just to be clear- You mentioned changes to "Templates" the meta_tags.php that I edited is not in the Template directory. I found it in Includes>Languages>English>meta_tags.php
    Got a Zencart Tatoo & Vanity Plate

  7. #7
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Changing Page Titles in Admin Section

    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Feb 2005
    Location
    Jim Thorpe Pennsylvania
    Posts
    143
    Plugin Contributions
    0

    Default Re: Changing Page Titles in Admin Section

    Thanks for your help. I used TexFinderX (searching using the Developers tool kit seems to be hit and miss) to search the files but could not find it . I am going to download a backup of the site and scan the downloaded files for the phrase. It does have to come from somewhere.
    Got a Zencart Tatoo & Vanity Plate

  9. #9
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Changing Page Titles in Admin Section

    If the title presently says "Zen Cart!", did you try searching for "Cart!" (including the exclamation point)?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Feb 2005
    Location
    Jim Thorpe Pennsylvania
    Posts
    143
    Plugin Contributions
    0

    Default Re: Changing Page Titles in Admin Section

    I am searching for Cart!
    I went to the login page and viewed source code: <title>Zen Cart!</title>
    I downloaded all the files and searched for Cart!
    found only one instance in includes>languages>english.php
    and that instance is commented out:
    // FOLLOWING WERE moved to meta_tags.php
    //define('TITLE', 'Zen Cart!');
    This makes absolutely no sense whatsoever.
    So, just for fun, I un-commented the title line and put 'Nutritional Needs' instead of 'Zen Cart!' No change.
    the site is www.nutritionalnee############fo
    I used the developer tools and searched for Cart! and found:
    /hermes/web01c/b1115/moo.sperdie/nutritionalneeds/includes/languages/english/meta_tags.php
    Line #10 : define('TITLE', 'Zen Cart!');
    So.. I edited the file, saved it. Uploaded it and no change (ARRGGHH!!)
    So I repeated the search for Cart! and I still found the reference in the same file. So I'm thinking its a file permissions thing, so I changed the file name (successfully) and uploaded my edited version. STILL no change. So I check the date of the file that I was ftping and AH HA its an older file- I'm in the wrong directory. So get the right directory/file upload and RATS! no change.
    In Dev Tool kit did search and still showing that line 10:
    /hermes/web01c/b1115/moo.sperdie/nutritionalneeds/includes/languages/english/meta_tags.php
    Line #10 : define('TITLE', 'Zen Cart!');
    So I delete the meta_tags.php file completely from the server. NO CHANGE my non Admin pages get: 500 Internal Server Error but the admin pages work normally (except for the title) (ARRRGH UGH #%#$@$#%$%$)
    So I am going to go to bed now and tomorrow I am going to find out what I'm missing. Perhaps its sleep deprivation. (I am singing "Granada" to an imaginary herring as I type this) I'm sure its something stupid but I just can't wrap my brain around this one. But If nothing else I am a persistant MF and I will solve this. I checked my other Zen Installs- None of them seem to have this problem. Thank you so much for your time in looking at this.
    Got a Zencart Tatoo & Vanity Plate

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Changing Page Titles
    By mattymaxx in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Jul 2010, 04:43 PM
  2. Changing Page Titles
    By Blogalicious in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Feb 2010, 10:25 PM
  3. Changing Page Titles
    By perkiekat in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 3 Sep 2009, 08:06 PM
  4. Changing titles (section names)
    By ozzydog in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 19 Nov 2008, 07:57 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR