OrchardCMS / Orchard

Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
https://orchardproject.net
BSD 3-Clause "New" or "Revised" License
2.38k stars 1.12k forks source link

Reusing Contents/AdminController #2825

Open orchardbot opened 12 years ago

orchardbot commented 12 years ago

@sfmskywalker created: https://orchard.codeplex.com/workitem/18998

This is a feature request regarding making the AdminConroller of the Contents module reusable, for example by the Blogs module & Widgets module.

The goal would be twofold:

  1. Preventing (almost) duplicate code in the non-core modules
  2. Injecting custom actions to be taken when a custom button submits the form. E.g. Preview button.

The Page module is currently the only module that takes advantage of the AdminController of Contents. The same could be done for other modules. Current list of these modules include:

  1. Blogs
  2. Widgets
  3. Taxonomies
orchardbot commented 11 years ago

@Piedone commented:

The same could be for frontend controllers. Related: https://orchard.codeplex.com/workitem/18897

orchardbot commented 10 years ago

@Piedone commented:

Recently we talked about this and the main idea was to use Projector in the backend too. This would enable many usage scenarios, including ridiculously customizable listings, containing reusable components.

orchardbot commented 10 years ago

@Piedone commented:

Related: https://orchard.codeplex.com/workitem/20422

Piedone commented 9 years ago

Let's try #4251 first and see what it gives. @sfmskywalker