Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2009
    Posts
    52
    Plugin Contributions
    0

    Default Help with Overide system.

    1.I am still not understanding the override system. I install zencart in a directory call Mystore. I download a new template call arkiTEC-hd black form the zencart web site. I created of folder called arkiTEC-hd black under the templates I download the new template files to this directory. I went to the template Selection and selected the new template. So far so good. Then I went to http://localhost/mystore/index.php the store came up ok in the browser. I then when to mystore/includes/languages and made a new directory called arkiTEC-hd black. I copied three files into that directory from mystore/includes/languages/English. They are index.php, header.php, and engligj.php. I made changes to each one of them in this directory and not in the original directory. When I go to http://localhost/mystore/index.php I don’t see any changes in the index page. I thought that any file I put into the new directory would orverride the original file in the original directories. Can you help my understand what is going on.

    2. What are file that come up in the Define Page editor. How do I get other files to show up there so I can alter them? What do I use to alter the php files: windows word pad? Is there a better program that will let me see in html like the Define page edit where I can see the file in either plain text or HTML?

    3. How do I know what file to change to get a change in a particular place?
    Last edited by robert4442; 17 Jun 2009 at 12:40 AM. Reason: Make a typo corerection

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

    Default Re: Help with Overide system.

    The chart here will help you visualize where your custom template files go. Or anywhere you see a classic folder, you can have a custom template folder:
    http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=298

    When you modify files from the includes/languages/english folder (that are not in a sub-folder) they should go back into includes/languages/english/your_template.


    The define pages are in includes/languages/english/html_includes, and your modified files should go back into includes/languages/english/html_includes/your_template.

    Hope this helps!
    [FONT=Arial]Country Kitty Crafts[/FONT][FONT=Arial]
    [/FONT] [FONT=Garamond]
    [/FONT]

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

    Default Re: Help with Overide system.

    Make certain the folders you created have the exact same name as the folders that came with the 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

  4. #4
    Join Date
    Jun 2009
    Posts
    52
    Plugin Contributions
    0

    Default Re: Help with Overide system.

    What is the best program to modify the php files. The define page editor as I understand it only can modify pages in the HTML_includes directory. I like this program because you can see what you editing without haveing hunt through the htlm code or see the html code and work on it directly. Is there another progam that will do that?

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

    Default Re: Help with Overide system.

    For the html_includes files (define pages), you can download several mods (FCKeditor, TinyMCE, etc) and install to ZC.

    For editing php files, Crimson Editor and Notepad ++ is recommended and free. Personally, I like Alleycode..also free.
    [FONT=Arial]Country Kitty Crafts[/FONT][FONT=Arial]
    [/FONT] [FONT=Garamond]
    [/FONT]

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

    Default Re: Help with Overide system.

    For php files, a good text editor is best. Notepad++ and Crimson Editor are good and free on the net.
    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
    Jun 2009
    Posts
    52
    Plugin Contributions
    0

    Default Re: Help with Overide system.

    1. In the header.php in the default classic there is a picture the header main bar. I cannjot see where the picture come from and what the files is. I cannot look it up if I don't know the files name of the image. Can you help me as I would like to addmy company logo in the header. Next:

    2. I would like to understand where the image for the zen+cart logo is located. I put a gif file called letterhead.gif in the images file and then replaced the logo.gif in the hearder.php with letterhead.gif and it does not show up. I also used image/lettehrhead.gif and it does not show up. Below is code from the hearder.php file showing where the logo.gif (which is the zen-cast logo). I does not specify apath to the image.

    // added defines for header alt and text
    define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce [home link]');
    define('HEADER_SALES_TEXT', '<h1>TagLine Here</h1>');
    define('HEADER_LOGO_WIDTH', '200px');
    define('HEADER_LOGO_HEIGHT', '70px');
    define('HEADER_LOGO_IMAGE', 'logo.gif');

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

    Default Re: Help with Overide system.

    1. I didn't check this, but the image is likely coming from the stylesheet.

    2. https://www.zen-cart.com/tutorials/i...hp?article=125
    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

 

 

Similar Threads

  1. Upgrade and overide system question...
    By joyjoy in forum Upgrading from 1.3.x to 1.3.9
    Replies: 9
    Last Post: 13 Nov 2010, 11:13 PM
  2. Replies: 0
    Last Post: 5 Sep 2009, 01:22 AM
  3. Define Pages using classic template and overide system
    By FishySteve in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 9 Jun 2007, 03:23 PM
  4. Trouble with the overide system
    By momo06 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 7 Dec 2006, 04:22 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