OrchardCMS / OrchardCore

Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
https://orchardcore.net
BSD 3-Clause "New" or "Revised" License
7.43k stars 2.4k forks source link

Create recipe with common widgets #9111

Open sebastienros opened 3 years ago

sebastienros commented 3 years ago

The blog theme recipe creates a few useful widgets like Paragraph, Image, HtmlContent, ... Maybe we could create a dedicated admin recipe (not a setup one) that contains these, and allow any site to create them? Could also be a feature, which itself has different startup classes dependent on other features to create the widget, since some parts might only be available with some specific features.

jptissot commented 3 years ago

We did something similar to this here: https://github.com/StatCan/StatCan.OrchardCore/tree/master/src/Modules/StatCan.OrchardCore.CommonTypes

Piedone commented 3 years ago

Same :D https://github.com/Lombiq/Helpful-Extensions#helpful-widgets I think these are better suited to be in migrations, not recipes, since updates are cleaner.