Without a help text, I tried this module:

I made a view page with better exposed filters and a view modus, I mount the modus to this page. I found a new block and placed it in a regio. What I have is a selection in this block with two links, named "name view page" and "name modus".

When I click on the "name view page" I get the view behind that page. Thats ok.
When I click on the "name modus" I get the view of the view page, thats not ok.

What do I wrong?

Comments

allio_froggio’s picture

Please 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!

batje’s picture

The 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.

batje’s picture

Status: Active » Closed (fixed)

I added a README.txt