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.
Table of contents
Usage and Parameters
To use this plugin in a wiki page, use the syntax:
{HTML()}
You can use HTML here including JavaScript, etc.
This is unsafe and thus, must be validated by a trusted editor
{HTML}| Parameter | Accepted values | Default | Effect | Required? | Since |
|---|---|---|---|---|---|
| wiki | 0=no 1=yes |
0 | Parse wiki syntax included within the HTML plugin. | n | 3.0 |
There are others ways to include HTML in a page:
- Use the WYSIWYG editor. Note that Tiki will automatically filter potentially unsafe content.
- Enable the Allow HTML in Wiki Pages option. Note that Tiki will automatically filter potentially unsafe content.
- Use HTML Pages instead of wiki pages. Note that HTML pages do not include page version history.
You could also use PluginJSto include JavaScript in a wiki page.
Example
You could paste the code you get for a Google Gadget, a PayPal button, etc.
For example, using this code:
{HTML()}
<script src="http://www.gmodules.com/ig/ifr?url=http://www.donalobrien.net/apps/google/currency.xml&
up_def_from=USD&up_def_to=EUR&synd=open&w=320&
h=170&title=Currency+Converter&
border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></script>
{HTML}Will produce this Google Gadget:
Related pages
Contributors to this page: lindon
,
Scot Wilcoxon
,
Rick
,
mlpvolt
,
Marc Laporte
and
Jürgen Heckes
.
Page last modified on Saturday 14 August, 2010 15:13:06 UTC by lindon
.
