phpwax / wildfire.advertising.advanced
advertising module with weighting
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
pkg:composer/phpwax/wildfire.advertising.advanced
This package is auto-updated.
Last update: 2025-09-17 14:42:01 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.