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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user