Closed (fixed)
Project:
Views Modes
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
10 Dec 2011 at 11:33 UTC
Updated:
26 May 2025 at 08:52 UTC
Comments
Comment #1
allio_froggio commentedPlease please post some documentation on this! It's a great idea and I'd love to use it, but I'm stuck at the same place (with the latest dev versions of PURL and CTools).
Here's the idea I'm working with: you create one view (say a calendar) and then you add a mode wherein you detail a different view (say, a list). If you have a third way you'd like to display the data, you add a second mode. So, the set up would be one page view and multiple mode views. Is this correct?
If yes, I still can't get my view to actually change. It always remains the original page view.
If no, can you explain what I'm missing?
Thanks very much!
Comment #2
batje commentedThe trick is to add display='viewmode' to the URL of the initial page.
so, if your page url is
/calendar
then your first viewmode (eg. list) is reachable by
/calendar?display=list
and the second by
/calendar?display=second_viewmode
The views_modes block can generate these links for you. Just place it on the /calendar page.
Comment #3
batje commentedI added a README.txt