Warning: Undefined variable $filepath in /home/tiki-doc/public_html/lib/wiki-plugins/wikiplugin_tikidocfromcode.php on line 146 PluginHTML | Documentation for Tiki Wiki CMS Groupware
Loading...
Plugin HTML
This wiki plugin allows you to add any HTML (including scripts and objects) to a wiki page. This plugin was introduced in Tiki3.
Because users could potentially add unsafe scripts to a page, this plugin must be validated by a trusted contributor before becoming "live" on the page.
Parameters
Tiki Doc From Code error: html not found
Examples
Basic syntax
Copy to clipboard
{HTML()}
You can use HTML here including JavaScript, etc.
This is unsafe and thus, must be validated by a trusted editor
{HTML}
Embedding some html object from a site serving embeddable videos (youtube, vimeo, etc):
Copy to clipboard
{CENTER()}{HTML()}{HTML}{CENTER}
However the plugin call was not validated by the admins but denied, and this is what it would produce:
Plugin execution was denied
After argument validation by an editor, the execution of this plugin was denied. This plugin will eventually be removed or corrected.
Example 3
Making a wiki link to look like a button of the same theme style that you are using. For instance, this code:
Copy to clipboard
^{HTML()}Save changes with my custom buttom to the page PluginHTML, while you send also itemId in the url for PluginTrackerList magic, for instance (not used in this simple example){HTML}^
Would produce:
Save changes with my custom buttom to the page PluginHTML, while you send also itemId in the url for PluginTrackerList magic, for instance (not used in this simple example)
Example 4
When the parameter wiki=1 is used, wiki syntax will be parsed in the content inside HTML plugin.
Copy to clipboard
{HTML(wiki=1)}
This wiki syntax will be parsed to produce special characters:
* ''Some examples:'' ~amp~ ~lt~ ~c~
* __More examples:__ ~gt~ ~ldq~
* ~rdq~ ~lsq~
* ~rsq~
* ~--~ --
{HTML}
produces:
This wiki syntax will be parsed to produce special characters: