Details about how this works?

patchak - July 29, 2007 - 21:58
Project:Views Argument API
Version:5.x-1.6
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi!

This module sure looks useful! I tried to add a new view with UID as an argument. I setup the argument API to pass the author of current node. I enabled a block to see all nodes that are created by the same author as the current node, but the block does not show...

I think there might be a problem in the argument being passed?
I use aliases for all my URL's if that is important..

DO you have any suggestions about what might be going on?
Thanks,
Patchak

#1

patchak - August 3, 2007 - 20:18

Please tell me, is there anything I could have forgotten, I can't get this to work at all.. is this compatible with all versions of views module... is there a basic views module version I should use with this..?? Thanks for the details.

#2

tostinni - August 6, 2007 - 05:02

Hi,
I just spend a bunch of time understanding how to pass the UID of current node to my view ;)
So here's my solution.
First of all, this module is just an API so it doesn't do anything per se. So looking to find a usefull module, I found Views Multiblock which use this module to achieve what you want (pass UID of current node to your view).

There's a good documentation for this, it explains how to create a block using the current node term ID. So juste adapt it to your need and you'll get it.

Good luck

 
 

Drupal is a registered trademark of Dries Buytaert.