Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.6
Component:
node data
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2009 at 05:46 UTC
Updated:
30 Aug 2010 at 12:22 UTC
Jump to comment: Most recent file
Comments
Comment #1
dawehnerUpdated Priority.
Comment #2
merlinofchaos commentedWhat is 'next content'? Drupal has no such concept.
Comment #3
dawehnerI think "next content" is
sort by NID asc;
limit 1
filter by nid > current_nid
And "last content" is
sort by NID desc;
limit 1
filter by nid < current_nid
Comment #4
codingdeveloperdrupal commentedI like to display the next content's teaser of the same taxonomy in my current node. .
Suppose if i create a new content type by CCK (news). In the current node I like to display the teaser content of the next news article similar like if i view a video node i like to see the next video thumbnail image in the current video. . .
Comment #5
dawehnerUpdate status
Comment #6
codingdeveloperdrupal commentedHey dereine,
The problem is simple. I will try to explain as much as i can.
I have Custom pagers and prev/next module.
I got the node template and chose two layered layout. In the left content I gave current node's body, and where as in the right content i like to have the next node's teaser of the same node type and same taxonomy which i have set in view->filters. This allows the viewer to have a look upon the next node's teaser . I got a solution. I hacked the code in views handler(which is not the right way).
I edited the code in function set_argument().
this is the original code.
I edited this into
Comment #7
codingdeveloperdrupal commentedI will attach screenshot of that page.
Comment #8
esmerel commentedNo activity for more than 6 months
Comment #9
codingdeveloperdrupal commented