Download & Extend

dinamically define view's arguments in nodereference definition

Project:Content Construction Kit (CCK)
Version:6.x-2.0-rc4
Component:nodereference.module
Category:feature request
Priority:critical
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

Drupal version: 6.3
1. Instructions to configure a fresh drupal installation to reproduce the problem:

1.1 Install Drupal 6.3 with cck and activate modules: content and nodereference
1.2 Create a content type "Brand" with no fields
1.3 Create a content type with "Model" with a nodereference field of type "Brand" (field_model_brand)
1.4 Create a view "brands_view" with the following parameters:
a) Display: Block
b) Fields: Node:Title
c) Filters: Node:Type = Brand
1.5 Create a view "models_of_brand" with the following parameters:
a) Display: Block
b) Arguments: Content:NodeReference:Brand(field_model_brand)
c) Fields: Node:Title
1.6 Create a content type "Car" with the following fields:
a) field_car_brand of type nodereference of type Brand
b) field_car_model_brand of type nodereference, click on "Advanced - Nodes that can be referenced (View)" and select models_of_brand view.

Now, the cuestion is:
In the arguments section I can only supply constant Brand nodeIDs?
I want that when I create a car, the field_car_model_brand select list is populated with all models of that brand. Is any way to get this done with nodereference module?
Thanks

Comments

#1

Title:views» dinamically define view's arguments in nodereference definition

#2

Priority:normal» critical

please, is critical for my site to find a solution to this, and I don't know what else I can try... Any comment will be welcome

#3

Category:support request» feature request

#4

here is some hint on how to make it possible http://groups.drupal.org/node/3471

#5

Status:active» closed (duplicate)

this is older but i think that #349301: Node reference, using the advance view option, arguments are too limited has a better idea.

nobody click here