Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2008
    Posts
    17
    Plugin Contributions
    0

    help question Having trouble with the Over Ride system....

    Ok so I just downloaded Zencart (again) to try and get a webstore built (again) after never being able to get the USPS module to work for me before. So before I try that part I want to get the site looking the way I want it to look. So I started with the template tutorials.

    I read about the over ride system and placing the edited files in the folder for the template so it doesn't get over written by updates later.
    I have been trying to edit the line at the top of the page that says "TagLine Here" but for some reason it doesn't seem to change. Wondering if I was doing something wrong I tried to edit the "Copyright" on the footer of the page and that changed just fine so I can't figure out what I'm missing on the other part.

    Do all edited files go in the same place or will there be multiple places I need to put a template file for edited files?

    Here's what I've done so far.

    I created my template folder (called gallery) and populated it with the css file, the template_info file, the common, sideboxes, templates and images folders as per this tutorial.
    http://www.zen-cart.com/wiki/index.p...lates_-_Create

    I then went on to read the over rides information here
    https://www.zen-cart.com/tutorials/i...hp?article=230
    and
    https://www.zen-cart.com/tutorials/index.php?article=36

    At this point I used the dev tool to find out where the "TagLine Here" was in the code and discovered it to be in

    /hsphere/local/home/cjgilber/shop.catisfaction.net/includes/languages/english/header.php

    Line #21 : define('HEADER_SALES_TEXT', 'TagLine Here');

    I went to my includes/languages and created a folder there called gallery. I then copied the file header.php to it and edited that file to the line I wanted my tagline to be.

    Nothing changes.

    So I tried with the file english.php and edited the copyright line and it changed just fine. After a few more tries with header.php and nothing changing I'm wondering if I've placed it in the right place.

    Can anyone help?

  2. #2
    Join Date
    Feb 2008
    Posts
    17
    Plugin Contributions
    0

    Default Re: Having trouble with the Over Ride system....


  3. #3
    Join Date
    Dec 2005
    Posts
    1,059
    Plugin Contributions
    2

    Default Re: Having trouble with the Over Ride system....

    It would go in /includes/languages/english/gallery/header.php

    And your copy of the english.php file will go in
    /includes/languages/gallery/english.php

    Get a copy of the overrides chart here:
    http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=298
    [FONT=Arial]Country Kitty Crafts[/FONT][FONT=Arial]
    [/FONT] [FONT=Garamond]
    [/FONT]

 

 

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