diff --git a/Admin/Install/Media.install.json b/Admin/Install/Media.install.json index 124191e..e4e3e35 100644 --- a/Admin/Install/Media.install.json +++ b/Admin/Install/Media.install.json @@ -11,7 +11,7 @@ "create_collection": false, "name": "Default Profile Image", "virtualPath": "/Modules/Profile", - "path": "/Modules/Media/Files/Modules/Profile", + "path": "/Modules/Profile", "files": [ "/Modules/Profile/Admin/Install/Media/default_profile.png" ], diff --git a/Admin/Settings/Theme/Backend/settings.tpl.php b/Admin/Settings/Theme/Backend/settings.tpl.php new file mode 100644 index 0000000..bf33e68 --- /dev/null +++ b/Admin/Settings/Theme/Backend/settings.tpl.php @@ -0,0 +1,18 @@ +getData('nav')->render(); +?> + +Settings \ No newline at end of file diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 2416b4e..db1cfb7 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -190,10 +190,10 @@ final class BackendController extends Controller * * @since 1.0.0 */ - public function viewProfileAdminSettings(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : RenderableInterface + public function viewModuleSettings(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : RenderableInterface { $view = new View($this->app->l11nManager, $request, $response); - $view->setTemplate('/Modules/Profile/Theme/Backend/modules-settings'); + $view->setTemplate('/Modules/' . static::NAME . '/Admin/Settings/Theme/Backend/settings'); $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1000300000, $request, $response)); return $view; diff --git a/Theme/Backend/profile-single.tpl.php b/Theme/Backend/profile-single.tpl.php index 4dffd33..e48460b 100755 --- a/Theme/Backend/profile-single.tpl.php +++ b/Theme/Backend/profile-single.tpl.php @@ -195,13 +195,13 @@ echo $this->getData('nav')->render();