Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2007
    Posts
    84
    Plugin Contributions
    0

    Default Help with Zen Cart Layout

    I am having problems with a couple of issues if anyone can help me that would be great.
    1. How do i put my logo and links on top of the page. My current website is http://studiofrenzy.com/ and I would like the heading and links that say home, shoppe etc. to be on my Zen Cart shopping page. I have went through the tutorial that says the following and it still has not worked for me.

    Using an image editor, create your new logo and save it to includes/templates/CUSTOM/images/your_image_name.??? and upload it to your server.

    After creating your logo you can adjust the height, width and logo name in includes/languages/ENGLISH/header.php

    2. How do I get rid of the middle part on the Zen cart where it talks about buying the book. I would like to have a list of new products there. My link is http://studiofrenzy.com/ZenCart/

    3- Is there anyway to put my background that is on my website page on the zen cart page?

    Thanks for your help!!

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

    Default Re: Help with Zen Cart Layout

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

    As it says in the instructions, create the logo and upload it to includes/templates/YOUR_TEMPLATE/images/. With a good text editor (like Crimson Editor or Notepad), open includes/languages/english/YOUR_TEMPLATE/header.php and look for

    Code:
    // 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>Sales Message Goes Here</h1>');
    define('HEADER_LOGO_WIDTH', '200px');
    define('HEADER_LOGO_HEIGHT', '70px');
    define('HEADER_LOGO_IMAGE', 'logo.gif');
    Change the lines in blue to match what you want it to say on your site (to remove the sales message completely replace it with two single quotes).

    Change the lines in red to the dimensions of your logo and the name you gave the image you created and uploaded.

    Once you create your own template and select it in the admin, the stuff about the book should disappear.

    You can put your own background on your Zen Cart in the stylesheet.
    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. Layout issue with my first Zen Cart website....
    By gnrocks2 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 3 Jun 2009, 08:59 PM
  2. zen cart newbie,plz help with 2 layout setting questions
    By harz in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 19 Sep 2008, 05:27 PM
  3. help me with zen cart functions
    By anis_huq in forum General Questions
    Replies: 1
    Last Post: 2 Jun 2007, 10:53 AM

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