Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default I got rid of the Header Sales Text, but did I do it right?

    Ok,

    Since I lost my head and ranted about how hard things are to fix, I thought I'd post something that I think I figured out, but want some verification so that the next update doesn't make me crazy.


    In an attempt to make the Header Sales Text go away I tried editing the file /includes/languages/english/birdoasis/header.php

    By commenting out the "define('HEADER_SALES_TEXT', 'Enjoy more wild feathered friends this winter!');" line I had hoped to have no text show up at all.

    However what I got was HEADER_SALES_TEXT replacing my text.

    So I searched for the file that included that statement and found it in:

    /includes/templates/mytemplatefolder/common/tpl_header.php

    The line was an if statement. "if (HEADER_SALES_TEXT != '' etc etc.

    I thought about commenting that one out too but saw that other if statements were attached. Then it clicked.

    This if statement was looking for an empty define statement. So instead of just erasing my sales text in header.php, I replaced it with spaces like this.

    define('HEADER_SALES_TEXT', ' ');

    So now text is showing at all.

    I think I did this right. Could someone please verify this for me?

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: I got rid of the Header Sales Text, but did I do it right?

    Yes, that's right.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  3. #3
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default Re: I got rid of the Header Sales Text, but did I do it right?

    ALLL RIGHT!

    Thanks Mary Ellen!!!

    That was soooo exasperating. hehe.

  4. #4
    Join Date
    Mar 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: I got rid of the Header Sales Text, but did I do it right?

    Thank you so much for posting this! You just saved me a lot of time trying to figure it out!

 

 

Similar Threads

  1. Replies: 3
    Last Post: 13 Nov 2011, 07:53 PM
  2. header moves to the right when viewing category- BUT...
    By Stingraynut in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 10 Dec 2010, 05:47 AM
  3. Sales Message Text seems to be linked to the Logo and will not align right?
    By MistaP in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Feb 2010, 02:38 PM
  4. Move the header sales text to the nav bar?
    By beasleybub in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 17 Apr 2007, 06:58 AM
  5. tpl_header... I got the right area but...
    By ladysaat in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 28 Jul 2006, 04:23 AM

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