I want to make my header so that my buttons work. How do I do this?
www.saratogasales.com/store
I want to make my header so that my buttons work. How do I do this?
www.saratogasales.com/store
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.
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
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
![]()
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?
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![]()
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.
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');
?>
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.
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?