On this week's episode, Bob is proud to demo a new module planned and designed by us here at Mustardseed and coded by our good pal at Innovating Tomorrow. The Views Rotator Module makes creating a javascript rotator of any Views generated content extremely easy. We're excited about it and we hope you are too once you see how easy it is to use!

First may I thank you for taking to the time to prepare these podcasts, Drupal can be rather overwhelming for a novice such as I and your podcasts provide a good deal of insight. And thank you too for commissioning the module!
My question. How do you centre a views rotator block in a region? Following your podcast I've created a views rotator block and placed it in one of the regions of the theme Im using (the “header blocks region of the theme pixture_reloaded). It works very nicely indeed, the problem is though that under Firefox, Safri, Chrome etc the block isnt centered in the middle of the region, but irksomely it is under IE6/7.
If you take a look at my sandbox website you can see the problem Im having and there's a little more detailed info here, is there something obvious Im doing wrong?
Again thankyou!
- First, you if you output that image's node as a teaser (rather than a list) then you could just theme the teaser so that the image was wrapped in the link you need. This works, but isn't the best since loading a node takes more processing...Instead, i recommend that you:
- Theme the view. Views theming isn't that tough and is intended for theming lists that it outputs. You'd theme this view output so that one of the fields (a link) is just a wrapper around the image in the list...pretty straight forward views theming
Either way, this basically has to be done in theming...there's no way to do it in the Views GUI.#block-name {margin-left: auto; margin-right: auto;}in your CSS to center that block. That should work just fine unless there's something else I'm missing. Let me know if there's a complication with that.Thank you! Manually adusting the size of the header block region into which the block is placed worked, problem solved. Though Im curious as to what was causing the problem. Poking at it with Firebug the position of each cell that makes up a rotating block is wrapped in the following:
div class="views-rotator-item" style="position: absolute; top: 0pt; left: 0pt; z-index: 2; opacity: 0; display: none;"
If I edited out that top left positioning in Firebug it appears centred. Where is that css comming from?.
Thanks.
nice plugin, thank you for sharing to all of us