Native Site » How to link the names of user defined ad positions and one2many positions

How to link the names of user defined ad positions and one2many positions

Last modified by Lenka Kocurková on 2014/10/21 13:36
Comments (0) · Attachments (1)

In case you define ad position on site by your own system (for example using positions names or specific ID´s) you can link these positions with one2many master code.

The advantage is that you do not need to insert first part of one2many code = DIV for ad position = into the site.

How to set:

  1. Generate one2many code for required section on site 
  2. Adjust master part of code (the last part of the code begins <!-- iBILLBOARD Ad Server one2many code -->) - insert a new value for mapping bmone2n.mapPosition('10178.1.1.4','nameOfYourDIV'); in front of the rows with bmone2n.addPosition('1234.1.1.1','');
    Value for mapping has to be insterted in front of the addPosition and it has to include ID of site/section/position which are identical to addPosition part.

one2nMapping.jpg

Tags:
Created by Barbora Račková on 2014/10/21 11:04
Translated into en by Pavla Roháčová on 2014/10/21 11:13

Navigation


This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 4.0 - Documentation