|
User assistance for content authors |
|---|
Rendering plug-ins are referenced by using the plug-in tag. Select from preinstalled rendering plug-ins, or select your own custom plug-ins.
The format of a plug-in tag:
[plugin:pluginname paramKey="paramVal" compute=" " htmlencode=" " start=" " end=" "] Tag Body Content [/plugin:pluginname]
To create a plug-in tag:
| Tag parameters | Details |
|---|---|
| compute=" " | If not specified, the default setting is "always", meaning that the value of the plug-in tag is evaluated each time that the tag is rendered within a list, such as a menu or navigator component. Use compute="once" to evaluate the tag only once. |
| htmlencode=" " | If htmlencode="true" reserved
HTML characters are converted into character entities. For example,
'<' is converted to '<'. This parameter is useful if you
would like to prevent users from adding malicious code, or if you
want to prevent users from changing the design of their text by using
HTML. If not specified, the default setting that is specified by the cmpnt.htmlEncodeDefault property in the WCM WCMConfigService service is used. By default, this property is set to true. |
| start=" " end=" " |
The start and end attributes are used to wrap the data that is returned by a tag within other tags, such as HTML. These attributes are not mandatory. |
[plugin:pluginname]
[plugin:pluginname paramKey1="paramVal" paramKey2="paramVal" paramKey2="paramVal2"]
[plugin:pluginname paramKey1="[IDCmpnt context='current' type='sitearea' field='id']"]
[plugin:pluginname paramKey1="paramVal" paramKey2="paramVal" paramKey2="paramVal2"] This is the tag body content. <br> [component name="test"] <br> More content. [/plugin:pluginname]
These topics contain information about the different plug-ins.