Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.5
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Sep 2012 at 18:42 UTC
Updated:
9 Oct 2012 at 18:51 UTC
I wonder if somebody has succeed with altering a view style plugin dynamically? Say for example you have a view and want the user to be able to choose between grid and table display by some sort of exposed option. One solution would be having two different displays with different url's but I'm interested to know if it's possible to achieve with one display only and then alter the style plugin in one of the pre hooks.
Thanks in advance!
Comments
Comment #1
dawehnerThere is a module for that: http://drupal.org/project/views_modes