문제

Is there a template that can be used to develop custom Piranha CMS modules? If it's possible is there a way to integrate the module with the CMS?

도움이 되었습니까?

해결책

The current version of Piranha CMS doesn't contain a module features with Init, Install and so on. Building a module in the current version is more or packaging everything into a dll and using WebActivatorEx together with the framework hooks to register your code.

You can for example take a look at the localization module and how it registers its events.

https://github.com/PiranhaCMS/Piranha.Localization

Use this as a reference and then just submit issues/feature requests on what support you would need for your module at the GitHub repo!

Regards

Håkan


UPDATE

This answer is over four years old and the link points to an example project that doesn't exist anymore for the old legacy version of Piranha CMS. The example was created for someone else to take over, but after three years without activity we decided to delete it.

If you are in fact interested in module development for the new .NET Core version of Piranha CMS this information will be available in the official documentation.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top