Hello there,

it's a cool module because it makes super easy way to make sub-pages or related pages as tabs. i have making tabs pages that contains fields or views via panels 3 module for drupal 7. But your way is incredibly fast and easy for non-techie person. But one thing i realize when selective views having contextual filter as data source when making sub pages. it just not work there should be a support for passing argument to views in form of tokens as token module will be handy for this.

I that way it becomes totally awesome. What do you think? Please reply.

Comments

BrockBoland’s picture

Good idea!

Right now, you can use a contextual filter for the nid, and set it to use a default value of the nid from the URL. This addresses many use cases, but I like your idea of providing tokens to pass values from the node to the view.

ausnahmezustand’s picture

Hi,
i found this module, and now i want to test it, because i think its a really good solution...
What do you think about this way:
- creating contenttyp + creating some viewmodes like subpage1, subpage 2, subpage 3 (how many you need...)
- creating views for subpage1, subpage2 (how many you need...), with contextual fiters to use with nid from url
- creating the subpages in your contenttyp and use the different subpage-views for filling them
- now you can fill all viewmodes with the fields you want, can use displaysuit for styling of each viewmode...

What do think about?

er_gaurav_sharma’s picture

Hi,
I don't understand why someone want to display multiple views of same page as the same path.

BrockBoland’s picture

er_gaurav_sharma: I think ausnahmezustand means that the different view modes could be displayed at different sub-paths.

I think this is a great idea. Adding the token support requested in this issue would allow you to accomplish this goal the way you described, by using a view, but I think that the better solution is to add native support for node view modes as data sources for the subpages.

To that end, I just created #1429368: Content plugin: node view modes since that's a completely separate block of work to be done, so we'll track the conversation there. ausnahmezustand, please read that issue over and make sure I got what you were asking for, and follow the issue so that you get updates about progress made on it.

ausnahmezustand’s picture

Great... and thanks for your response!!
I think it´s an easy way with the view-modes in node. All stylings can do by using a core-function, with a option for theming each subpage by displaysuit or anything else... easy config of different layouts for every subpath-page by changing the displaysuit-layout for a view-mode.
In my case, i want use custom-displaysuit-layouts for the node and the subpages like #1=header/1-col/footer and #2=header/2-col-stacked/footer.
But i think there are many ways more for theming subpages on this way... i think about fieldgroups with tabs as example.

I read the support issue, and follow it. Native support for the node view modes is really the fines solution. I think, your module is one of the best new solutions for drupal 7. When you need someone for testing, or anything, please contact me!!

er_gaurav_sharma’s picture

Hi,
It's great idea for integration with display suit view modes, why not take it one step forward by just entering a url in subpages make a subpage or tab.