Project:Views Date Range Filter
Version:5.x-1.7
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi , How should i set Views (that will be embeded in page) to show only Nodes which where created after the currently displayed node?
When using argument - Node: Created Date After, can the date be passed in some other format rather then "today -yx" ... like unix timestamp or dd-mm-yy?
thx.

Comments

#1

The way i did it:
Using exposed filter Node-created and patch from this page http://drupal.org/node/355420
in .tpl added:

$filters = views_get_filter_values(array('op0' => '>', 'filter0' => $node->created));
print views_build_view('block', $view, $arguments, false, 1, 0, 0, $filters);

Views Date Range Filter wasnt necessary.