jintoples Posted November 3, 2013 Share Posted November 3, 2013 i try to change my breadcumb them, but i get bug in the last sub category.how i can get in last category to put tag <li><a></a></li>.check my picture in attachment. Link to comment Share on other sites More sharing options...
vekia Posted November 3, 2013 Share Posted November 3, 2013 can you share url to your website and also breadcrumb.tpl file ? Link to comment Share on other sites More sharing options...
jintoples Posted November 4, 2013 Author Share Posted November 4, 2013 i try it in localhost,,,this is my breadcrumb.tpl <!-- Breadcrumb --> {if isset($smarty.capture.path)}{assign var='path' value=$smarty.capture.path}{/if} <div id="breadcrumb"> <ul class="breadcrumb"> <li> <a href="{$base_dir}" title="{l s='return to Home'}">{l s='Home'}</a> {if isset($path) AND $path} <span class="divider" {if isset($category) && $category->id_category == 1}style="display:none;"{/if}>{$navigationPipe|escape:html:'UTF-8'}</span> {/if} </li> <li><a> {if isset($path) AND $path} {if !$path|strpos:'span'} {$path} {else} {$path} {/if} {/if} </a></li> </ul> </div> <!-- /Breadcrumb --> i was try to put tag like : <li><a>{$path}</a></li>still same. Link to comment Share on other sites More sharing options...
Recommended Posts