Zen Cart Logo
Forums / Basic Configuration / Change TagLine on top

Change TagLine on top

Locked

Views: 20,270

Results 1 to 20 of 33
This thread is locked. New replies are disabled.
21 May 2006, 4:37 AM
#1
jrockford avatar

jrockford

New Zenner

Join Date:
May 2006
Posts:
1
Plugin Contributions:
0

Change TagLine on top

I would like to know how you change the tagline thing right on top in the header. I can't seem to find the info anywhere else here.

I'd like to delete it.

Thanks
Ted M.

21 May 2006, 4:55 AM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Change TagLine on top

Look in includes -> languages -> english -> header.php

and change

define('HEADER_SALES_TEXT', '');
26 May 2006, 9:27 AM
#3
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Change TagLine on top

clydejones:

Look in includes -> languages -> english -> header.php

and change

define('HEADER_SALES_TEXT', '');

26 May 2006, 9:16 PM
#4
sermonzone avatar

sermonzone

Zen Follower

Join Date:
Oct 2005
Location:
New Mexico
Posts:
365
Plugin Contributions:
0

Re: Change TagLine on top

Kuroi and Clyde,

I know we get this question quite a bit from new shop owners. As best I can tell, in ver 1.2+ header.php contained

define('HEADER_ALT_TEXT', 'make changes here');
define('HEADER_SALES_TEXT', 'make changes here');

However, in ver 1.3+ it has been moved to includes\languages\english\meta_tags.php.

What makes this complicated is that the Classic template seems to use the old format with the info in header.php. Since we are suggesting that new users NOT start with the Classic template they should make the changes in the meta-tags file that is copied into their custom template folder.

I have been wrestling with this as conflicting answers are given by various users. I am fairly certain that I have this straight now but am always open to new info.

Your thoughts? Feel free to PM.

27 May 2006, 3:02 AM
#5
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Change TagLine on top

The meta tags have nothing to do with what is displayed on the page, they are all in the head section of the site page.

header.php effects what is displayed on the page.

I think (personally) sales message and tagline are being used interchanably.

My assumption is that when people ask this question they are refering to what is displayed on the page and not what is hidden in the head section.

This is from meta_tags.php

 * @version $Id: meta_tags.php 2555 2005-12-13 05:37:01Z drbyte $
 */

// page title
define('TITLE', 'make changes here');

// Site Tagline
define('SITE_TAGLINE', 'make changes here');

This is from header.php

* @version $Id: header.php 2848 2006-01-14 09:47:08Z wilt $
*/

// added defines for header alt and text
define('HEADER_ALT_TEXT', 'make changes here');
define('HEADER_SALES_TEXT', '<h1>make changes here</h1>');
27 May 2006, 6:51 AM
#6
wils avatar

wils

Zen Follower

Join Date:
Apr 2006
Location:
Göteborg
Posts:
124
Plugin Contributions:
0

Re: Change TagLine on top

clydejones:

The meta tags have nothing to do with what is displayed on the page, they are all in the head section of the site page.

header.php effects what is displayed on the page.
[/CODE]

  • don't agree. meta_tags.php definately define what is shown in the page title. File in \includes\languages\my_lang\my_templ

  • what am I missing here?

27 May 2006, 7:32 AM
#7
sermonzone avatar

sermonzone

Zen Follower

Join Date:
Oct 2005
Location:
New Mexico
Posts:
365
Plugin Contributions:
0

Re: Change TagLine on top

I am honestly not sure on this one. I read a thread recently where Merlin pointed out that one of the changes in 1.3+ involved moving some elements out of header.php. I **thought **it included the Title/tagline we are discussing here.

What Clyde says makes sense though. Meta-tags are behind the scenes info and put the title/tagline in the BROWSER header. (That is likely what confused me)

I may have just misread the thread however. I thought the idea was that the header would call the text from another source (meta_tags.php) rather than hard code the text into header.php.

Happy for anyone to set me straight on this.

27 May 2006, 9:06 AM
#8
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Change TagLine on top

Sermonzone:

What Clyde says makes sense though. Meta-tags are behind the scenes info and put the title/tagline in the BROWSER header.That's spot on. I'd use very slightly different language and say that meta_tags contains information for search engines and the browser title bar. header contains information that will be displayed in your site's header inside the browser window.

Sermonzone:

