Contents tagged with Module

  • Writing an Orchard Owin middleware

    So you heard about how fancy Owin is, with all of its loosely-coupled thingies? Well, it's now in Orchard: as you may have heard on this week's Community Meeting, you can now write Owin Middlewares in the Orchard-y way. Let's see how!

  • How To Write A Custom Workflow Activity In Orchard CMS

    Today I will show you how the powerful Orchard CMS Workflow module can be extended by a custom activity. In my case I need an activity which creates a new BlogPost for me.

  • 5 must-have addon modules

    Here is a list of some useful Orchard CMS modules, not part of the core Orchard CMS installation that I use every day.

  • Developing with Advanced Sitemap in your Orchard site

    Advanced Sitemap is currently the only module to provide extensions points for developers who are doing a lot of custom development on their site. The basic use case of a module like this is very straightforward: take all of the content items and list out all of their urls in some sensible way. But what if you have routes that don't necessarily align with urls set in your content items? Entering custom routes in the admin can suffice if there aren't too many, but if you use a lot of custom routing in your MVC controllers, it would be nice to have these urls reflected accurately in the sitemap.

  • Messaging Channels Rules And Tokens

    In this series we will be implementing a custom module to see what it takes to implement a Templated Messaging System that leverages not only basic Orchard stuff, but also more advanced APIs such as Rules, Tokens, Messaging, Channels, Site settings and Content Type/Part settings.

    This module will enable our users to do the following:

    • Create and manage Messaging Templates (which will typically be used for email messages) using parser engine specific syntax (which will be Razor by default);
    • Setup Rules that sends a templated message when one or more events occur;
    • Use Tokens in the Subject field as well in a field that is part of the SendTemplatedMessage action;
    • Configure which parser engine to use by default using site scope settings and content type scope settings.

    At the end of this tutorial we will not only have a useful module, we will have learned how we can wire things together with the Rules and Tokens modules and have a better understanding of how they work and can be leveraged in other modules.

    In this first part, we will start simple by creating the module and implementing a basic Template Management System. We will:

    • Define a MessageTemplatePart that stores information about a template, such as the template text itself;
    • Define an EmailTemplate content type that uses the MessageTemplatePart;
    • Implement an IMessageTemplateService that helps with quering templates.
    • Learn how to implement import/export for custom parts that reference other content items using the ImportContentContext.GetItemFromSession method.
  • Developer Cheat Sheet Updated

    Sébastien's very handy cheat sheet for orchard module and theme developers and designers has been updated. It's an invaluable resource for all of us.

  • Writing An Unthemed View While Still Using Shapes And Helpers

    This quick tip will show how you can write a custom view for a custom controller action in Orchard that does not use the current theme, but that still retains the ability to use shapes, as well as zones, Script and Style helpers.

  • Reporting Live From Orchard Harvest - Part III

    Module development how-to, localization and QnA

  • Creating Orchard Themes And Modules In WebMatrix 2

    Microsoft recently released WebMatrix 2 RC which has numerous new features including code completion / intellisense. As an Orchard CMS Developer, I am excited about intellisense in WebMatrix to help with creating Orchard Themes and Modules. Although the release candidate does offer some code completion to make it easier to develop custom Orchard Themes and Modules in WebMatrix, the development experience is rather spotty at the moment.

  • Download Modules And Themes Via WebMatrix 2 NuGet Gallery

    Microsoft had several important announcements this past week. The main announcements was the new and improved Windows Azure and its support for Web Sites. As an FYI, I created a quick tutorial on Installing Orchard CMS as an Azure Web Site. Another announcement was the release of WebMatrix 2 RC, which includes a lot of neat features including node.js support; HTML5, CSS3, JavaScript, C#, and jQuery Code Completion; iPhone and Windows Phone Emulators, etc. I'll talk about those WebMatrix 2 features another time. Right now I wanted to mention the ability to download and install Orchard Modules and Themes via the WebMatrix 2 NuGet Gallery support!

Software IP management and project development governance provided by Outercurve Foundation