From 2cd126e68a78bf7e15c7e3d5fce2ace85445b62d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabri=C3=A9l=20Ardean?= Date: Thu, 6 Jul 2023 14:53:02 +0200 Subject: [PATCH 1/2] Added an option for the menu to add multiple additional URIs --- src/views/dynamic-menu/index.php | 6 + src/views/dynamic-menu/index2.php | 461 +++++++++----------------- src/views/dynamic-menu/index3.php | 529 ++++++++++++++++++++---------- src/views/dynamic-menu/index4.php | 211 ++++++++++++ src/widgets/DynamicMenuWidget.php | 27 +- 5 files changed, 725 insertions(+), 509 deletions(-) create mode 100755 src/views/dynamic-menu/index4.php diff --git a/src/views/dynamic-menu/index.php b/src/views/dynamic-menu/index.php index fd6c4c1..83b7524 100755 --- a/src/views/dynamic-menu/index.php +++ b/src/views/dynamic-menu/index.php @@ -98,6 +98,12 @@ +
+ +
+ +
+
diff --git a/src/views/dynamic-menu/index2.php b/src/views/dynamic-menu/index2.php index 9471e16..fd6c4c1 100755 --- a/src/views/dynamic-menu/index2.php +++ b/src/views/dynamic-menu/index2.php @@ -1,183 +1,83 @@ title = 'Dynamic Menu Creator'; $this->params['breadcrumbs'][] = ['label' => 'Dynamic Menu', 'url' => ['index']]; $this->params['breadcrumbs'][] = 'Creator'; + esempla\dynamicmenu\DynamicMenuAsset::register(Yii::$app->view); -//get system roles -$roles = Yii::$app->authManager->getRoles(); -?> -
-

System Sidebar Builder

-
-
- -
-
-
-