Skip to content

Instantly share code, notes, and snippets.

View Stjerneklar's full-sized avatar
😈
Reloaded

Andreas Stjerneklar Kristensen Stjerneklar

😈
Reloaded
  • Fora
  • Copenhagen
View GitHub Profile
@joeriks
joeriks / Comment.cshtml
Created March 19, 2011 16:51
Basic Umbraco Razor commentary form
@using umbraco.cms.businesslogic.web
@* A Razor script to add a basic comment function to Umbraco pages
You need a document type called Comment with a textstring property
called commentName and a textbox multiple property called commentMessage
You also need to allow the Comment document type as child document type
to your textpage document type.
Create this script with a macro and add it below the bodyText in your
template(s) *@