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:
3
page.php
3
page.php
@@ -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) : ''
|
||||
);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user