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

Changing menu catagories

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-10-2006, 02:49 AM
 
mfcopier mfcopier is offline
 

Senior Member
  
Join Date: Nov 2002
Posts: 172
 

Default Changing menu catagories

How do you change the menu catagories to images instead of txt

Thanks
__________________
www.inkjetcartridgesuk.com

X-Cart version 4.0.11
PHP 4.3.10
MySQL server 3.23.58
MySQL client 3.23.49
Web server Apache/1.3.27 (Unix) PHP/4.3.10
Reply With Quote
  #2  
Old 05-10-2006, 03:57 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

To the category images or other images?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 05-10-2006, 06:00 AM
 
mfcopier mfcopier is offline
 

Senior Member
  
Join Date: Nov 2002
Posts: 172
 

Default

sorry the menu have images not txt
__________________
www.inkjetcartridgesuk.com

X-Cart version 4.0.11
PHP 4.3.10
MySQL server 3.23.58
MySQL client 3.23.49
Web server Apache/1.3.27 (Unix) PHP/4.3.10
Reply With Quote
  #4  
Old 05-10-2006, 06:02 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Yes, but WHAT images do you want to show in the menu? The category images that you upload via admin, or other images?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 05-10-2006, 06:09 AM
 
mfcopier mfcopier is offline
 

Senior Member
  
Join Date: Nov 2002
Posts: 172
 

Default

well the images can be uploaded to the image folder in skin1 then pulled on my site l want the text say "Epson ink cartridges" put on a plain button.

Thanks
__________________
www.inkjetcartridgesuk.com

X-Cart version 4.0.11
PHP 4.3.10
MySQL server 3.23.58
MySQL client 3.23.49
Web server Apache/1.3.27 (Unix) PHP/4.3.10
Reply With Quote
  #6  
Old 05-10-2006, 06:11 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

You could just use CSS to put a background image behind the existing menu text...will be a lot easier. Have a look at the way button.tpl is set up.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 05-10-2006, 06:18 AM
 
mfcopier mfcopier is offline
 

Senior Member
  
Join Date: Nov 2002
Posts: 172
 

Default

will this put a background behind all the text
__________________
www.inkjetcartridgesuk.com

X-Cart version 4.0.11
PHP 4.3.10
MySQL server 3.23.58
MySQL client 3.23.49
Web server Apache/1.3.27 (Unix) PHP/4.3.10
Reply With Quote
  #8  
Old 05-10-2006, 06:20 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

No, you can get a default image behind each of the pieces of text, like a blank button.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 05-10-2006, 06:23 AM
 
mfcopier mfcopier is offline
 

Senior Member
  
Join Date: Nov 2002
Posts: 172
 

Default

sorry to be thick but l cant make head nor tail of this

{* $Id: button.tpl,v 1.16.2.1 2004/11/01 07:33:15 max Exp $ *}
{if $config.Adaptives.platform eq 'MacPPC' && $config.Adaptives.browser eq 'NN'}{assign var="js_to_href" value="Y"}{/if}
{if $type eq 'input'}{assign var="img_type" value='INPUT type="image"'}{else}{assign var="img_type" value='IMG'}{/if}
{assign var="js_link" value=$href|regex_replace:"/^\s*javascript\s*:/Si":""}
{if $js_link eq $href}{assign var="js_link" value="javascript: self.location='`$href`'"}
{else}{assign var="js_link" value=$href}{if $js_to_href ne 'Y'}{assign var="onclick" value=$href}{assign var="href" value="javascript: void(0);"}{/if}{/if}
{if $style eq 'button' && ($config.Adaptives.platform ne 'MacPPC' || $config.Adaptives.browser ne 'NN')}
<TABLE border="0" cellspacing="0" cellpadding="0" onclick="{$js_link}" style="cursor: pointer;" valign="middle"{if $title ne ''} title="{$title}"{/if}>
<TR><TD><{$img_type} src="{$ImagesDir}/but1.gif" width="7" height="14" border="0"{if $title ne ''} title="{$title}"{/if}></TD>
<TD class="Button" valign="middle" nowrap><FONT class="Button">{$button_title}</FONT></TD>
<TD>[img]{$ImagesDir}/but2.gif[/img]</TD></TR>
</TABLE>
{else}
<FONT class="FormButton">{$button_title} <{$img_type} {include file="buttons/go_image.tpl" full_url='Y'}></FONT>
{/if}
__________________
www.inkjetcartridgesuk.com

X-Cart version 4.0.11
PHP 4.3.10
MySQL server 3.23.58
MySQL client 3.23.49
Web server Apache/1.3.27 (Unix) PHP/4.3.10
Reply With Quote
  #10  
Old 05-12-2006, 06:19 AM
 
Grant Grant is offline
 

Senior Member
  
Join Date: Apr 2006
Posts: 171
 

Default

I would be very interested in seeing how this is done also. It seems like such an obvious thing but as i'm learning fast - nothing in x-cart is obvious!
__________________
X-Cart version : 4.0.18
Mod : Customer Also Bought
Mod : Custom catergory Templates
Mod : Custon Product Templates
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:18 PM.

   

 
X-Cart forums © 2001-2020