ComboStrap Ads - Ad Tag

1 - About

The ad tag is a syntax component of the ads module that will insert a ad (ie ad page).

3 - Example

For instance, if you want to add a Ad in the top of the sidebar, you would:

  • create a ad page called sidebarTop
  • and add it in your sidebar with the following syntax

<ad name="sidebarTop"/>

Ads made easy

An Ad page is just a page that contains the Ad Snippet but you can also design it with the ComboStrap syntax.
(called also a creative)

Because the ads are stored as page, they are by default added to the index.

You need to set a configuration to prevent it. See ComboStrap Ads - Global Configuration

4 - Syntax

<ad name="adsFileName"/>

where adsFileName is the name of the ad page.

The ad component is a superset HTML component and you can style it as you want.

5 - Configuration

Powered by ComboStrap