Editable Text Link

This macro creates a link to edit the named, Editable Text object.

The Import macro may use editable Text objects to create 'virtual' pages that are editable by space or site admins and can define navigational or other customizable areas within a skin.

Usage

Storage Format

<ac:macro ac:name="editable-text-link"> <ac:parameter ac:name="parameter">value</ac:parameter> <ac:rich-text-body> <!-- link name here --> </ac:rich-text-body> </ac:macro>

Wiki Markup

{editable-text-link:parameter=value}link name here{editable-text-link}
ParameterNameDescriptionTypeDefaultRequired

name

Name

The name of the Editable Text object to edit

string


global

Label

Force the editing of the Global Editable Text object

boolean


space

Author

The space to use with space level Editable Text objects

spacekey


class

CSS Class

The CSS class to apply to the link

string


id

HTML ID

The HTML ID to apply to the link

string


tooltip

Tooltip

The Tooltip to display over the link

string


flag

Flag

A list of flags, one of which must be defined for the content to be displayed

string


notflag

Not Flag

A list of flags that must not be defined for the content to be displayed

string


Example

<ac:macro ac:name="editable-text-link"> <ac:parameter ac:name="name">my-text-object.txt</ac:parameter> <ac:rich-text-body> Click here to edit my-text-object </ac:rich-text-body> </ac:macro> {editable-text-link:name=my-text-object}Click here to edit my-text-object{editable-text-link}

Result

On this page