Zen Cart Logo

Title Meta Tag in Admin

Locked

Views: 5,119

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
10 Sep 2007, 6:09 PM
#1
j_price avatar

j_price

New Zenner

Join Date:
Sep 2007
Posts:
9
Plugin Contributions:
0

Title Meta Tag in Admin

I am still showing Zen Cart in my product title meta tags. I have already changed the header_html.php and the meta_tag.php. Where else is this code stored? My pages show the right tag just not my products and categories.

10 Sep 2007, 7:25 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Title Meta Tag in Admin

J Price:

I am still showing Zen Cart in my product title meta tags. I have already changed the header_html.php and the meta_tag.php. Where else is this code stored? My pages show the right tag just not my products and categories.

  1. What's the URL where we may see this?
  2. You should not ever need to touch the html_header.php file.
  3. The metatags data is stored in the meta_tags.php language file and in the database as part of each product/category's metatags settings (if you've defined any of those).
10 Sep 2007, 7:31 PM
#3
j_price avatar

j_price

New Zenner

Join Date:
Sep 2007
Posts:
9
Plugin Contributions:
0

Re: Title Meta Tag in Admin

https://www.beautywithacause.com is the site. I am seeing the tag/title in the Zen cart admin pages when I am setting up the meta tags for my products and my categories.

10 Sep 2007, 7:34 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Title Meta Tag in Admin

So, you're saying you don't like the Title tag in the Admin ?

10 Sep 2007, 7:44 PM
#5
j_price avatar

j_price

New Zenner

Join Date:
Sep 2007
Posts:
9
Plugin Contributions:
0

Re: Title Meta Tag in Admin

I don't want web crawlers to read zen cart instead of what I customized about my company. How can I see the metatags on the live website? Are you saying the admin tags are not related to the real thing?

10 Sep 2007, 8:54 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Title Meta Tag in Admin

The web crawlers see the same thing your customers see. They don't see your admin.

Go to your storefront. That's what they will see.
Click on a category/product. That's what they'll see.

The admin area is only for the storeowner to manage their store.

4 Oct 2007, 7:36 PM
#7
ofelixculpa avatar

ofelixculpa

New Zenner

Join Date:
Jul 2006
Posts:
43
Plugin Contributions:
0

Re: Title Meta Tag in Admin

I am dealing with the same issue, but for a different reason. I would like to replace "Zen Cart!" in the title for my admin. I understand that users won't see it, and it doesn't bother me to see it except for printing of invoices and packing slips, where it prints out on the very top left of the page.

I know I could change my browser's print settings to avoid this, but I would rather change the metatag title in my admin (so I don't have to keep changing browser settings before and after each time I print packing slips.

I went here:
**includes\languages\english\MY_TEMPLATE\metatags.php **
and changed this:
define('TITLE','Zen Cart!');
to this:
define('TITLE','MY_TITLE');
but the template override apparently doesn't apply to admin (of course).

I know I can edit the same line in
includes\languages\english\metatags.php
to change accomplish this, but I am wondering if there is a better way (since I've read so many warnings against editing non-override files).

Thanks

4 Oct 2007, 7:49 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Title Meta Tag in Admin

OFelixCulpa:

I am dealing with the same issue, but for a different reason. I would like to replace "Zen Cart!" in the title for my admin. I understand that users won't see it, and it doesn't bother me to see it except for printing of invoices and packing slips, where it prints out on the very top left of the page.

I know I could change my browser's print settings to avoid this, but I would rather change the metatag title in my admin (so I don't have to keep changing browser settings before and after each time I print packing slips.

I went here:
**includes\languages\english\MY_TEMPLATE\metatags.php **
and changed this:
define('TITLE','Zen Cart!');
to this:
define('TITLE','MY_TITLE');
but the template override apparently doesn't apply to admin (of course).

I know I can edit the same line in
includes\languages\english\metatags.php
to change accomplish this, but I am wondering if there is a better way (since I've read so many warnings against editing non-override files).

Thanks
Just edit your /admin/includes/languages/english.php file directly (no override):

// removed for meta tags
// page title
//define('TITLE', 'Zen Cart');

// include template specific meta tags defines

remove the // in front of this line, and set the text you desire to display:

[B]//[/B]define('TITLE', 'Zen Cart');
4 Oct 2007, 8:24 PM
#9
ofelixculpa avatar

ofelixculpa

New Zenner

Join Date:
Jul 2006
Posts:
43
Plugin Contributions:
0

Re: Title Meta Tag in Admin

That is just what I needed! Thanks for such a quick response.

Just out of curiosity, why doesn't it point to the metatag.php file for the chosen template instead of the base metatag.php?

28 Oct 2007, 3:51 AM
#10
idtags avatar

idtags

Zen Follower

Join Date:
Aug 2005
Posts:
315
Plugin Contributions:
0

Re: Title Meta Tag in Admin

Hello,
Where can we change following lines?

"The Zen Cart™ Team and others ""

/>shopping cart program by Zen Cart™, http://www.zen-cart.com"

in these codes:

<meta http-equiv="imagetoolbar" content="no" />
<meta name="authors" content="The Zen Cart™ Team and others" />
<meta name="generator" content="shopping cart program by Zen Cart™, http://www.zen-cart.com" />

Is slash / in the end of lines correct?

Thanks for the respond in advance

28 Oct 2007, 4:16 AM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Title Meta Tag in Admin

idtags:

Hello,
Where can we change following lines?

"The Zen Cart™ Team and others ""

/>shopping cart program by Zen Cart™, http://www.zen-cart.com"

in these codes:

<meta http-equiv="imagetoolbar" content="no" />
<meta name="authors" content="The Zen Cart™ Team and others" />
<meta name="generator" content="shopping cart program by Zen Cart™, http://www.zen-cart.com" />

Is slash / in the end of lines correct?

Thanks for the respond in advance

You mean you don't want to give credit to the Zen Cart team for writing the software you're using to run your store?

If you strongly believe that you should give that credit to yourself instead, change it in your custom html_header.php file.

And yes, the trailing slash at the end of the tag is correct.