History: PluginBanner
Preview of version: 14
Plugin Banner
This wiki plugin adds a banner onto a page.
Table of contents
Parameters
Add a bannerIntroduced 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}
Related pages
Banners
Banner User
Banner Admin
- For all plugins* Wiki Plugin - has links to all plugins and describes how the syntax works for a plugin
- Mods Type Wikiplugins