show_rotating_ad
From CashCrusaderWiki
(Difference between revisions)
Revision as of 13:54, 1 August 2008
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.
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');?>