1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 15:46:44 +02:00

Additional {NAVIGATION} shortcode parms. eg. {NAVIGATION: type=main&layout=footer&flat=1&noempty=1} will flatten sublinks and remove links with no URL or '#'. Dynamic sublinks (functions) currently not supported.

This commit is contained in:
Cameron
2017-11-01 12:36:32 -07:00
parent 19b6254943
commit 056cb08fa8
2 changed files with 26 additions and 4 deletions

View File

@@ -44,8 +44,7 @@
$nav = e107::getNav();
$template = e107::getCoreTemplate('navigation', $tmpl);
$data = $nav->initData($category);
// $data = $nav->collection($category);
$data = $nav->initData($category,$parm);
return $nav->render($data, $template);