Topics related to the node reference part of the Drupal 7 References module, the Node Reference Drupal 6 CCK module, or simply related to referencing a node.

learn more… | top users | synonyms

2
votes
1answer
51 views

How can I pull the latest published revision for a referenced node using the CCK node reference field?

Right now if I reference a node in another node via a CCK node reference field, if I change the referenced node, which creates a new revision of that node, it shows the edits on the page that's ...
1
vote
2answers
312 views

Can I use Node Reference Field as a Text Field if there are no references?

I'm creating a content type Event. I want to reference the node of another content type Venue, so the user will be able to click to the venue node from the event. To reference the venue on the Event ...
1
vote
2answers
5k views

views and contextual filters with entity reference field

how do you use contextual filters to a views block when you want to use a reference field from the content type displaying the view? here's the simple scenario artist content type has some basic ...
2
votes
0answers
622 views

Using Entity reference + Views to create members select list

How do i use VIEWS + ENTITY REFERENCE to get list of active members specific to the CURRENT GROUP [created via organic groups]. I have created a view that list active members belonging to the group. ...
3
votes
1answer
258 views

How to relate nodes by field, not title?

I'm using Feeds to import content from XML. The content is films and their showtimes, like this: <film id=av1> <title>Avatar</title> <showtimes total="2"> <showtime ...
0
votes
1answer
57 views

Search for node to reference

I have a content type that has a reference field to another content type, call it "associated". When editing the content, I'd like the user to be able to search for the "associated" entity to link ...
0
votes
0answers
125 views

All Descriptive URL Aliases were changed to Node Aliases

The company that manages my website recently updated a module. When they did, all of my seo-friendly URL aliases changed to nodes, i.e. node/1465, node/132 etc. Google has started to re-index my site ...
3
votes
2answers
165 views

How to select a particular node reference in a view programmatically

I have two custom node types : catalog_item and category. The catalog_item node has a cck node reference field that allow a user to select multiple category nodes. I want to be able to select a ...
3
votes
2answers
345 views

Creating Nodes Of A Content Type on-the-fly While Creating A Different Content Type

