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.
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.
Look in includes -> languages -> english -> header.php
and change
Code:define('HEADER_SALES_TEXT', '');
Clyde is right that this is the file to change. I would just add that you should make the change on a copy that you save in the includes > languages > english > YOUR_TEMPLATE_NAME directory. Otherwise you change will get overwritten when you next upgrade your Zen Cart.Originally Posted by clydejones
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
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
However, in ver 1.3+ it has been moved to includes\languages\english\meta_tags.php.define('HEADER_ALT_TEXT', 'make changes here');
define('HEADER_SALES_TEXT', 'make changes here');
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.
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
This is from header.phpCode:* @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');
Code:* @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>');
- don't agree. meta_tags.php definately define what is shown in the page title. File in \includes\languages\my_lang\my_templOriginally Posted by clydejones
- what am I missing here?
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.
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.Originally Posted by Sermonzone
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).Originally Posted by Sermonzone
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
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.
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?