e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
321 stars 213 forks source link

breadcrumbs - problem with pages #3894

Closed Jimmi08 closed 5 years ago

Jimmi08 commented 5 years ago

Reported by user with standard page template (no chapter, single page) Template without breadcrumb shortcode outputs:

<ul class="breadcrumb">
<li class="breadcrumb-item"><a href="/"><i class="fa fa-home"><!-- --></i></a></li>
</ul>

In my case, only {CHAPTER_BREADCRUMB} is used.

Now confirmed with magic shortcode For single page, output is only

<ul class="breadcrumb">
<li class="breadcrumb-item"><a href="/"><i class="fa fa-home"><!-- --></i></a></li>
</ul>

For page with chapter, page breadcrumbs and magic breadcrumbs are correct.

CaMer0n commented 5 years ago

This has been corrected to it's previous output which is null when no chapter is in use. However, the magic shortcode is a "universal breadcrumb" and the output should be:

<ul class="breadcrumb">
<li class="breadcrumb-item"><a href='/e107v2/'><i class='fa fa-home' ><!-- --></i></a></li>
<li class='breadcrumb-item'>My Page Title</li>
</ul>