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

Breadcrumbs as Images

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-28-2006, 11:12 AM
  dalmuti's Avatar 
dalmuti dalmuti is offline
 

eXpert
  
Join Date: Oct 2004
Location: Kansas
Posts: 343
 

Default Breadcrumbs as Images

Hello,

I would like to change the breadcrumbs from location.tpl file to use background images something like this:

http://www.studio57designs.com/breadcrum.gif

Any ideas?

Thanks,

Louise
__________________
Louise

Studio 57 Designs - X-Cart Customization
Providing X-Cart Services since 2004
Hottest Blog Directory - Submit Your Blog for a Free Listing
Reply With Quote
  #2  
Old 07-28-2006, 01:34 PM
  Zaja's Avatar 
Zaja Zaja is offline
 

X-Adept
  
Join Date: Mar 2004
Location: The Universe is my home
Posts: 420
 

Default

Check this, add breadcrumbsCenter class to css file, create breadcrumbs_left.gif and breadcrumbs_right.gif and replace code in location.tpl with following:
Code:
{if $location} <table cellpadding="0" cellspacing="0"> <tr> {strip} {section name=position loop=$location} <td>[img]{$ImagesDir}/breadcrumbs_left.gif[/img]</td> <td class="breadcrumbsCenter"> {if $location[position].1 ne "" }<a href="{$location[position].1|amp}" class="NavigationPath">{/if} {$location[position].0} {if $location[position].1 ne "" }</a>{/if} {if not %position.last%}{/if} </td> <td>[img]{$ImagesDir}/breadcrumbs_right.gif[/img]</td> {/section} {/strip} </tr> </table> {/if}
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #3  
Old 07-29-2006, 04:58 PM
  dalmuti's Avatar 
dalmuti dalmuti is offline
 

eXpert
  
Join Date: Oct 2004
Location: Kansas
Posts: 343
 

Default breadcrumbs

Thanks for the code...how do I make the last breadcrumb...a different color?

Thanks again,

Louise
__________________
Louise

Studio 57 Designs - X-Cart Customization
Providing X-Cart Services since 2004
Hottest Blog Directory - Submit Your Blog for a Free Listing
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 01:44 PM.

   

 
X-Cart forums © 2001-2020