<wt:addbutton/>

Description

Displays a button in edit mode which can be used to create nodes

Attributes

[caption] the caption to display in the button
source The path to the containing element in the wt database. It can be a relative path to the current page, or an absoute path, or a guid.
type The type of the node to create
[noteditable] a comma separated list of attributes which are not editable with the edit form
[forceeditable] force a not editable attribute to be editable
[addtotop="no"] If this is set to yes, new items will be added to the top of a list instead of the bottom

Examples

Standard

<wt:addButton type="General" source="Content" caption="Add a Content Block"/>

Full

<wt:addButton type="General" source="Content" caption="Add a Content Block" addtotop="yes" noteditable="Heading,Sub Heading,Date"/>