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