Loading...
 
Skip to main content
Add a banner

Plugin Banner

Use this wiki plugin, introduced in Tiki3, to add a banner onto a page.

Parameters

Add a banner
Introduced in Tiki 3. Required parameters are in bold.
Go to the source code
Preferences required: wikiplugin_banner, feature_banners

Parameters Accepted Values Description Default Since
zone Name of the zone created in Admin > Banners 3.0
target (blank)
_blank
display
Determines the browser behavior when the banner is clicked 3.0

Limiting the visibility

Some sites like to hide banners from some types of users, for example to prevent forbidden clicks by staff. In some parts of TikiWiki, such as in Modules and the Look & Feel headers, the following can be used to make banners only visible to anonymous visitors.

Copy to clipboard
{if (empty($group)) or ($group eq "Anonymous")} {banner zone="name" target="_blank"} {/if}

Created by system. Last Modification: Monday 29 July, 2019 11:02:49 GMT-0000 by Yves Kipondo.