Contents with the Content part Tag Node
-
Google Service improvements, Lombiq Content Editors for Orchard Core - This week in Orchard (07/07/2023)
Admin UI, Announcement, This week in Orchard, Content partFix Google Service dependencies and include Google Analytics and Tag Manager when the user consents. This week's demo is about the new Lombiq Content Editors for the Orchard Core module! Check out our post for the details!
-
Add AlterAsync for a named part, Transliteration Feature - This week in Orchard (14/04/2023)
Localization, Documentation, This week in Orchard, Content partAdd
AlterAsync
for a named part, updating documentation to use Program.cs instead of Startup.cs, and a demo about the Transliteration Feature! Check out our post for the details! -
Add new permission to allow editing content owner, add new GetAsync extension - This week in Orchard (17/03/2023)
Documentation, This week in Orchard, Content part, WorkflowsUpdating Workflows documentation, adding new permission to allow editing content owner, and adding new
GetAsync
extension. Interested in the details? Well, then check out our post for the details! -
Improved Feature Profiles feature, self-service tenant registration - This week in Orchard (03/03/2023)
Admin UI, Multi-tenancy, Placement, Documentation, This week in Orchard, Content part, ThemeAdd placement example for dynamic parts, responsive Admin Theme, improve the Feature Profiles feature, and a demo about self-service tenant registration! Check out our post for the details!
-
Add a way to retrieve a UTC now DateTime in Liquid, Responsive Admin Theme - This week in Orchard (04/11/2022)
Admin UI, Navigation, This week in Orchard, Content field, Content part, LiquidAdd a way to retrieve a UTC now DateTime in Liquid, change the Query Schema editor to Monaco Editor, allowing multiple
INavigationManager
, and a demo about the responsive Admin Theme! Let's get started! -
Extend user permissions, add Contained Stereotypes Bag Part Settings - This week in Orchard (30/09/2022)
Admin UI, Permissions, This week in Orchard, Content part, Role, Permission, WidgetAdd Contained Stereotypes Bag Part Settings to allow a user to include content types by stereotype, add Displayed Stereotypes property to Content Picker Field Settings, demo about extending the user permissions, and many more waiting for you in our current post!
-
Preserve browser Autofill for Bag, Flow, and WidgetList Parts, Lombiq UI Testing Toolbox - This week in Orchard (06/10/2021)
This week in Orchard, Content part, Flow PartPreserve browser Autofill for Bag, Flow, and WidgetList Parts, remove unnecessary role attributes, Lombiq UI Testing Toolbox demo, and many more coming this week! Do you want to know more? Then don't forget to check out our current post!
-
Migrate INotifier to support async implementations, Lombiq Hosting - Tenants - This week in Orchard (28/09/2021)
Multi-tenancy, Content model, This week in Orchard, Content partMigrate INotifier to support async implementations, messaging when getting Part InvalidCastException, Lombiq Hosting - Tenants demo, and many more coming this week! Do you want to know more? Then don't forget to check out our current post!
-
New Content-Language HTTP header feature, LINQ to DB - This week in Orchard (21/09/2021)
This week in Orchard, Content partAdd Content-Language HTTP header feature, new Health Check option, LINQ to DB demo, and many more coming this week! Do you want to know more? Then don't forget to check out our current post!
-
Rules module, Html Menu Item - This week in Orchard (21/03/2021)
This week in Orchard, Content part, Theme, Resource manifestThis time you can read about the new Html Menu Item content type, you could see how to use the new Rules module, and can watch a recording about a new Orchard Core theme! Check out our post for more!
-
Why is my content part not recognized in Orchard Core? - Orchard Nuggets
Orchard Nuggets, Content field, Content partYou have implemented your
MyAwesomePart
but you cannot attach it to your content type using the dashboard because it's not showing in the Content Parts list (Content -> Content Definition -> Content Parts)?
The most possible reason for this that you haven't registered your implementation in the service container. To register your class in the service container head to the Startup.cs file of your module and in theConfigureServices
method add the following line:services.AddSingleton<ContentPart, MyAwesomePart>();
But if you are using the RC1 version of Orchard Core or newer you can use theAddContentPart
extension method, where you just only need to provide your content part:services.AddContentPart<MyAwesomePart>();
. TheAddContentPart
and theAddContentField
(that you can use to register your fields) can be found in the OrchardCore.ContentManagement namespace.
Another recommendation is to use the Part suffix when naming your class or cs file that contains your custom part. Don't forget to put it in a Models folder to follow the recommendation of the MVC (model-view-controller) software design pattern.
For more information about registering your Part check out the Startup.cs file of our Orchard Core Training Demo module, where we registered thePersonPart
in the service container. We also mentioned the new way of registering ContentParts and ContentFields in this post of our This week in Orchard series. -
Diving into the Orchard API - Dojo Course
Tutorial, Dojo Course, Authorization, LazyField, Permissions, Content management, Content part, Module, Resource manifest, ShapeUPDATE (2017-11-22): Dojo Course 2 is released with new, updated videos!
-
Content Part development continued - Dojo Course
Tutorial, Dojo Course, Content part, Module, ShapeUPDATE (2017-11-22): Dojo Course 2 is released with new, updated videos!
-
Forum favourites: records, database indices and about the necessity of drivers
Community resource, Development, Forum favourites, Content partForum topics from the Orchard discussion board that we found interesting:
- "Record persisting advices": checklist if you want to store something in a low-level (non-content part) record
- "Adding empty part to type fails": always create a driver for your part
- "Records only in Models namespace: good?": remember to put your records under the Models namespace
- "Indices with SchemaBuilder": you can add database indices from migrations, but only from AlterTable