Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33
  1. #1
    Join Date
    May 2006
    Posts
    1
    Plugin Contributions
    0

    Default 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.

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Change TagLine on top

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

    and change

    Code:
    define('HEADER_SALES_TEXT', '');

  3. #3
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Change TagLine on top

    Quote Originally Posted by clydejones
    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.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  4. #4
    Join Date
    Oct 2005
    Location
    New Mexico
    Posts
    393
    Plugin Contributions
    0

    Default 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.

  5. #5
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default 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
    Code:
     * @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
    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>');

  6. #6
    Join Date
    Apr 2006
    Location
    Göteborg
    Posts
    126
    Plugin Contributions
    0

    Default Re: Change TagLine on top

    Quote Originally Posted by 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?

  7. #7
    Join Date
    Oct 2005
    Location
    New Mexico
    Posts
    393
    Plugin Contributions
    0

    Default 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.

  8. #8
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Change TagLine on top

    Quote Originally Posted by 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.

    Quote Originally Posted by 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).
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  9. #9
    Join Date
    Oct 2005
    Location
    New Mexico
    Posts
    393
    Plugin Contributions
    0

    Default 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.

  10. #10
    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?

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. tagline here - where do i change this?
    By mrsmith25 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 22 Jul 2011, 01:06 PM
  2. Change Top of store - where to add a banner to the top?
    By Courage9 in forum Basic Configuration
    Replies: 2
    Last Post: 15 May 2010, 04:32 AM
  3. Tagline color wont change
    By nevada in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Feb 2010, 10:54 PM
  4. Top align left column? or change top header to center only.
    By byoriginaldesign in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 22 Dec 2009, 07:16 PM
  5. How to hide the top left corner's Logo and Tagline?
    By tat1973 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Nov 2007, 07:23 PM

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