5.8. banner
cat_root/products/banner.txt
The banner ad table. The foundation catalog does not implement any banner ads with this table.
You do not need to use this table to display ads served by third parties (for example, doubleclick). Since most banner ads on the internet are served by third parties and are not managed by your catalog, you probably will not need to set up banners here unless you do your own advertising.
See Banner/Ad rotation in the template documentation for a detailed description of the columns and content of the banner table. Also, see the banner tag documentation.
Fields
Field | Description |
code | Key for the item. If the banners are not weighted, this should be a category-specific code. |
category | Category for set of weighted banners |
weight | Display frequency weight for weighted banner |
rotate | Boolean: parse banner field for banners to rotate if true (1) |
banner | Banner name or list of banners to rotate |
5.8.1. code
Example Data
MyBanner MyBanner2 MyBanner3 default
See Banner/Ad rotation.
5.8.2. category
Example Data
BannerCat1
See Banner/Ad rotation.
5.8.3. weight
Example Data
1 2 7
See Banner/Ad rotation.
5.8.4. rotate
Boolean value. If true (1), rotates banners listed in banner. See Banner/Ad rotation.
5.8.5. banner
Example Data
Default banner 1{or}Default banner 2{or}Default banner 3 First MyBanner Second MyBanner Third MyBanner
See Banner/Ad rotation.