This is an example of how to support tokens in Sitefinity content.
Watch a demonstration on YouTube (0:37)
- Copy the "Tokens" folder to the root of your Sitefinity project
- Subscribe TokenReplacer to IPagePreRenderCompleteEvent using the example in 'Global.ascx.txt'
- Build
Navigate to Administration -> Settings -> Advanced -> Tokens to define your tokens.
By default, the replacer will look for tokens in the form of {{sometext}}.
Place tokens inside of your content, publish, then view the content on the front-end of your Sitefinity instance. The token should have been replaced with the defined value.