show_rotating_ad
Used to display a rotating ad drawn randomly from the database (banners or text ads).
- This action has one variable:
- Category: the ad category for ads you want to display. You can also use "%" as a 'wild card' to show all ads.
Examples:
<?php action('show_rotating_ad','search'); ?>
would show an ad drawn in the search ad group.
<?php action('show_rotating_ad','%'); ?>
would show an ad drawn from all ads in the database.









CCI Chatterbox RSS Feed