1

I have a view it displays a few nodes in teaser mode. The view takes contextual filter and when filter is available I would like the content (node) to be displayed in full view mode. Is this possible?

1

Just create a view with two page displays.

The first display will be on the path with no arguments and will display teasers.

The second display will be on the same path with an argument such as thepath/% and will display full view mode.

When you alter the format and add the contextual filter in the second page, make sure to select it only for that display, otherwise it will overwrite the first display as well.

enter image description here

This is what views displays are for. Use it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.