[Show/Hide Right Column]

Add HTML to a page
Print

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.

Information 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.

Usage and Parameters

To use this plugin in a wiki page, use the syntax:

How to use HTML plugin
{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:

Adding a Google Gadget to a wiki page.
{HTML()}
<script src="http://www.gmodules.com/ig/ifr?url=http://www.donalobrien.net/apps/google/currency.xml&amp;
up_def_from=USD&amp;up_def_to=EUR&amp;synd=open&amp;w=320&amp;
h=170&amp;title=Currency+Converter&amp;
border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script>
{HTML}

Will produce this Google Gadget:


Contributors to this page: lindon2331 points  , Scot Wilcoxon680 points  , Rick7121 points  , mlpvolt1895 points  , Marc Laporte5511 points  and Jürgen Heckes471 points  .
Page last modified on Saturday 14 August, 2010 15:13:06 UTC by lindon2331 points .

Find by Page Name

Exact match

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):