Zen Cart Logo
Forums / Basic Configuration / breadcrumb preamble and seperator

breadcrumb preamble and seperator

Locked

Views: 1,074

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
30 Aug 2009, 2:25 PM
#1
aussiebikes avatar

aussiebikes

New Zenner

Join Date:
Aug 2009
Posts:
6
Plugin Contributions:
0

breadcrumb preamble and seperator

Hi Friends,

Some basic bread crumb questions that I couldnt find any answer to. (Zen Cart v1.3.8)

Q1. Can I add a preamble to the breadcrumb. e.g. I would like to add "You are here: " before the breadcrumb.

Q2. I know where to modify the breadcrumb seperator in the admin panel, but I am unable to add a space in the breadcrumb. so at present I might have something like:
"Home> Bicycles> BMX"
but what I want is
"Home > Bicycles > BMX"
(notice the space between the seperator).
How can I add a space before the > sign?

Thank you for your help.

Daniel

30 Aug 2009, 3:11 PM
#2
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: breadcrumb preamble and seperator

Try addiing   before the > in your admin area for the breadcrumb separator.

Tina

30 Aug 2009, 3:23 PM
#3
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: breadcrumb preamble and seperator

In your template / common folder add the text in red to the tpl_mian_page.php

<!-- bof breadcrumb --> <?php if (DEFINE_BREADCRUMB_STATUS == '1' || (DEFINE_BREADCRUMB_STATUS == '2' && !$this_is_home_page) ) { ?>
<div id="navBreadCrumb">**You Are Here: **<?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
<?php } ?> <!-- eof breadcrumb -->

Tina

31 Aug 2009, 1:24 PM
#4
aussiebikes avatar

aussiebikes

New Zenner

Join Date:
Aug 2009
Posts:
6
Plugin Contributions:
0

Re: breadcrumb preamble and seperator

:clap: Tina, you are a champion! Thank you!