?
Duplicate of # 7839
avatar lcdservices
lcdservices
3 Oct 2015

To reproduce:

  • create a menu item of type text separator
  • create a menu item of type article (or something else) and set the text separator as parent
  • navigate to the article menu item (child)
  • observe the breadcrumbs

The breadcrumbs will be constructed like:
Home > > Child

The text separator text is ignored, but space for it is left in the breadcrumbs. I believe the text separator menu item should be displayed, but not linkable. It's not uncommon to use those for first level drop down menus where you don't want the menu item itself to be a link.

avatar lcdservices lcdservices - open - 3 Oct 2015
avatar MAT978
MAT978 - comment - 4 Oct 2015

Could you check if the PR #7839 solve the problem?
Thanks

avatar rgblogs
rgblogs - comment - 4 Oct 2015

This has been now solved. I am also waiting for 3.4.5 version.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8011.

avatar infograf768
infograf768 - comment - 4 Oct 2015

For those that can't wait for 3.4.5 release, the correction is simple, add echo before $item->name

diff --git a/modules/mod_breadcrumbs/tmpl/default.php b/modules/mod_breadcrumbs/tmpl/default.php
index b383a6f..cfb5514 100644
--- a/modules/mod_breadcrumbs/tmpl/default.php
+++ b/modules/mod_breadcrumbs/tmpl/default.php
@@ -55,7 +55,7 @@
                    </a>
                <?php else : ?>
                    <span itemprop="name">
-                       <?php $item->name; ?>
+                       <?php echo $item->name; ?>
                    </span>
                <?php endif; ?>
avatar zero24 zero24 - change - 5 Oct 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-10-05 10:49:03
Closed_By zero24
Rel_Number 7839
Relation Type Duplicate of
avatar zero24
zero24 - comment - 5 Oct 2015

Set to "closed" on behalf of @zero24 by The JTracker Application at issues.joomla.org/joomla-cms/8011

avatar joomla-cms-bot joomla-cms-bot - close - 5 Oct 2015
avatar zero-24 zero-24 - close - 5 Oct 2015
avatar joomla-cms-bot joomla-cms-bot - close - 5 Oct 2015
avatar zero24 zero24 - change - 5 Oct 2015
Category Front End
avatar zero-24 zero-24 - change - 5 Oct 2015
Labels Added: ?
avatar blizam
blizam - comment - 5 Dec 2015

This code was not added to 3.4.5?


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8011.

avatar mbabker
mbabker - comment - 5 Dec 2015

RE: 3.4.5 release

This release only contains the security fixes; no other changes have been made compared to the Joomla 3.4.4 release.

https://www.joomla.org/announcements/release-news/5634-joomla-3-4-5-released.html

Add a Comment

Login with GitHub to post a comment