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)
-   -   Adding HTML to head (https://forum.x-cart.com/showthread.php?t=3089)

stryker898 06-08-2003 12:27 AM

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

shan 06-09-2003 03:46 AM

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


All times are GMT -8. The time now is 06:41 AM.

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