CASK - Admin transformations

The Community Starter Kit application is a well designed (complicated) application - one that wasn't well documented so many valuable features may be overlooked.   A few years ago I took on the task of upgrading it to .NET 2.0, and now .NET 3.5, and called it the Community (Advanced) Starter Kit (http://www.CodePlex.com/CASKDotNet) because "Starter Kit" can be somewhat misleading - it uses advanced features of ASP.NET. 

My Goal - document the CASK application as opportunities arise.   This weeks opportunity was the need to provide easy support for Google's verification process.

Transformations is such a feature that is probably not used - I am safely assuming it has been overlooked because I attempted to use one in a section Header and Footer and it didn't work.   I examined the code and was surprised that transformations only applied to a few components - I added support to footer and header.

In the example below I want to add a smiley face to the header below (after "about upcoming events").  I'll click on the Admin pencil icon which is a short cut to the Admin | Section area.

Once in the section if I click on the "Appearance" tab and scroll down to Section Transformations.

Note above the lines:

from: :)
to: <img src="~/emoticons/smile.gif">

This tells the program that whenever it encounters a ":)" that it should transform it to the defined "to:" information.   Note: This section expects that there will be a "from:" and "to:" pair.

Since the definition is already there for me I simply have to type in ":)" in my header and click SAVE.

I'm then greated with the following header with my smiley icon!


Tags:
Categories:


Actions: E-mail | Permalink |  Grammar/Typo/Better way? Please let me know