Blog Strategy Sample Extension

  • Updated

This sample demonstrates the use of Ektron CMS Extensions and Blog APIs.  It will fire off events for the addition of a blog post or blog comment. It will send an email to users who are subscribed to a blog or a blog post.  Default tokens and sample email messages are built into the extension code.

Code Download


This sample has two files.  

This is the class file implementation for the Blog Strategy

This is the configuration file that has an entry that points to the implementation.

Add the line from from the objectFactory.config to the target site objectfactory.config.  This will wire the CMS system with the extensibility code deployment.


Then add the CS file to the site's App_Code folder.

For more information on implementing a strategy click here .