How To Create AMarkup Extennsion
Access
{{reader}}
Favourite Pages
{{pageEntry.pageName}}
Signed in as {{currentUser}} {{avatar}}
Sign Out
Sign In as Different User
{{currentUserExtraOptions}}
OpenForumDocumentation
CookBook
ServerSideJavascript
HowToCreateAMarkupExtennsion
Create a page /OpenForum/Extensions/{my extension}
Add a file renderer.sjs
Add script to get parameters eg.
var thePageName = extension.getAttribute("pageName");
Check for parameters
if( typeof(thePageName)!="undefined" ) { //Do something with thePageName }
Render some html
Return the html
return myText;
An error has occurred.
{{OpenForum.errorMessage}}
See technical details
×
Error details.
{{OpenForum.error}}
×
{{OpenForum.alert.title}}
{{OpenForum.alert.message}}
×