Tags:
banners
Banners Admin
You can admin banners from those two places:
(1) "Admin > Admin home > Site Ads and Banners" (tiki-admin.php?page=ads)

to add a banner zone towards the header of your site.

(2) "Admin > Banners" (tiki-list_banners.php)
to create zones, define content, assign it to users, define time frames, etc...

Banner Zones
A banner zone is a defined area in which to display a specific banner. You can define as many banner zones as needed for your site, then have different banners appear in each zone. For example, a typical site might have three banner zones:- A top zone, to display a banner ad at the top of every page
- A side zone, to display an ad in the left column
- A bottom zone, to display another banner at the bottom of the page
Creating a banner zone
Before creating a new banner, you must have a banner zone in which to place the banner.To create a new banner zone:
- From the Admin menu, click Banners. The Banners page appears, showing the current banners.
- Click Create banner to create a new banner zone. The Edit or Create Banners page appears.
- In the Create Zone field, type a name for the new banner zone (such as TopZone) and click Create Zone.
- Tiki adds the new banner zone to the list of existing zones (at the bottom of the page).
Now that you have a banner zone, you're ready to create the actual banner.
Banner Types
Tiki can create the following types of banners:- HTML — Complete HTML/XHTML code of the banner. For example, if you belong to a banner exchange, you may receive a code snippet to display the banner.
Note: Including a link (-+<A HREF...>+-) as part of your HTML will override the banner's URL to link field. - Image — You can upload any image (PNG, BMP, or GIF) to be used as the banner.
- Fixed URL — You can link to a banner from a hosted location. For example, if you belong to a banner exchange that provides dynamic banners, you may have a URL to use (such as http://bannerserver/mybanner?id=foo).
- Text-- A simple text-only ad. The text will be formatted using the bannertext CSS style.
Creating Banners
To create a new banner:- From the Admin menu, click Banners. The Banners page appears, showing the current banners.
- Click Create banner to create a new banner. The Edit or Create Banners page appears.
- Use this table to complete each field on the page:
Field Description URL to link the banner The fully qualified URL click-through for the banner, such as http://www.tikiwiki.org. The URL will open in a new browser window. If blank, the banner will not be clickable.
Notes:
* If you select an HTML banner type, you must include the URL in the HTML code — not in this field.
* To track banner clicks, use:
banner_click.php?id=XX&url=http://www.tikiwiki.org, where XX is the banner ID. The banner ID is shown on the Banners page.
* Leave this blank if an HTML banner uses Javascript from a banner service such as AdSense because that code will make the banner clickable.Client Select a username as the "client" for this banner. Clients can display the stats for a specific banner. Max impressions The maximum number of times the banner will be displayed (default 1000). After reaching this number, the banner will no longer display.
Hint: If your site has lots of traffic, increase this number.Zone Select the zone in which to display the banner. To create a new zone, in the Create Zone field, type a name for the new banner zone and click Create Zone. Show between dates To automatically turn this banner on and off at a specific date, select the Use dates option and then select a From and To date. For example, you can create a banner to display only for a specific holiday or event.
If you do not select the Use dates option, the banner will be shown immediately, and continue to be shown until the Max impressions.Show between hours Select the time of the day that the banner will display. By default, the banner will display 24-hours-a-day. As of April 2009 and in Tiki 2.x sites, you may need to re-set the hours from the default ones, to "from 00:00 until 23:59h" in order to have your banners display properly. Show only on Select the specific days of the week that the banner will display. By default, the banner will appear 7-days-a-week. For example, you can create a banner to display only on weekends. Banners method Select a banner type: HTML, Image, URL, or Text. - Click Save the banner.
Now that you have created a banner and assigned it to a zone, you're ready to display it.
Displaying Banners
To display a banner on your Tiki you simply add the following code {banner zone=XXXXX}(where XXXXX is the name of the banner zone) to:
- A Tiki template (TPL) file
- A module
You can also use PluginBanner in a wiki page
For example:
- To have a banner appear at the top of every page, add the banner zone to the header.tpl file:
<body {if $user_dbl eq 'y' and $dblclickedit eq 'y' and $tiki_p_edit eq 'y'}... ... {banner zone=TopZone} ... - to have a banner appearing for some page in the top of the content block
{if $section eq 'forums' and $smarty.request.forumId eq 2}
{banner zone='forum2'}
{elseif $section eq 'forums' and $smarty.request.forumId eq '6'}
{banner zone='forum6'}
{elseif $section eq 'blogs' and $smarty.request.blogId eq 4}
{banner zone='blog4'}
{* add your elseif *}
{/if}- To have a banner appear in the left column:
- Create a new module.
- Add the banner zone to the module.
- Assign the module.
Tikiwiki>=1.10 you can specify if the banner will open in the same window or in new window. The default is a new window
{banner zone=TopZone target=_self}Viewing banner stats
Once banners are active on your site, you or clients can review the stats.To create a new banner zone:
- From the Admin menu, click Banners. The Banners page appears, showing the current banners.
- Click Stats for the banner to review. The Banners Stats page appears.
Banners
Banner User
PluginBanner
Contributors to this page: SEWilco
,
marclaporte
,
xavidp
,
sylvie
,
Xavi
,
ricks99
,
edalton
,
mose
and
system
.
Page last modified on Friday 22 January, 2010 20:38:19 UTC by SEWilco
.
Sidebar
Sidebar
To register
To have an account at this site, please register at Tikiwiki.org
, and then use that user name and password to log in here.
