Orchard examples

This list helps to find where to look if you need an example of something in Orchard, so you can look at it when you need to roll out your own similar solution. This is a selection only, not a full list (e.g. many modules contain content parts).

Project links are only included if the module/theme is not bundled with the Orchard source (then the links point to the source file with the example, when applicable). The Training Demo module is not linked every time, it's under its own repository.

Modules

  • Content item management:
    • Content field: Training Demo
    • Content manager usage from code: Orchard.Core.Contents (/Controllers), Training Demo
    • Content part: Training Demo
    • Content type migration: Orchard.Pages, Training Demo
    • Content type/content part settings: Orchard.Core.Common (/Settings)
    • Editor groups (with site settings): Combinator (metadata in handler, grouping in driver)
  • Events: Training Demo
  • File handling: Orchard.Media, Training Demo
  • Permissions:
    • Static: Orchard.Comments, Training Demo
    • Dynamic: Orchard.Core.Contents (DynamicPermissions)
  • Projector providers:
    • Filter: Orchard.Projections, Helpful Extensions
    • Layout: Orchard.Projections
    • Sort criteria: Orchard.Projections
  • Records (low-level database access): Training Demo
  • Resources (static resources: css, js files, resource manifests and resource inclusions): Orchard.jQuery, Training Demo
  • Search services from code: Associativy Core (also see NodeIndexingService)
  • Site settings: SH.GoogleAnalytics, Training Demo. With new menu item under Settings: Orchard.Comments, Orchard.Users.
  • Token provider: Training Demo, Orchard.Tokens, Helpful Extensions
  • Unit tests: Training Demo, Orchard.Tests.Modules.Tags
  • Using the Content Picker popup for custom content item selection: Orchard Scripting Extensions
  • Using symmetric encryption: External Pages (look for SetPasswordEncrypted() and GetDecodedPassword())
  • Workflows Activity: Training Demo

This page is part of the Orchard Dojo Library!

This page and many others here are part of the open-source, portable package of Orchard 1.x goodies: the Orchard Dojo Library for Orchard 1.x. The Library is freely accessible by anyone; just go to its repository to download its full content (you can even download the textual content of the Library as a big concatenated document in HTML), file issues or fork it! You can even edit it online on Bitbucket, just click on the Edit link in the upper right corner!

Note that the Library also has an Orchard Core version, check it out here!