1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 21:02:09 +02:00

Display chapter breadcrumb in default page template when appropriate.

This commit is contained in:
Cameron
2015-01-10 16:13:32 -08:00
parent cc0c2dde8d
commit 3237417b85
3 changed files with 4 additions and 3 deletions

View File

@@ -34,6 +34,7 @@ if(!e_QUERY)
{
$ns->tablerender($tmp['title'], $text, 'cpage-full-list');
}*/
require_once(FOOTERF);
exit;
}
@@ -461,7 +462,7 @@ class pageClass
'CHAPTER_ANCHOR' => $frm->name2id($row['chapter_name']),
'CHAPTER_ICON' => $this->chapterIcon($row['chapter_icon']),
'CHAPTER_DESCRIPTION' => $tp->toHtml($row['chapter_meta_description'], true,'BODY'),
'CHAPTER_BREADCRUMB' => $frm->breadcrumb($bread)
'CHAPTER_BREADCRUMB' => !empty($_GET['ch']) ? $frm->breadcrumb($bread) : ''
);