phpwax/wildfire.advertising.advanced

There is no license information available for the latest version (dev-master) of this package.

advertising module with weighting

dev-master 2013-06-25 12:01 UTC

This package is auto-updated.

Last update: 2024-11-17 13:04:24 UTC


README

Needs V7 of the cms

Advertising module should appear where you can create ads in the cms with title, link and type. An advertisement tab should appear on content where you can join ads to content, the joins allow for weights to show some ads more/less often than others.

For frontend use: partial("_ad", array("ad_type"=>"mpu", "num"=>2)) . The type and num are both optional. You should get a series of a tags containing the first attached media to the ad. The output here is a weighted random.