Results 1 to 10 of 10
  1. #1

    Default Change Zen Cart header

    I want to make my header so that my buttons work. How do I do this?
    www.saratogasales.com/store

  2. #2
    Join Date
    May 2006
    Location
    Anywhere USMC points
    Posts
    368
    Plugin Contributions
    0

    Default Re: Change Zen Cart header

    Are your "buttons" actually part of the entire header image that's up there? From what I can tell the entire image is a link to the store. You'd have to slice up the image and create hotspots that have different links. Or make seperate images and associate links with them for your nav bar.

  3. #3

    Default Re: Change Zen Cart header

    I have sliced up my header image and want to add in the place of the header logo image. When I place it in the header.php file with the define('HEADER_LOGO_IMAGE', 'head15b.html') ; Nothing shows up. Does any one know what I need to do.

    Thanks,

    www.saratogasales.com/store

  4. #4
    Join Date
    May 2006
    Location
    Anywhere USMC points
    Posts
    368
    Plugin Contributions
    0

    Default Re: Change Zen Cart header

    Sorry if this is a redundant question but did you put that image in your

    includes/templates/your_template/images file?


    In looking at mine I just realized that I put my graphic in by making it a background image in the div I wanted in my css. I didn't do it via the header.php. Oops . So I have no idea how to do it correctly

  5. #5

    Default Re: Change Zen Cart header

    I put mine in my css file too in the logowrapper. Well if you got yours to work I guess it's ok. Did you image have links on it?

  6. #6
    Join Date
    May 2006
    Location
    Anywhere USMC points
    Posts
    368
    Plugin Contributions
    0

    Default Re: Change Zen Cart header

    no

    The more I think about it, the more I'm also wondering how you'd go about creating an image with hotspots and then using it as your header.gif.

    I am trying to think of how does my Photoshop export that stuff.

    Time to google for tutorials

  7. #7

    Default Re: Change Zen Cart header

    You could use an image map, but my suggestion would be to make each button it's own image. Then you'd just have to put some HTML like

    <a href="link URL here"><img src="image URL here" alt="what the button says here"></a>

    for each button in your template's header file.

  8. #8

    Default Re: Change Zen Cart header

    I still get a blank header on my testing server here is the code
    for my header. Here is the image on the real server.

    www.saratogasales.com/store

    // header text in includes/header.php
    define('HEADER_TITLE_CREATE_ACCOUNT', 'Create Account');
    define('HEADER_TITLE_MY_ACCOUNT', 'My Account');
    define('HEADER_TITLE_CART_CONTENTS', 'Shopping Cart');
    define('HEADER_TITLE_CHECKOUT', 'Checkout');
    define('HEADER_TITLE_TOP', 'Top');
    define('HEADER_TITLE_CATALOG', 'Home');
    define('HEADER_TITLE_LOGOFF', 'Log Out');
    define('HEADER_TITLE_LOGIN', 'Log In');

    // added defines for header alt and text
    define('HEADER_ALT_TEXT', 'Saratoga Restaurant Equipment Sales [home link]');
    define('HEADER_SALES_TEXT', '');
    define('HEADER_LOGO_WIDTH', '780px');
    define('HEADER_LOGO_HEIGHT', '200px');
    define('HEADER_LOGO_IMAGE', '<a href="admin/includes/templates/nightfall/images/head15b.html">');

    // header Search Button/Box Search Button
    define('HEADER_SEARCH_BUTTON','Search');
    define('HEADER_SEARCH_DEFAULT_TEXT','Enter search keywords here');
    ?>

  9. #9

    Default Re: Change Zen Cart header

    Your source code indicates that head15b.html is in your admin folder, which means only admins will be able to see it. Also, you can't call an HTML page as an image - the page expects a jpg or gif or png there.

    What exactly is inside head15b.html? If it is the links you've created, you'll have to add them to the file includes/templates/darknessfalls/common/tpl_header.php. If you haven't used to the template system before, you can read about it here http://www.zen-cart.com/wiki/index.p...on_-_Templates or all over the forum.

  10. #10
    Join Date
    May 2006
    Location
    Anywhere USMC points
    Posts
    368
    Plugin Contributions
    0

    Default Re: Change Zen Cart header

    Wait... where did you get header.php?


    All I have is tpl_header.php and the code doesn't look like that. However the code you posted is the dang code I'm looking for.

    When I looked at the image on the server btw, I noticed that it's all the same link. I don't think that's what you were wanting was it? Didn't you want actual buttons with different links?

 

 

Similar Threads

  1. Email copyright change Copyright (c) 2009 Zen Cart. Powered by Zen Cart
    By Makoshark in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 26 May 2009, 05:24 AM
  2. How do I change the width of my zen-cart site? - Apple Zen
    By mccawphoto in forum Addon Templates
    Replies: 3
    Last Post: 10 Feb 2009, 01:20 AM
  3. Change from cube cart to zen cart
    By mick rodmell in forum General Questions
    Replies: 10
    Last Post: 2 Jul 2008, 01:39 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