Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2009
    Posts
    14
    Plugin Contributions
    0

    Default cannot create new template without messing up display

    v1.8.3a
    New installation

    I followed the wiki instructions for creating a new, custom tempalte. When I apply the template and refresh my storefront, the storefront display expands to cover the whole browser screen, and the colors are changed from the default greens to some crazy pinks. The page is really ugly.

    What confuses me is that I would have thought the appearance would be primarily controlled by the CSS style sheet, which I copied over to the new template. Why did the width change? Also, I have not yet overridden any php files.

    How can I create a new template while completely maintaining the look of the default template, so that I can use that as a baseline?

    Thanks from a needy newbie.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: cannot create new template without messing up display

    What you are seeing is the /template_default/ stylesheet, which is *not* the same as the stock template ("Classic") that is installed with Zen Cart.

    If you want to start from the Classic template look, copy all /classic/ folders and files (except /classic/template_info.php) over to /your_custom_template_name/ folders.

  3. #3
    Join Date
    Jan 2009
    Posts
    14
    Plugin Contributions
    0

    Default Re: cannot create new template without messing up display

    Ah, thanks, that makes sense.

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

    Default Re: cannot create new template without messing up display

    You don't need to copy all the folders and files over. Just the ones you want to change. Copying all of them will lead to confusion later.
    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

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: cannot create new template without messing up display

    You don't want any /template_default/ files that are not changed, but all /classic/ files have been changed from the original /template_default/, so they are all necessary for starting a new template based on Classic.

  6. #6
    Join Date
    Aug 2008
    Location
    Rockford, IL
    Posts
    59
    Plugin Contributions
    1

    Default Re: cannot create new template without messing up display

    I followed the instructions in the tutorial for creating a template and found the same problem as originated in this thread. I followed the instructions in this thread and now my custom template looks like the classic template.

    However, all my sideboxes are gone. What am I missing?

    Sorry, forgot to inlude my url.... http://americanwhitney.com/shoponline/
    Last edited by WilpackPackaging; 2 Jun 2009 at 02:39 PM.

  7. #7
    Join Date
    Aug 2008
    Location
    Rockford, IL
    Posts
    59
    Plugin Contributions
    1

    Default Re: cannot create new template without messing up display

    Ah..... I found it. I didn't follow the last instruction to go and reset all my layout boxes.

 

 

Similar Threads

  1. v155 How can I style zen_create_sort_heading output without messing the core?
    By mesnitu in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 May 2016, 08:57 PM
  2. v151 Making images the same size without messing them up
    By SilverHD in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 23 Mar 2016, 10:03 PM
  3. v150 Trying to create a single PHP page with ajax without template elements
    By ailtait in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 16 Aug 2012, 05:07 PM
  4. How to create new category without displaying it's link?
    By miles in forum General Questions
    Replies: 4
    Last Post: 25 Feb 2009, 07:10 AM
  5. Create new order without payment on a live store
    By sublime19 in forum General Questions
    Replies: 4
    Last Post: 9 Dec 2008, 05:56 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