Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.0-alpha1
Component:
user data
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Mar 2011 at 18:53 UTC
Updated:
12 Apr 2011 at 19:31 UTC
I have something I'd like to do with Views arguments and I'm unsure how to do it.
Here is a thumbnail sketch of what I'd like to do: http://andrewjarvis.com/sites/default/files/legacy_child_nodes_view.jpg
I've read through the documentation and from what I understand I'll have to do most-if not all-of it in the PHP default argument itself. The documentation on Views arguments doesn't seem to get into the nitty-gritty of how to actually write these arguments, if there's a documentation page I'm missing that's fine, but I think most of it is written assuming a rather high "current knowledge".
| Comment | File | Size | Author |
|---|---|---|---|
| legacy_child_nodes_view.jpg | 278.68 KB | AndrewJarvis |
Comments
Comment #1
dawehnerYou just have to get a default argument.
Some kind of code like this works.
This will probably not work 1by1 but i guess you get the idea.
By the way: you should update to the dev version of views and ctools. It has a new ui.
Comment #2
merlinofchaos commentedLooks like dereine answered this, I think.