Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2008
    Posts
    3
    Plugin Contributions
    0

    Default Header.php and sales message

    Hello Everyone,
    I have been working on editing the site and have found this forum and the tutorial to be very helpful. One point I am stuck on is editing the "sales message goes here" I have read how to edit it on the tutorial, but for some reason it won't change no matter what i do with the file. I did a search here and saw one person had the same issue, but no one had replied to it. Any ideas on what could be the problem?

    Code looks like this from header file:

    Code:
    text   define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');   define('HEADER_SALES_TEXT', 'Welcome to the FLY Store');   define('HEADER_LOGO_WIDTH', '192px');   define('HEADER_LOGO_HEIGHT', '64px');

  2. #2
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: Header.php and sales message

    Quote Originally Posted by ZanyZack View Post
    Hello Everyone,
    I have been working on editing the site and have found this forum and the tutorial to be very helpful. One point I am stuck on is editing the "sales message goes here" I have read how to edit it on the tutorial, but for some reason it won't change no matter what i do with the file. I did a search here and saw one person had the same issue, but no one had replied to it. Any ideas on what could be the problem?

    Code looks like this from header file:

    Code:
    text   define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');   define('HEADER_SALES_TEXT', 'Welcome to the FLY Store');   define('HEADER_LOGO_WIDTH', '192px');   define('HEADER_LOGO_HEIGHT', '64px');
    1. Did you change the permissions on the file you are editing
    2. Are you working with a copy of the file and placing it in the "custom*" folder accoring to the overrides system?
    * custom = whatever your custom template is

    Tina
    Last edited by charmedbytina2; 14 Jul 2008 at 08:45 PM.

  3. #3
    Join Date
    Jul 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: Header.php and sales message

    Quote Originally Posted by charmedbytina2 View Post
    1. Did you change the permissions on the file you are editing
    2. Are you working with a copy of the file and placing it in the "custom*" folder accoring to the overrides system?
    * custom = whatever your custom template is

    Tina

    I have just placed the header.php file back into the /public_html/flystore/includes/languages/english/ section and doing a normal override. Is there another place I should place the file and/ or edit for my template?

    Thanks for your time

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

    Default Re: Header.php and sales message

    Check this article in the tutorials/FAQ section

    www.zen-cart.com/tutorials/index.php?article=127

  5. #5
    Join Date
    Jul 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: Header.php and sales message

    I have tried and tried to figure it out with no luck. I edit the header.php file and then upload and overwrite it to /public_html/flystore/includes/languages/english/

    I have placed the file in other areas as well and as the article states to place it in my template folder. /public_html/flystore/includes/languages/english/classic/

    No luck any ideas?

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

    Default Re: Header.php and sales message

    If you change the files in includes/languages/english/ or includes/languages/english/classic/, your changes will be overwritten (read GONE) with the next upgrade/update.

    This list is a bit outdated, but it'll still serve as a guideline to creating your own custom template. To create a very basic custom template (you can build from there), you need:
    • includes/languages/YOUR_TEMPLATE/english.php
    • includes/languages/english/YOUR_TEMPLATE/index.php
    • includes/languages/english/YOUR_TEMPLATE/meta_tags.php
    • includes/languages/english/YOUR_TEMPLATE/header.php (to change the logo)
    • includes/templates/YOUR_TEMPLATE/template_info.php
    • includes/templates/YOUR_TEMPLATE/common/tpl_header.php
    • includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
    • includes/templates/YOUR_TEMPLATE/images/logo.gif
    • includes/templates/YOUR_TEMPLATE/css/stylesheet.css


    Anywhere you see a /classic/ folder, you can create a folder for your custom template. You can copy the necessary files from either the /classic/ folder, the /template_default/ folder or the parent folder.

    Edit includes/templates/YOUR_TEMPLATE/template_info.php to give your template identifying information so you'll recognize it in the admin under tools->template selection.

    Alternately, you can look at the free templates available for Zen Cart at http://(sorry, site offline)/ and use one of them for your site or use one of them as a guideline to creating your own template.
    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

  7. #7
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Header.php and sales message

    If you're:

    1. Editing it properly (in a text editor).

    2. Saving it to the proper override folder ( if you've selected the 'classic' folder in Admin - Template Selection, then you want it in includes/languages/english/classic

    3. Making sure that the permissions are correct, such that you're actually sending and overwriting the file with your FTP clent

    then it has to work, which means one of the above isn't happening.

    If you post a link to your site, we can take a look.

    Edit: afo is right, it might be wise to create your own template first.

 

 

Similar Threads

  1. v139h remove and change main page logo and sales message?
    By Abbis in forum Basic Configuration
    Replies: 12
    Last Post: 18 Jul 2012, 09:17 AM
  2. Adding image to header.php, replacing sales message
    By feanix02 in forum Templates, Stylesheets, Page Layout
    Replies: 19
    Last Post: 27 Feb 2010, 07:52 AM
  3. how to change the text on header?(Sales Message Goes Here)
    By charley518 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Nov 2006, 10:08 AM
  4. turn off sales message and change alt in header
    By usernamenone in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Nov 2006, 11:03 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