1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 11:36:08 +02:00

Custom Page fixes and page breadcrumbs

This commit is contained in:
Cameron
2014-06-13 19:00:51 -07:00
parent 791608f0d7
commit 31e29bb892
5 changed files with 97 additions and 19 deletions

View File

@@ -106,15 +106,18 @@ $CHAPTER_TEMPLATE['nav']['listPages'] = $CHAPTER_TEMPLATE['nav']['listChapters']
$CHAPTER_TEMPLATE['nav']['showPage'] = $CHAPTER_TEMPLATE['nav']['listChapters'];
// Used by e107_plugins/page/chapter_menu.php
// Used by e107_plugins/page/chapter_menu.php & /page.php?bk=x
$CHAPTER_TEMPLATE['panel']['listChapters']['caption'] = "{BOOK_NAME}";
$CHAPTER_TEMPLATE['panel']['listChapters']['start'] = "<div class='chapter-panel-list'>";
$CHAPTER_TEMPLATE['panel']['listChapters']['item'] = "<h1><a href='{CHAPTER_URL}' >{CHAPTER_ICON}</a></h1><br /><p>{CHAPTER_DESCRIPTION}</p><p>{CHAPTER_BUTTON}</p>";
$CHAPTER_TEMPLATE['panel']['listChapters']['item'] = "<div class='col-xs-12 col-md-4 text-center'>
<h2>{CHAPTER_NAME}</h2>
<h1><a href='{CHAPTER_URL}' >{CHAPTER_ICON}</a></h1><p>{CHAPTER_DESCRIPTION}</p><p>{CHAPTER_BUTTON}</p></div>";
$CHAPTER_TEMPLATE['panel']['listChapters']['end'] = "</div>";
$CHAPTER_TEMPLATE['panel']['listPages']['caption'] = "{CHAPTER_NAME}";
$CHAPTER_TEMPLATE['panel']['listPages']['start'] = "<div class='chapter-pages-list'>";
$CHAPTER_TEMPLATE['panel']['listPages']['item'] = "{SETSTYLE=none}<div class='section'><div class='row'>{CPAGEMENU}</div></div>";
$CHAPTER_TEMPLATE['panel']['listPages']['start'] = "{CHAPTER_BREADCRUMB}<div class='chapter-pages-list'>";
$CHAPTER_TEMPLATE['panel']['listPages']['item'] = "<div class='section'><div class='row'>{CPAGEMENU}</div></div>";
$CHAPTER_TEMPLATE['panel']['listPages']['end'] = "</div>";
?>