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

Adding HTML to head

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-08-2003, 12:27 AM
 
stryker898 stryker898 is offline
 

Senior Member
  
Join Date: Jan 2003
Posts: 113
 

Default Adding HTML to head

I created a title image in Fireworks. The image has slices in it that references other areas within my site. When I exported the file it made a HTML file (main image/file) and images with the slices. When I tried to replaced the original "head.tpl" logo.gif, it didnt work. Well of course it wouldn't cause you can't place a .html file in the place of a img ref. So the question is how do I incorporte this file into my head.tpl so that it shows up as an image and allows use of the slices which links within the site? Thanks for you help in advance.

Chris
__________________
Never take life too seriously, cause none of us are getting out of here alive!
Reply With Quote
  #2  
Old 06-09-2003, 03:46 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

create a new template called my_head.tpl or whatever and save it in skin1 directory

add the html in there (no <html><body></html></body> tags)

reference your images as {$ImagesDir}yourfile.jpg

in home.tpl find where the old head.tpl is called and then change that to my_head.tpl
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
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:18 AM.

   

 
X-Cart forums © 2001-2020