261 Broad Street
Windsor, CT 06095
(860) 285-0172
support@invisiblegold.com

Your Website Should Be Easy to Edit


Simple Rotating Ad System That Doesn't Use Banner Ads

The Banner Ad system is really aimed at the larger site and requires the Advanced Commerce license. It would be possible to create a much simpler ad system using a GetHTML call and a custom template.

<gethtml data="random" id="/ads/" mode="image" object="siteads"/>

This call would randomly choose one of the pages below a new page called "/ads/". The image.xsl custom template would need to be created in a directory called "/templates/siteads". It would simply need to display the current image with a link to its site.

Adding new ads to this system would simply require you to create new children of the /ads/ page. For example this could be a URL List template. Thus all of the available URLS would be randomly chosen and displayed as a banner ad.


See Also:
Online Documentation Home, What Does The Banner Ad Look Like, Banner Ad Lists Page, A Banner Ad List, Creating a Banner Ad, Uploading an Ad Image, Enabling the Banner Ad System, Simple Rotating Ad System That Doesn't Use Banner Ads