Loading...
 
Skip to main content

History: PluginBanner

Preview of version: 11

Plugin Banners

This plugin adds a banner onto a page and was introduced in version 3.0.

Usage

Copy to clipboard
{banner zone="name" target="_blank"}

Parameters

Parameters Accepted Values Description Since
zone string name of the zone 3.0
target _blank or display determine whether a new window is opened (_blank) or not 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}

Banners
Banner User
Banner Admin

History

Advanced
Information Version
Yves Kipondo 17
View
lindon 16
View
lindon 15
View
lindon 14
View
lindon 13
View
lindon 12
View
lindon 11
View
lindon 9
View
Scot Wilcoxon sometimes there is no $group 8
View
Scot Wilcoxon add "Limiting the visibility" section 7
View
Marc Laporte 6
View
Marc Laporte 5
View
lindon 4
View
lindon 3
View
sylvie 2
View
system created from structure 1
View