Replies: 3 comments 6 replies
-
Menus are generated from the pages and thier children |
Beta Was this translation helpful? Give feedback.
-
If you explain what you are trying to accomplish with your module from a functionality perspective it will be easier for community members to offer solutions on how to implement it using Oqtane. |
Beta Was this translation helpful? Give feedback.
-
@kyotr I created a module which implements the IInstallable interface as an example. Basically the concept is that you can create a "migration" module whose responsibility is to configure your site by adding pages, modules, etc... The IInstallable interface is based on versioning... so you can add incremental modifications for each release by incrementing the version number. I used the Module Creator to create the module and then I removed all of the unnecessary code. What I am left with is the following:
The MigrationManager contains the interface implementation. You need to use the ServiceScopeFactory in order to get the services from the DI container.
|
Beta Was this translation helpful? Give feedback.
-
I created new module, but i cant find where and how to add menus in my module ?
Many thanks
Beta Was this translation helpful? Give feedback.
All reactions