X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Header File (https://forum.x-cart.com/showthread.php?t=1963)

JenNewt 03-20-2003 08:52 PM

Header File
 
Having a problem as I am not all that familiar with PHP.

On my site, I use header and footer files. The header file has a DHMTL menu script. This script requires the <head> </head> tags. Can anyone help me figure out how to do this?

my site is www.scrapsahoy.com

thanks in advance!

Jen

machnhed1 03-21-2003 07:16 AM

Hi Jen,

Take that DHTML code out of the template you currently have it in and move it into the /customer/home.tpl file. You'll see the <head> and </head> tags in there.

You might also consider making a new .tpl file (maybe call it menus.tpl) and putting an include statement in the home.tpl file calling up the menus.tpl file. This way you will have all that DHTML code in one file rather than having it clutter up your home.tpl file.

Hope that was clear! :wink:

JenNewt 03-21-2003 09:49 AM

That did it! Thanks so much!!!!!!!!

Jen :D

machnhed1 03-21-2003 10:48 AM

Excellent, glad to hear it. Cool menus by the way.

kpriest 06-10-2003 07:59 PM

Hi Jen -

I like the menus as well. Just a couple comments though (as I am a stickler for consistency) :D

- The second menu, "Layout Galleries" doesn't fade in like all the others.
- The "Shopping" menu does fade in, but flows from top to bottom while the others flow from bottom to top.
- Under the "Home" menu, the sub-item "crew's corner" background is a different color.
- Under the "Shopping" menu item, the sub-items "Store Policies" and "Privacy Statement" have slightly different background colors than all the others.


hopefully some helpful feedback.


All times are GMT -8. The time now is 01:45 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.