Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2005
    Posts
    38
    Plugin Contributions
    0

    Default Overide doesn't work

    Hi,

    I have copied includes/templates/template_default and changed it to includes/templates/spac

    I altered template_info.php accordingly and uploaded it.

    I then changed the template selection to be that of the new one.

    Reset the Layout Boxes Controller.

    I have not made any changes to the templates such as style, layout etc.

    However when I view the page it looks nothing like the "Classic Contemporary Green" whis is the one I supposedly just copied.

    The page is spread across the screen the colours and buttons are different.

    Please tell what I am missing here.

    Thanks

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

    Default Re: Overide doesn't work

    The template_default looks nothing like the Classic template, with many
    different colors for ease in finding the different sections in the stylesheet.

    And you should only copy files that you alter to your custom template,
    for ease in upgrading.

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

  3. #3
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Overide doesn't work

    You shouldnt copy the ENTIRE template_default folder,
    ONLY the files that you actally change,
    Zen cart PCI compliant Hosting

  4. #4
    Join Date
    Jul 2005
    Posts
    38
    Plugin Contributions
    0

    Default Re: Overide doesn't work

    You shouldnt copy the ENTIRE template_default folder, ONLY the files that you actally change
    Ok I misread "Copy Folders" as "Copy Files" from the "Copy a Template" section on http://www.zen-cart.com/wiki/index.p...lates_-_Create

    However, this structure below is what I now have and yet is still exactly the same, as in screwed up, as what it was when I had the "other" files in there.

    includes
    /templates
    /spac
    /common //Has altered tpl_header.php
    /css
    stylesheet.css // #logoWrapper changed for new header image
    /images // Has new header image
    /sideboxes //empty
    /templates //empty
    template_info.php

  5. #5
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Overide doesn't work

    The design that you see on stock is CLASSIC

    the template default is UGLY this is by design so that its easy to find what your looking for in the CSS by color
    Zen cart PCI compliant Hosting

  6. #6
    Join Date
    Jul 2005
    Posts
    38
    Plugin Contributions
    0

    Default Re: Overide doesn't work

    Never Mind. I worked it out.

    The default template is not actually template_default. It is in fact "Classic Contemporary Green" aka "Classic"

    So when I did what it says and copied template_default it didn't have the relevant files from "Classic".

    It would be good if that was pointed out somewhere in the notes..........

  7. #7
    Join Date
    Dec 2006
    Location
    NE Georgia
    Posts
    21
    Plugin Contributions
    0

    Default Re: Overide doesn't work

    Here is some good info on the over ride structure.
    https://www.zen-cart.com/tutorials/i...hp?article=143

 

 

Similar Threads

  1. My Admin Doesn't Work!!
    By Kornizzkool in forum Installing on a Mac Server
    Replies: 24
    Last Post: 16 Jul 2008, 04:25 AM
  2. ot_quantity_discount doesn't work
    By i2c2k in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 14 Jan 2008, 02:47 PM
  3. Viaklix Doesn't Work
    By brotherhud in forum Addon Payment Modules
    Replies: 43
    Last Post: 19 Sep 2007, 12:09 AM
  4. Doesn't work in Firefox!!
    By jimmybob in forum General Questions
    Replies: 1
    Last Post: 29 Jul 2007, 10: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