Thanks for this module - it exactly fits the need I have for a sports scoreboard.

When I apply the Views Rotator to an existing View that I had themed using the Views theme wizard, I lose the css and layout settings I had established in the theme wizard's css and tpl files. How do I make Views Rotator incorporate the existing view theming?

Comments

antibob’s picture

You need to adjust your template.php file.
Remember, when you started styling your view the theme wizard gave you three chunks of code. One was for the css-file, one was for the .tpl.php file and one had to be inserted into your template.php. Now go and grab the last chunk of php-code in the THEME.txt file in the Views Rotator module (starts with function phptemplate_views_rotator_item) and look for the part with _phptemplate_callback. Where it says "views-list-my_view" replace "my_view" with the name of your view and then insert that whole php-part in your template.php. That should do the trick.

mfer’s picture

Status: Active » Closed (won't fix)

Check out the THEME.txt file included with this module. Details are provided there. Sorry, no Views Theme Wizard support coming unless someone wants to pay for the project or create a patch with the functionality.

thollback’s picture

Thank you for the clear explanation - I was using the wrong version of phptemplate_views_rotator_item. I made the change and the rotator is working with the pre-existing Views theming.

Thanks again!