--- name: orchardcore-admin description: Guidance for working with the Orchard Core admin panel, including admin controllers, menu registration, dashboard widgets, admin theme customization, settings pages, and admin-specific shapes and zones. Use this skill when requests mention Orchard Core Admin Panel, TheAdmin Theme, Admin Controllers, Admin Route URL Generation, Admin Menu Registration, Adding an Icon to an Admin Menu Item, or closely related Orchard Core implementation, setup, extension, or troubleshooting work. Strong matches include work with OrchardCore.Admin, OrchardCore.DisplayManagement.Notify, OrchardCore.Navigation, OrchardCore.Email, OrchardCore.Search, OrchardCore.Users, OrchardCore.Roles, OrchardCore.DisplayManagement.Handlers, OrchardCore.DisplayManagement.Views. It also helps with admin examples, Admin Menu Registration, Adding an Icon to an Admin Menu Item, Menu Grouping and Ordering, plus the code patterns, admin flows, recipe steps, and referenced examples captured in this skill. license: Apache-2.0 metadata: author: CrestApps Team version: "1.0" --- # Orchard Core Admin Panel The Orchard Core admin panel is the back-office interface used for content management, site configuration, and administrative tasks. It is rendered using the **TheAdmin** theme, which provides a dedicated layout, navigation structure, and styling separate from the front-end site. ## TheAdmin Theme TheAdmin is the built-in administration theme that ships with Orchard Core. It defines the admin layout, sidebar navigation, header bar, and all administrative UI chrome. The theme is automatically activated for any request routed through the admin pipeline. Key characteristics: - Provides the `Layout` shape with admin-specific zones such as `Navigation`, `Content`, `Header`, `Footer`, `Messages`, and `DetailAdmin`. - Uses Bootstrap-based styling with Orchard Core admin CSS. - Supports customization through shape overrides, zone manipulation, and theme inheritance. ### The `ocat-*` CSS Class System Admin editor views use static CSS classes prefixed with `ocat-` (Orchard Core Admin Theme) for consistent two-column layout. These classes replaced the former `TheAdminThemeOptions` and `CssOrchardHelperExtensions` (e.g., `@Orchard.GetWrapperClasses()`) which have been removed. **Do NOT apply these classes to frontend-facing views** such as Login, Register, ForgotPassword, or any view rendered by the site theme. They are exclusively for admin (back-end) views. #### Core CSS Classes | Class | Element | Purpose | |-------|---------|---------| | `ocat-wrapper` | `
` | Outer container for a form field row (replaces `mb-3`/`form-group`) | | `ocat-label` | `