Reversing the word order of breadcrumbs

  1. Open the breadcrumbs.tpl file located in the skins/[CUSTOMER_ACTIVE_SKIN]/customer/common_templates directory of your CS-Cart installation.
  2. Replace all its code with this one:
    {* $Id: breadcrumbs.tpl 3749 2007-08-27 11:58:55Z zeke $ *}
    {if $breadcrumbs && $breadcrumbs|@sizeof > 1}
        {if $text}
            <div class="breadcrumbs-text">{$lang.you_are_here}:</div>
        {/if}
    <div class="{$bc_class}">
        {strip}
        {if $hide_home != 'Y'}<a href="{$index_script}"><img src="{$images_dir}/top_icon_home.gif" width="13" height="9" border="0" alt="" /></a>{/if}
        {section loop=$breadcrumbs name="bc" step=-1}
        {if !$smarty.section.bc.first}<img src="{$images_dir}/{$bc_image}" border="0" alt="" class="{$arrow_class}" />{/if}
        {if $breadcrumbs[bc].link}
        <a href="{$breadcrumbs[bc].link}" class="{$bc_link}{if $additional_class} {$additional_class}{/if}">{$breadcrumbs[bc].title|escape:html}</a>
        {else}
            {$breadcrumbs[bc].title|escape:html}&nbsp;&nbsp;
        {/if}
        {/section}{/strip}</div>
    {/if}
  3. Save the file.

Noticed an error in the article or it is not clear enough? Any suggestions to improve it? Please let us know by filling in the feedback form. Click here.