I would like to rotate blocks on my site. I have a few blocks that appear on my site that I don't want to appear at the same time. I can make them appear at random, but can't figure out how to do so in a way that ties all of them together so that one and only one of them appears per reload.

Assuming I have block A, B, and C, and I only want to display one of the blocks at a time, is there currently any way to rotate through the list, or even to display one at random?

Although I couldn't find anything like this by searching drupal (internally and using Google & Yahoo), I think that more people would be interested in this functionally.

I'd be willing to help, but it may be a lot like a 4 year old asking his father if he can help him file his income tax.

januario

Comments

magico’s picture

Version: 4.6.6 » x.y.z
LAsan’s picture

Version: x.y.z » 7.x-dev
agentrickard’s picture

This would be better served as a contributed module. I just made some notes about this in the context of A/B testing.

- [ ] A/B block testing module
- [ ] Create new block
- [ ] Assign one or more existing blocks
- [ ] Assign load percentage for each block
- [ ] Rotate the block(s) based on percentage
- [ ] Tracking?

agentrickard’s picture

Status: Active » Closed (won't fix)