Jump to main content Jump to doc navigation

Removed See BannerY

Display images with hyperlinks at designated positions in a page. The developer is Bezumkin / Jeroen Kenters.

Version

0.2.0 beta, released 10th of May 2012.

Usage

[[BannerX? &position=`1` &sortby=`RAND()` &limit=`1`]]

This will retrieve randomly one banner that is set to be active for assigned position 1.

Available Properties

Name Description Default
tpl Name of a chunk serving as a recourse template bxAd
sortdir Order of the results ASC
sortby Return results in random order RAND()
limit If set to non-zero, will only show X number of items 5
position If set to non-zero, will retrieve only images that are assigned to the position given. 0

Available Placeholders

Name Description
adposition
image The image assigned to this banner
name The name assigned to this banner
url The url assigned to this banner

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

  • modmore
  • STERC
  • Digital Penguin
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Dannevang Digital
  • Sepia River Studios
  • CrewMark
  • Chris Fickling
  • deJaya
  • eydolan
  • Lefthandmedia
  • Murray Wood
  • Following Sea
  • Anton Tarasov
  • Stéphane Jäggi
  • Raffy
  • Snow Creative
  • A. Moreno
  • Nick Clark
  • JT Skaggs
  • Helen
  • YJ
  • krisznet
  • Richard
  • Yanni

Budget

$306 per month—let's make that $500!

Learn more