orchardcore-widgets

Define and configure Orchard Core widgets across zones and layers.

13|3|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/CrestApps/CrestApps.AgentSkills --skill orchardcore-widgets
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: orchardcore-widgets
Source: https://github.com/CrestApps/CrestApps.AgentSkills/tree/main/src/CrestApps.AgentSkills.Skills/orchardcore/orchardcore-widgets
Command: npx skills add https://github.com/CrestApps/CrestApps.AgentSkills --skill orchardcore-widgets

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Orchard Core projects often require consistent widget definitions, placements, and visibility rules across themes. This skill provides a structured approach to creating widget content types, assigning them to zones, and controlling rendering with layers.

Core Features & Use Cases

  • Define Widget content types with the Widget stereotype and required parts.
  • Configure zones, layers, and LayerRules to govern visibility and placement.
  • Provide migrations, recipes, and templates to accelerate Orchard Core authoring.
  • Real-world scenarios include building a header hero widget, side-panel widgets, and footer widgets with layer-based visibility.

Quick Start

Create a new widget content type named HeroBanner, assign it to the Header zone, and enable an Always layer to ensure it is visible by default.

Frequently Asked Questions about orchardcore-widgets

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create and assign Orchard Core widgets to specific layout zones?

To create Orchard Core widgets, you define a content type with the Widget stereotype, assign required parts, and map it to a specific layout zone. This process enables dynamic page rendering by controlling exactly where the widget appears within your theme.

How do layer rules work for controlling widget visibility in Orchard Core?

Layer rules in Orchard Core govern widget visibility by evaluating conditions to determine when a widget renders. You configure LayerRules to ensure widgets appear only on specific pages or under certain conditions, such as an Always layer for default visibility.

What is the best way to manage content templates and FlowPart integration for Orchard Core widgets?

Managing content templates and FlowPart integration involves configuring widget content types to support structured content layouts. This approach allows you to build complex, nested page sections like side-panels and footer widgets with precise placement control.

Can I use this approach to build a header hero widget that displays by default across my Orchard Core theme?

Yes, you can build a header hero widget by creating a HeroBanner content type, assigning it to the Header zone, and enabling an Always layer. This ensures the widget is visible by default across your Orchard Core project.

Do I need migrations and recipes to define widget content types in Orchard Core?

Using migrations and recipes accelerates Orchard Core widget authoring by programmatically defining content types, parts, and layer rules. This structured approach ensures consistent widget definitions and placements across different environments and themes.

Why are my Orchard Core widgets not appearing in the expected layout zones?

Widgets may not appear in expected layout zones if the layer rules are misconfigured or the widget lacks the proper stereotype assignment. You must verify that the content type has the Widget stereotype and that the layer conditions match the target page context.