I am running the latest version of viewfield and Token.

This is a strange situation.
I created a view with arguments
from the URL the view with arguments work just fine
i have defined a viewfield in a node.
the viewfield without arguments prints out in the node just fine
when I specify any argument:
[nid]
or the actual number of the node ie. 245
I get this in devload:

argument is 245, which happens to be the nid

Array
(
    [0] => Array
        (
            [vname] => activeEvents_event_RSVPs
            [vargs] => 245
            [default] => 1
        )

)

for [nid]
[vargs] => [nid]

I get the empty text message.

Funny thing is, that I set it up so that if no arguments are passed in it will show me all values.
When I actually don't pass in any arguments, then I do get the multiple values.
this seems a little strange too.

Any help out there?
Chris

Comments

socialnicheguru’s picture

place this in argument code section of view... it allows for recursion but produces a multitude of warnings each time the node is displayed:

_viewfield_nodestack_pop();

or check out this url:
http://drupal.org/node/165321

this is still an issue for viewfield 5.1.5

socialnicheguru’s picture

it outputs a huge amount of warnings/errors to the screen however but the node works just fine

sun’s picture

Status: Active » Closed (won't fix)

I'm sorry, but there is no maintainer for Viewfield for Drupal 5 and D5 is EOL very soon (with the release of D7).