Results 1 to 9 of 9

Hybrid View

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

    Default Re: Override Question

    If you are changing files where there is no /classic/ folder, your changes will be overwritten with the next upgrade/update. To keep track of your changes, create a custom folder anyway and copy your changed files to it. They won't be used by Zen Cart, but they won't be overwritten by an update/upgrade either, so you can use them to copy your modifications to the new versions (which you should then copy into the folder so you always have the latest version of the file WITH your modifications).

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

  2. #2
    Join Date
    Nov 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Override Question

    Awesome, that did the trick (the search margin). Thanks

    I don't know what I was thinking of about the removing of tables. Long night

    About the divs inside the li.. I thought it was ok, as long as the li was set to display: block? How else do I get the link to fill the entire nav bar (instead of the link being only the text)? I tried setting a to block & entering dimensions that would fill up the box, which worked, but then my text sat near the top & padding wouldn't adjust it. How can I accomplish this but make it validate?

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

    Default Re: Override Question

    Go back to setting the a tags to display:block, but use line-height instead of height
    Kuroi Web Design and Development | Twitter

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

 

 

Similar Threads

  1. override question
    By Trees2wood in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Feb 2015, 09:43 PM
  2. override question
    By OrcaSoul in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Feb 2011, 06:40 AM
  3. modules override question
    By RobWUK in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 28 May 2009, 04:03 PM
  4. Override Question
    By cypack in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 3 Dec 2006, 09:25 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