By eyecon-1 on
My_content_type:
Date, Summary (custom teaser), Full text (body) and Read_more_link
View1 - Table view:
Node1: Date - Summary - Read_more_link
Node2: Date - Summary - Read_more_link
Node3: Date - Summary - Read_more_link
etc.
The read_more_link = <a href="http://mysite/view2" class="greybox" ></a>
View2 - List View:
Node:Body
View2 is required because otherwise the entire node will be displayed in the greybox.
Problem: In view1, if a user clicks on the read_more_link from node3, how do I pass the node ID between the two views so that view2 shows the body text from node3?
Comments
Argument
Two ways I could see this happening. You could either create an argument for view2 that filters on the Node: ID, and then make the read_more_link to be /view2/node_id instead of /node/node_id, or
Customize the page template for your node views.
Hope that helps.
Thanks. Sometimes it is
Thanks.
Sometimes it is faster and easier to develop outside of the Drupal environment. The best results (for me) are achieved with an imagemagick script to convert the desired text to an image and then using Lightbox instead of greybox. Surprisingly, the paged rendering is faster.