Loading...
 

Plugin Parameters

Introduced in Tiki7

Use this wiki plugin to display content based on URL parameters.

Parameters

Display content based on URL parameters
Introduced in Tiki 7. Required parameters are in bold.
Go to the source code
Preferences required: wikiplugin_param

Parameters Accepted Values Description Default Since
(body of plugin) Wiki text to display if conditions are met. The body may contain {ELSE}. Text after the marker will be displayed if conditions are not met.
name text
separator: |
Names of parameters required to display text, separated by |. 7.0
value text Value to test for. If empty then just tests if the named params are set and not "empty". 13.1
source (blank)
get
post
cookie
Source where the parameter is checked. request 7.0


Example

The follwing code checks the parameter named productid in the URL and displays the result.

Copy to clipboard
{PARAM(name=productid value=1004)}productid is 1004{ELSE}productid is not 1004{PARAM}


List Slides