1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Fixes #594 - cpage_shortcodes notice. Also resolves long-standing conflict between page.php and other scripts using the same cpage shortcodes. These changes will require much testing. Added new chapter menu. (useful for menus on the Home page that link to chapters)

This commit is contained in:
Cameron
2014-06-13 03:39:41 -07:00
parent c3f986b77c
commit 8bb72d1d4c
6 changed files with 231 additions and 105 deletions

View File

@@ -432,7 +432,7 @@ class e_menu
{
$template = e107::getCoreTemplate('menu',$page['menu_template']);
$page_shortcodes = e107::getScBatch('page',null,'cpage');
$page_shortcodes->page = $page;
$page_shortcodes->setVars($page);
$head = $tp->parseTemplate($template['start'], true);
$foot = $tp->parseTemplate($template['end'], true);