Useful snippets for use in the Contensis CMS