Jump to content

Insert some Texts in the breadcrumb


Recommended Posts

I try to insert some texts or info after the breadcrumb.  Please help.  PS: 1.4.6.2

 

Original breadcrum tpl

<!-- Breadcrumb -->
{if isset($smarty.capture.path)}{assign var='path' value=$smarty.capture.path}{/if}
<div class="breadcrumb">
	<a href="{$base_dir}" title="{l s='return to'} {l s='Home'}">{l s='Home'}</a>{if isset($path) AND $path}<span class="navigation-pipe">{$navigationPipe|escape:html:'UTF-8'}</span>{if !$path|strpos:'span'}<span class="navigation_page">{$path}</span>{else}{$path}{/if}{/if}
</div>
<!-- /Breadcrumb -->

Can I insert some texts or info like below? Please give me the advices.  Thanks in advance.

<!-- Breadcrumb -->
{if isset($smarty.capture.path)}{assign var='path' value=$smarty.capture.path}{/if}
<div class="breadcrumb">
	<a href="{$base_dir}" title="{l s='return to'} {l s='Home'}">{l s='Home'}</a>{if isset($path) AND $path}<span class="navigation-pipe">{$navigationPipe|escape:html:'UTF-8'}</span>{if !$path|strpos:'span'}<span class="navigation_page">{$path}</span>{else}{$path}{/if}{/if}
<p>{l s='Some texts or info here?'}</p>
</div>
<!-- /Breadcrumb -->

post-321844-0-88217300-1410687774_thumb.jpg

Edited by phuongvyhanghieu (see edit history)
Link to comment
Share on other sites

Hi Vekia,

 

Thank you very much for your quick response.  I used the above code and the texts and info go to another line, not the same line with breadcrum.  Therefore, I tried to use the below code, the text and info is the same line with breadcrum.

<!-- Breadcrumb -->
{if isset($smarty.capture.path)}{assign var='path' value=$smarty.capture.path}{/if}
<div class="breadcrumb">
	<a href="{$base_dir}" title="{l s='return to'} {l s='Home'}">{l s='Home'}</a>{if isset($path) AND $path}<span class="navigation-pipe">{$navigationPipe|escape:html:'UTF-8'}</span>{if !$path|strpos:'span'}<span class="navigation_page">{$path}</span>{else}{$path}{/if}{/if}
<span class="navigation-pipe">{l s='Some texts or info here?'}</span>
</div>
<!-- /Breadcrumb -->

The problems: the text fonts are smaller than the breadcrum fonts and the space between the breadcrum and the texts are so narrow.  I would like the text fonts are larger and wider space between breadcrum and the text fonts.  Please give me the right instructions so I can use a proper way.  Hopefully you can help me that.  Thank you very much in advance.  Please see the attached files

 

Phuongvyhanghieu

post-321844-0-91615600-1410736491_thumb.jpg

post-321844-0-90332700-1410736492_thumb.jpg

Edited by phuongvyhanghieu (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...