Rotation Groups
-
The amazing thing is. I just found out that there can only be one managing code for Rotation Groups.
I needed to rotate two groups of ads, and separately and independently of each other. In other words, to run two randomization processes independent of each other in parallel.
Rotation Handle #1
[ADINSERTER ROTATE share="50"] [ADINSERTER group="One"] [ADINSERTER ROTATE] [ADINSERTER group="Two"]
Rotation Handle #2
[ADINSERTER ROTATE share="50"] [ADINSERTER group="First"] [ADINSERTER ROTATE] [ADINSERTER group="Second"]
But because of the above-mentioned impossibility, I had to get round to doing this.
[ADINSERTER ROTATE share="25"] [ADINSERTER group="OneFirst"] [ADINSERTER ROTATE] [ADINSERTER group="OneSecond"] [ADINSERTER ROTATE] [ADINSERTER group="TwoFirst"] [ADINSERTER ROTATE] [ADINSERTER group="TwoSecond"]
That is, to provide correct randomization and combination of two groups.
The code, of course, has increased quite a bit.
But what to do if there are more than two groups?
And one more question.
Is it possible to specify more than one Name separated by commas in the [ADINSERTER ROTATE group=”Name”] shortcode?
Something like [ADINSERTER ROTATE group=”Name1, Name 2, Name 3″].
- The topic ‘Rotation Groups’ is closed to new replies.