diff --git a/src/addons/blog/pages/entries/entries.html b/src/addons/blog/pages/entries/entries.html index 3e1a1a772..6dd13b87c 100644 --- a/src/addons/blog/pages/entries/entries.html +++ b/src/addons/blog/pages/entries/entries.html @@ -41,7 +41,7 @@ - + diff --git a/src/core/features/siteplugins/classes/handlers/course-option-handler.ts b/src/core/features/siteplugins/classes/handlers/course-option-handler.ts index e3960190d..4f8d04a28 100644 --- a/src/core/features/siteplugins/classes/handlers/course-option-handler.ts +++ b/src/core/features/siteplugins/classes/handlers/course-option-handler.ts @@ -94,7 +94,7 @@ export class CoreSitePluginsCourseOptionHandler extends CoreSitePluginsBaseHandl title: this.title, class: this.handlerSchema.displaydata?.class, icon: this.handlerSchema.displaydata?.icon || '', - page: `siteplugins/${this.plugin.component}/${this.handlerSchema.method}/${hash}`, + page: `siteplugins/content/${this.plugin.component}/${this.handlerSchema.method}/${hash}`, pageParams: { title: this.title, args, diff --git a/src/core/features/siteplugins/classes/handlers/main-menu-handler.ts b/src/core/features/siteplugins/classes/handlers/main-menu-handler.ts index aa118ccda..1d06b9bea 100644 --- a/src/core/features/siteplugins/classes/handlers/main-menu-handler.ts +++ b/src/core/features/siteplugins/classes/handlers/main-menu-handler.ts @@ -47,7 +47,7 @@ export class CoreSitePluginsMainMenuHandler extends CoreSitePluginsBaseHandler i title: this.title, icon: this.handlerSchema.displaydata?.icon || 'fas-question', class: this.handlerSchema.displaydata?.class, - page: `siteplugins/${this.plugin.component}/${this.handlerSchema.method}/0`, + page: `siteplugins/content/${this.plugin.component}/${this.handlerSchema.method}/0`, pageParams: { title: this.title, initResult: this.initResult, diff --git a/src/core/features/siteplugins/classes/handlers/message-output-handler.ts b/src/core/features/siteplugins/classes/handlers/message-output-handler.ts index a67af0f94..07db94336 100644 --- a/src/core/features/siteplugins/classes/handlers/message-output-handler.ts +++ b/src/core/features/siteplugins/classes/handlers/message-output-handler.ts @@ -44,7 +44,7 @@ export class CoreSitePluginsMessageOutputHandler extends CoreSitePluginsBaseHand priority: this.handlerSchema.priority || 0, label: this.title, icon: this.handlerSchema.displaydata?.icon || 'fas-question', - page: `siteplugins/${this.plugin.component}/${this.handlerSchema.method}/0`, + page: `siteplugins/content/${this.plugin.component}/${this.handlerSchema.method}/0`, pageParams: { title: this.title, initResult: this.initResult, diff --git a/src/core/features/siteplugins/classes/handlers/settings-handler.ts b/src/core/features/siteplugins/classes/handlers/settings-handler.ts index 950f00039..8ec559901 100644 --- a/src/core/features/siteplugins/classes/handlers/settings-handler.ts +++ b/src/core/features/siteplugins/classes/handlers/settings-handler.ts @@ -49,7 +49,7 @@ export class CoreSitePluginsSettingsHandler extends CoreSitePluginsBaseHandler i title: this.title, icon: this.handlerSchema.displaydata?.icon, class: this.handlerSchema.displaydata?.class, - page: `siteplugins/${this.plugin.component}/${this.handlerSchema.method}/0`, + page: `siteplugins/content/${this.plugin.component}/${this.handlerSchema.method}/0`, params: { title: this.title, initResult: this.initResult, diff --git a/src/core/features/siteplugins/siteplugins.module.ts b/src/core/features/siteplugins/siteplugins.module.ts index aaf1c573d..61b9c7503 100644 --- a/src/core/features/siteplugins/siteplugins.module.ts +++ b/src/core/features/siteplugins/siteplugins.module.ts @@ -18,6 +18,7 @@ import { Routes } from '@angular/router'; import { CoreCourseIndexRoutingModule } from '@features/course/pages/index/index-routing.module'; import { CoreMainMenuTabRoutingModule } from '@features/mainmenu/mainmenu-tab-routing.module'; import { CoreMainMenuHomeRoutingModule } from '@features/mainmenu/pages/home/home-routing.module'; +import { CoreSitePreferencesRoutingModule } from '@features/settings/pages/site/site-routing'; import { CoreSitePluginsComponentsModule } from './components/components.module'; import { CoreSitePluginsHelper } from './services/siteplugins-helper'; @@ -55,6 +56,7 @@ const moduleRoutes: Routes = [ CoreMainMenuTabRoutingModule.forChild(moduleRoutes.concat(routes)), CoreCourseIndexRoutingModule.forChild({ children: courseIndexRoutes }), CoreMainMenuHomeRoutingModule.forChild({ children: homeRoutes }), + CoreSitePreferencesRoutingModule.forChild(routes), CoreSitePluginsComponentsModule, ], providers: [