{bb_adrotator} Print

  • Modules, Ad Rotator
  • 0

The {bb_adrotator} module tag renders a random item from within the chosen Ad Rotator on a Web Page.

This module tag can be placed within these areas:

  • Page Templates
  • Web Pages
  • Landing Pages
  • Content Holders
  • Data Collections

This module supports Liquid.

NOTE: This module tag is a part of a future release.

Syntax

{bb_adrotator source="" collectionName="" layout=""}

Parameters

  • source - This parameter identifies the Ad Rotator from which to pull the content to render on a Web Page.
  • collectionName - Use this parameter to access the Liquid tags to bypass the default module layout.
  • layout - Renders the module output using: the Default Template (layout="Default Layout"); a custom layout template (layout=”My Custom Layout”); no layout, which allows the user to code the layout right on the web page (layout="").

Liquid Tags

  • {{adRotatorId}} – Renders the system generated ad rotator's ID.
  • {{adLabel}} – The ad's label.
  • {{adSource}} – Renders the ad content.
  • {{adClickUrl}} – The URL of the site the user is redirected to after clicking on the ad.
  • {{adId}} – Individual ID of the ad.
  • {{adTarget}} – Define whether the "Click-Thru URL" opens in a new browser window ("_blank") or the current window (“_self”).
  • {{adType}} – Type of ad: Image; HTML; Video.
  • {{adWidth}} – Renders the ad width in pixels.
  • {{adHeight}} – Renders the ad height in pixels.
  • {{adAltText}} – Renders the alt text for an ad type of 'Image'.
  • {{adPublishDate}} – Date the ad starts displaying on the website.
  • {{adExpiryDate}} – Date the ad stops displaying on the website.

 

 

 


Was this answer helpful?

« Back

Powered by WHMCompleteSolution