Handling views' arguments
gkanski - January 13, 2009 - 17:58
| Project: | Timeline |
| Version: | 6.x-2.x-dev |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Dear All,
I'm using Drupal 5 with Timeline 1.2. I want to control (filter) the nodes the timeline is rendering using taxonomy terms. It looks like the timeline view is ignoring arguments. I tried "Arguments Code Handling", I tested both page and block view with no luck. As result I'm always getting all the nodes regardless their taxonomy terms. Changing the type of view (list or table instead of timeline) gives me the limited (as expected) list of nodes according to the taxonomy term. I would appreciate the lead how to make it work - I can't believe that the arguments mechanism is omited on purpose.

#1
The point is that it works if I hard-code the term's ID (in my example 123). This is the example of the block view.
$args[0] = "123";return $args;
and it stops when I use the following:
$args[0] = arg(2);return $args;
Maybe this is the problem of AJAX or arg() function ?
I have compared HTML source of both pages (clearing cache in the meantime) and they are identical. I have no clue what is going on ...
#2
Targeting Timeline 6.x-2.x branch.
#3
No problems using views' arguments with the new 2.x version.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.