It can be done through using "Jump menu" settings in views.
- Download the Ctools module http://drupal.org/project/ctools Enable the Chaos Tools Module. This module provides a Views Style Plugin called "Jump Menu"
- Create a view of type node with two fields Content:nid and Cotent:title. And the path of the views page is like 'my_node_list'. For the Content:nid make sure you click on
Rewrite the output of the field
. The rewritten output of the field should bemy_node_list/[nid].
Make sure you select theexclude from display
checkbox. - In the settings for
Style
in the view, select theJump Menu
style. Click on the settings for the style. Make sure thePath
dropdown has 'Content:nid' choosen. - Add a block display to the view. Name the block "Node details" and put the contextual filter to filter with nid.
- Save the view
- Go to block configuration under structure and configure the above block (Node details). Put the viewing restriction of the block to the the page 'my_node_list'.
wanted to thank you, thanks to your advice I managed to do it!
ReplyDeleteYou are most welcome
ReplyDeleteThank you good sir! Worked out greaet
ReplyDeletehttps://www.drupal.org/node/908544
ReplyDelete