show_rotating_ad

From CashCrusaderWiki

(Difference between revisions)
Jump to: navigation, search
(New page for show_rotating_ad action)
Current revision (13:58, 1 August 2008) (edit) (undo)
m (Ad link to Rotating Ads manager.)
 
Line 1: Line 1:
{{DISPLAYTITLE:show_rotating_ad}}
{{DISPLAYTITLE:show_rotating_ad}}
-
Action ''show_rotating_ad'' is used to show rotating ads, like banner advertisements, on public pages. This action takes one parameter, the group of ads and special group '''%''' can be used to fetch ads from all groups.
+
Action ''show_rotating_ad'' is used to show rotating ads, like banner advertisements, on public pages. This action takes one parameter, the group of ads and special group '''%''' can be used to fetch ads from all groups. Rotating ads are managed from [[Rotating Ads manager]].

Current revision

Action show_rotating_ad is used to show rotating ads, like banner advertisements, on public pages. This action takes one parameter, the group of ads and special group % can be used to fetch ads from all groups. Rotating ads are managed from Rotating Ads manager.


Required CashCrusader version: 2.00


Example usage #1:
This will rotate all active ads:

<?php action('show_rotating_ad','%');?>


Example usage #2:
This will rotate ads from group banner468:

<?php action('show_rotating_ad','banner468');?>

Personal tools
Administration manual