Exposition On a Drupal 7 site I have two Content Types with the following fields: Scenes Scene Name Starring (Actor's names) Streaming Link Releases (DVD Releases) Title Description Starring ...
0
votes
1answer
410 views

Linking content type nodes with each other

I have two content types that I want to link each other. I checked node references, but node references only allows me to link to others when creating a node of that content type. What If I wanted to ...
2
votes
1answer
1k views

Populating a node reference field using PHP in Rules

I have a rule which is triggered when a node is flagged. Currently, the rule loads some content (1) that has been referenced by a field on the flagged content. I have set the rule to create a new ...
0
votes
2answers
448 views

Node Reference Views - Use created/edited node fields as contextual filters

Greetings fellow Drupalers, How can I use a node's fields to limit/filter the same node's node reference field? For instance, how could one use a date field to filter the view feeding the node ...
0
votes
1answer
40 views

Can I create a node that acts as a pointer to another node of the same type?

For example: There are two types, "contest" and "recipe". A recipe can reference any number of contests, and a contest can be referenced by any number of recipes. There is a recipe View that ...
3
votes
2answers
553 views

Specify a template for referenced nodes

I was wondering how to specify a specific template for rendering a node when it's referenced from another content type.For example I have a content-type (product) and I use the node--product.tpl.php ...
0
votes
0answers
228 views

Create sub pages without using books

What is the best way to create sub pages in Drupal 7 that has more than one level without using Book module?
1
vote
2answers
224 views

Views with node references result redundant records

I have three content types - Leg, Transport and Ticket. Transport has a node reference to Leg. Ticket has a node reference to Transport. Thus, Leg and Ticket have an indirect way of relationship. ...
0
votes
1answer
205 views

Creating multiple node references

I have the following content types - Efforts, Objectives, Groups and the user. Efforts and Objectives can be shared by both users and groups. A user/group can have multiple objectives and efforts and ...
1
vote
2answers
104 views

Combining 2 Queries to pull titles of 2 related content types from the node table

Time to put our database hats on! We have a complex database call that responds to an AJAX request. We've omitted most of the code to just include the portion that is giving us trouble. We are working ...
1
vote
0answers
208 views

Views fields relationship and node reference count

I have two content types A (=leg) and B(=review). The later has a node reference(=field_leg) to A. I'm building a view. I want to include a field which displays node count of review of each leg. There ...
1
vote
1answer
55 views

Using views arguments to highlight/alter corresponding entries instead of filtering

So, I am making a tree based tab style menu for a section of my site. There are 3 content types with node references going up the tree. They are ordered: Section < Product < Package. If I am ...
2
votes
2answers
89 views

Author of question flags only nodes that are answer to his question (node reference)

I have 2 node types - questions as parents and answers as referencing nodes. I would like to display flags only for nodes created as an answer to a given question. This should be only selectable by ...
1
vote
2answers
469 views

D7 views list of nodes with node reference count

I have two content types A and B. The content type B has a node reference to A. I would like to create a views list which show nodes of A with no. of node count of B. It is very similar to a list of ...
0
votes
4answers
2k views

Auto create node reference in Drupal 7

I have made a new content type called wall and used user reference on it. Is there a way to auto create node whenever a new user is registered? I found the Autocreate Node Reference module but it ...
3
votes
1answer
229 views

Multiple node references using url-widget

I am trying to set up a structure of three content types where two references to one or more parents. The main content type is assignment The second is assignment_image that references the ...
0
votes
1answer
495 views

How to get the node title of a refernced node

I'm using Drupal 7, and trying to work some magic from within a hook_node_presave() function. I have a node reference field, and I'm trying to get the name of the referenced node rather than nid. ...
2
votes
5answers
2k views

How do I change the machine name of a field once it's been created

I spaced out while typing the field name an now the machine name is not what I wanted it to be. I know it's just an annoyance. but I'm wondering if there is some way to alter the machine name of a ...
5
votes
3answers
537 views

Displaying node reference select list as ordered menu list

I want to display the Node Reference Select List (usually a long list of nodes, unordered and generally quite long) as an ordered bunch of nodes, that replicate the structure of the menu system. The ...
2
votes
0answers
144 views

Node reference list based on node filtered by group membership

I have a content type called, "Class Templates" that needs to be able to reference one or more nodes of its own type as a prerequisite list for the classes. The catch is that I'm using the Organic ...
1
vote
1answer
155 views

How to relate a complex field to another node

I'm building a hobby site that is going to be used to record results (golf). A round of golf will have any number of players, selectable from a known list of players. I would like to be able to ...
0
votes
1answer
569 views

How to make a node reference field that can also behave as a text field if no reference exists

I'm looking for a flexibly way to allow a user to input a a field, but also to have that field be a node node reference if the the node reference already exists. In other words, lets say I have a ...
0
votes
1answer
66 views

How can I create a View to give me a list of nodes that share a nodereference with the User's profile?

I have a "Company" node type and a "Content" node type. In my User profiles I have added a nodereference to the appropriate Company node, and in the Content nodes, I have also added a nodereference ...
0
votes
1answer
716 views

Passing a node refernce id to a form via hook_form_alter()

using Drupal 7 I'm trying to write a module that alters the node add form of a certain content type. This content type has a node reference field that normally displays as a drop-down. I'm also ...
1
vote
2answers
415 views

Node reference URL in Drupal 7

How can I make a node reference URL visible only to the person who created the page/article?
0
votes
1answer
58 views

1 parent nodetype with 2 subnodetypes - show all subnodes in a viewlist

Here is the situation: Using D7 and views 3. I have made a nodetype 1. I have two nodetypes 1a and 1b (node referenced to nodetype 1). I want to show all nodes (1a and 1b) attached to nodetype 1 ...
1
vote
1answer
107 views

How do i implement symmetric relationship with node reference module in drupal 7?

i have a content type with one node reference field to same content type and so i related that content type as like A->B,B->C,C->D,D->E and so on.But i want to relate E to C,B and A along with D ...
0
votes
1answer
119 views

Making contextual node paths and reference lists

First off, I am about to set up a site presenting a catalog of products. Since it's quite possible that at some point we'd open a store, I decided to use Commerce Product Display right from the start ...
2
votes
2answers
1k views

Is there an alternative to the Node reference, and the Feeds modules?

I am using Drupal 7, Reference Module (references-7.x-2.x-dev), and Feeds Module (feeds-7.x-2.x-dev). I created 2 Content Types: Address Book, and City. The Address Book content type has a node ...
0
votes
3answers
309 views

Rendered node display for anonymous users?

I would like to use a view field (node reference to an og group, configured to display a teaser) as rendered node inside a view and display the view to anonymous users. Do you know how to achieve ...
2
votes
2answers
389 views

URL Aliases not recognizing Node Reference Tokens?

I'm having trouble getting my URL Aliases to cooperate with certain Tokens... specifically Tokens generated by the CCK Node Reference module. Here is the URL structure that I'm trying to establish: ...
3
votes
3answers
1k views

“Add content” button on related content node?

Let's say I have 2 content types "Shopping center" and "Shop". "Shopping center" is a OG group. "Shop" has node reference field "Shopping center". I would like to allow moderators to add shops to ...
5
votes
2answers
147 views

Can I search for parent nodes from deep child nodes using Views?

I've a complicated hierarchy of nodes. Node A contains(by node reference) multiple B nodes, each B contains multiple C nodes and so on. Using Views will it be possible to reach C from A or vice versa ...
0
votes
1answer
83 views

Errormessage with reference module

When I want to add a link between two content types I got the following error: Notice: Undefined index: args in _node_reference_view_settings_validate() (line 161 of ...
1
vote
2answers
278 views

Add an item to a list for Rules and References

I have a Node Reference in Users. When I set Add an item to a list with Node identifier for some event, it doesn't add. It looks like this Add an item to a list Parameter: List: ...
3
votes
3answers
364 views

Node reference: Select an exisiting node, or create a new one

I am using Drupal 7, with the References module installed. I was wondering if there is a way (or perhaps another module) so I can select an existing node from the list or create a new one on the fly ...
1
vote
1answer
1k views

How can I set a node reference programmatically?

I'm trying to write a custom PHP action in Rules module. Each time after creation of a certain type of content, it should create an additional node with a reference to the created node.( Field by ...
1
vote
1answer
41 views

best reference to theming

I'm completely new to drupal and am starting to take interest in the process of theming. I was wondering if anyone could suggest a reference or perhaps even just insert a snippet of code explaining ...
2
votes
1answer
208 views

How can I implement 3-way relationship (reference) between entities?

I have 3 entities: A,B — node types, C — user. Node A has 2 reference fields, one to B and one to C. What I need is to show in a view all B nodes for a certain C, which has a relation A-B=A-C
3
votes
2answers
435 views

Using a node reference in Drupal 7, is there a way to tell what the parent node is?

I have a content type called Movie, it has a node reference to a content type called LeadActor. The LeadActor content type can have node references of its own back to several different Movies nodes. ...
1
vote
2answers
402 views

How to display add node form with node reference?

I have a very similar functionality to stackoverflow - i.e. I have a a view that display question and below it there are answers (seperate nodes references). Currently, in order to add new answer to ...
0
votes
1answer
237 views

How do I update commerce product display nodes based on SKU (of the referenced product)?

I would like to update the product display nodes with taxonomy terms based on the SKU of the referenced product of each node. Is that possible, programmatically? I know the SKU. I need to find the ...