I may have just misread the thread however. I thought the idea was that the header would call the text from another source (meta_tags.php) rather than hard code the text into header.php.I see your confusion. In v1.2.7d (and earlier I suspect) there were two header.php files. One in modules and one in languages. The one in modules was executable code used in building the header. This is no longer there as the functionality has been incorporated into the template system. The header file in languages was used to hold definitions of various things to be displayed or presented to the browser and is still there but now concentrates on text dispalyed in the site's header (with items not displayed there now moved to meta_tags).

27 May 2006, 4:01 PM
#9
sermonzone avatar

sermonzone

Zen Follower

Join Date:
Oct 2005
Location:
New Mexico
Posts:
365
Plugin Contributions:
0

Re: Change TagLine on top

After searching for 30 minutes, I found the thread that talked about moving funtions out of header.php.

Sure enough - it was the file in /modules NOT /languages.

Thanks Clyde and Kuroi. My brain was really mushy on that one.

29 May 2006, 3:35 AM
#10
dustyservers avatar

dustyservers

New Zenner

Join Date:
May 2006
Posts:
18
Plugin Contributions:
0

Re: Change TagLine on top

how can I change the title to Eric's withat comon like that as when I try to put a coomon with Eric's company type of thing it breaks it is there a way to do thing?

29 May 2006, 6:05 AM
#11
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Change TagLine on top

dustyservers:

how can I change the title to Eric's withat comon like that as when I try to put a coomon with Eric's company type of thing it breaks it is there a way to do thing?Sorry, Dustyservers, I don't understand your question. Can you repost with more information?

29 May 2006, 7:16 AM
#12
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,604
Plugin Contributions:
0

Re: Change TagLine on top

When adding words containing apostrophes you need to "escape" the single quote mark.

Eric's becomes Eric's

put a backslash in front of the apostrophe.

29 May 2006, 3:12 PM
#13
sermonzone avatar

sermonzone

Zen Follower

Join Date:
Oct 2005
Location:
New Mexico
Posts:
365
Plugin Contributions:
0

Re: Change TagLine on top

Kims Zen marvel of the day - The ability to interpret questions indecipherable by mere mortals.

Good job Kim.

29 May 2006, 3:52 PM
#14
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Change TagLine on top

Sermonzone:

Kims Zen marvel of the day - The ability to interpret questions indecipherable by mere mortals.

Good job Kim.I was pretty impressed too.

29 May 2006, 5:38 PM
#15
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,604
Plugin Contributions:
0

Re: Change TagLine on top

:D I'm psychic, din't ya' know? ...and I can hear one-handed clapping.

29 May 2006, 11:14 PM
#16
dustyservers avatar

dustyservers

New Zenner

Join Date:
May 2006
Posts:
18
Plugin Contributions:
0

Re: Change TagLine on top

another question about the tagline when you click on a Categories for examples if you click on Gift Certifcates it shows Gift Certificates:Title name how can I change it so it just show the title and not Gift Certificates:Title name?

Eric

31 May 2006, 11:31 PM
#17
edjusted avatar

edjusted

New Zenner

Join Date:
Jul 2005
Posts:
19
Plugin Contributions:
0

Re: Change TagLine on top

The override system does not seem to work with meta_tags.php. Does anyone else run into this problem? I had to change the meta_tags.php file in includes/languages/english to make it work. I have another copy in includes/languages/(my template name) and it seems to have no effect.

31 May 2006, 11:40 PM
#18
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Change TagLine on top

edjusted:

The override system does not seem to work with meta_tags.php. Does anyone else run into this problem? I had to change the meta_tags.php file in includes/languages/english to make it work. I have another copy in includes/languages/(my template name) and it seems to have no effect.Very dangerous statement to make, though I note your asterisks. I have yet to see a post about the override system that didn't prove to be due to the override file not being placed in the right place, The override system is actually very robust and effective.

In this case the override meta_tags.php should have been placed in the includes/languages/english/MY_TEMPLATE/ directory.

1 Jun 2006, 5:15 AM
#19
dustyservers avatar

dustyservers

New Zenner

Join Date:
May 2006
Posts:
18
Plugin Contributions:
0

Re: Change TagLine on top

the circle part on this image is what I want to remove but want to keep the company name there how would I do this? if some one can help me with remvoing the page's name when you clikc on the different pages that be great thanks..

the image is at http://www.dustyservers.net/store.gif

Eric

1 Jun 2006, 1:59 PM
#20
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,604
Plugin Contributions:
0

Re: Change TagLine on top

WHY? would you want to remove the Search Engine food from your page title?