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

Adding Images to vert menu header boxes

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-05-2003, 02:53 AM
 
Chill-Tek Chill-Tek is offline
 

Advanced Member
  
Join Date: Jun 2003
Posts: 42
 

Default Adding Images to vert menu header boxes

I want to add images as headers in place of the text in the vertical menu header boxes (Category, Best Sellers, Your Cart, News, Authentication, Help etc). I am using the current version of XCart. Any help greatly appreciated.
Reply With Quote
  #2  
Old 06-05-2003, 04:18 AM
  shan's Avatar 
shan shan is offline
 

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

Default

check, menu.tpl
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 06-05-2003, 07:56 AM
 
Chill-Tek Chill-Tek is offline
 

Advanced Member
  
Join Date: Jun 2003
Posts: 42
 

Default

I know NO PHP at all so please could someone direct me to what part of the code i have to edit. Thanks for the help shan.
Reply With Quote
  #4  
Old 06-18-2003, 10:03 AM
 
Krebs Krebs is offline
 

Newbie
  
Join Date: Jun 2003
Posts: 5
 

Default

I've seen this q asked before with no answer other than what file.

Can someone please elaborate?
__________________
~*~Some days I live online...Some days I just visit~*~
Reply With Quote
  #5  
Old 06-18-2003, 06:00 PM
 
Krebs Krebs is offline
 

Newbie
  
Join Date: Jun 2003
Posts: 5
 

Default

Okies, I've mastered the most part of this. Here is a copy of my menu.tpl if anyone needs something to start with. But, I'll warn you - for some reason some of my menus aren't aligned correctly in the right hand side for some reason - so if anyone can help me with that I'd appreciate it greatly

Also, if you use this menu.tpl for a start, don't forget to go into each .tpl (ex. help.tpl) to change the image for the dingbat to your own and config the size as well if needed. And you may need to go into the home.tpl to change some sizes there if your text overlaps to the edge of your background image.

Code:
<TABLE border=0 cellPadding=0 cellSpacing=0 width="159"> <TR> <TD class=VertMenuTitle height=26>{$link_begin}[img]{$ImagesDir}/{$dingbats}[/img]{$link_end}</TD> {if $link_href} <TD class=VertMenuTitle height=26 width=129 background="{$ImagesDir}/menu_1_b.gif"><font class=VertMenuTitle>{$menu_title}</font></TD> {else} <TD class=VertMenuTitle height=26 width=129 background="{$ImagesDir}/menu_1_b.gif"><font class=VertMenuBoxNewsTitle>{$menu_title}</font></TD> {/if} </TR> <TR> <TD colspan="2" class=VertMenuBox background="{$ImagesDir}/left_nav_bg.gif"> <p style="margin-left: 18; margin-right: 16">{$menu_content} </TD></TR> <TR> <TD colspan="2" class=VertMenuBox background="{$ImagesDir}/index_55.gif" width="159" height="24" border=0></TD></TR> </TABLE>

Hugs*
CallieJo
__________________
~*~Some days I live online...Some days I just visit~*~
Reply With Quote
  #6  
Old 06-19-2003, 09:15 AM
 
Sweetness Sweetness is offline
 

Newbie
  
Join Date: Jun 2003
Posts: 1
 

Default

Anyone have a solution for alignment problems?

Next to each dingbat img there is a large empty space before the headings.
I can't get the dingbat to touch the heading.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:45 AM.

   

 
X-Cart forums © 2001-2020