Loading...
 
Skip to main content

History: PluginBanner

Preview of version: 15

Plugin Banner

This wiki plugin adds 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}

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