Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Header File

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-20-2003, 08:52 PM
 
JenNewt JenNewt is offline
 

Newbie
  
Join Date: Mar 2003
Posts: 9
 

Default 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
Reply With Quote
  #2  
Old 03-21-2003, 07:16 AM
 
machnhed1 machnhed1 is offline
 

eXpert
  
Join Date: Feb 2003
Location: Illinois
Posts: 274
 

Default

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!
Reply With Quote
  #3  
Old 03-21-2003, 09:49 AM
 
JenNewt JenNewt is offline
 

Newbie
  
Join Date: Mar 2003
Posts: 9
 

Default

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

Jen
Reply With Quote
  #4  
Old 03-21-2003, 10:48 AM
 
machnhed1 machnhed1 is offline
 

eXpert
  
Join Date: Feb 2003
Location: Illinois
Posts: 274
 

Default

Excellent, glad to hear it. Cool menus by the way.
Reply With Quote
  #5  
Old 06-10-2003, 07:59 PM
  kpriest's Avatar 
kpriest kpriest is offline
 

eXpert
  
Join Date: Apr 2003
Location: Seattle, WA
Posts: 263
 

Default

Hi Jen -

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

- 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.
__________________
-Ken
X-Cart User / Developer Since April 2003
(Varying versions, multiple client sites, 3.x through 4.4.x)
www.pointbweb.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:16 AM.

   

 
X-Cart forums © 2001-2020