show_rotating_ad
From CashCrusaderWiki
(Difference between revisions)
(New page for show_rotating_ad action) |
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');?>