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

0
votes
0answers
14 views

Create event page with basic pages related

I will try to explain what I need to do. Suggestions would be appreciated. We have a content type "Event". It has some information, as title, body, banner, etc. and referenced nodes "Event ...
0
votes
0answers
11 views

Rules: Check node reference prepopulate field value before submitting

Setup: I have a content type application with a node reference field that is prepopulated with a job node. The idea is that people click the link in the job node and are taken to the application ...
0
votes
0answers
19 views

Buiding TABS with Quicktabs, Views and Entity References

I'm trying to build a tabbed content for node using Entity Reference , Quicktabs and Views in this way: 1- Create 2 content type: simple-page and tab 2- In simple-page content type I added a ...
0
votes
1answer
16 views

open node-reference links title in popup

I want in my node view pages, node reference links open in popup window or lightbox window. Does anyone have a solution?
1
vote
1answer
16 views

Use One Content type's field as a reference in another content type's view?

I have following requirements : Add and List of Book Add and List of Quiz related to book. I have created content type for Book with field name : book_id,book_name,price etc..,here book_id will be ...
0
votes
0answers
11 views

Prepopulate a field in a Reference Dialog Box

I have 2 content types named Incident and Migrant. Both of them have fields that reference each other. My question is how to prepopulate a field in a reference dialog box while the node is being ...
0
votes
2answers
33 views

how to associate multiple nodes with one node

I have a content type "events" and all the node created under this content type will have further node. The red boxes in the above pictures are node links which are associated to the "event node". ...
0
votes
1answer
18 views

Why does entity_metadata_wrapper does not preserve node's custom URL while updating other fields?

I am programmatically loading a node of custom content type (i.e. staff) using entity_metadata_wrapper and add a reference to a collection of other nodes and then save the node. The custom nodes ...
0
votes
0answers
26 views

how to read all the nodes and its fields and display like table?

how to read all the nodes and its fields and display like table? I have node/content caled TravelInvoice Invoice Number Invoice Date Student Number Months Paid (List Field) - Apr to March some ...
0
votes
1answer
32 views

Ajax field default value on edit form

I want ajax dependent fields in one of my node's form so I am altering the form. here is the code function mymodule_form_alter(&$form, &$form_state, $form_id) { $selected_first = ...
0
votes
1answer
18 views

Relate number of values to an integer field

I was wondering how to do this with drupal. You probably wonder why I don't just use the unlimited amount of values setting. That's because I want to require the user to fill in the amount of values ...
-1
votes
0answers
25 views

How can I combine two contents field data into one content?

How can I combine two contents field data into one content? I have two contents of say 'Travel_Invoice' in one 'Travel_Invoice' it has No, Name, Months-List fields (Apr, May, Jun) in another ...
-2
votes
0answers
28 views

Populating a field when saving content

I am using the node reference module. When referencing a node, I want to populate a text field in the new node, with the value of a text field from the referenced node. My site is a review site so ...
0
votes
1answer
14 views

How to remove reference field value after delete its reference node

Let say, I have 2 nodes. 1) In first node, I have added reference node as existing node, i.e "Test node [nid:2]" 2) I just deleted nid 2 3) Went back to see first node by editing and noticed that ...
0
votes
0answers
34 views

populate a field when referencing a node [duplicate]

I am using the node reference module. When referencing a node, I want to populate a text field in the new node, with the value of a text field from the referenced node. Can this be done by a ...
0
votes
1answer
14 views

Non-directional/symmetric relation between nodes of the same content type

In a Drupal 7 website I would like to create an "is similar to" relation between nodes of the same content type. The nodes are vessels (ships) and a vessel can be similar to several others. Think of ...
1
vote
2answers
39 views

Can I access Node ID of Parent Node of Field Collection Field in field-collection-item--<<name>>.tpl.php

I am just hoping to get Node ID of parent node in field-collection-item--name.tpl.php So if my parent node name is mypage in which I have child fields of field-collection-item--name.tpl.php, I just ...
0
votes
0answers
10 views

How to display with a view elements referenced that are referenced in a second level

I'm doing this project where there are 2 levels of references, I have 3 content types, exhibition/collection/item, from item you can select the collection which is a reference field in item and from ...
1
vote
1answer
24 views

Rules: Do action on the field of referenced node

I have an "Authors" Content-type, that users can add to their "Article" node while adding a new content as Co-Authors. Note that it's a seperate content-type not users. in "Authors" content-type I ...
0
votes
0answers
29 views

Dependent node reference

I have three content types Company Store Offer A Company has many Stores , A Company have many Offers. An Offer belong to many Stores. Store has a node reference field for Company Offer have two ...
0
votes
0answers
16 views

Flagging Form integration with node reference

I'm currently doing recruitment system by using drupal 7.. In my system, the applicant need to fill up one time online resume if they want to apply the job. I create a content type name "Applicant ...
1
vote
1answer
24 views

Can I use view to filter by fields in referenced node?

I have 2 node types: Project and Designer. I have a third node type Contribute with a body that explain the contribute and a field node reference with maximum 2 values that "links" the designer to the ...
-1
votes
1answer
27 views

Reverse node reference

I have 2 content types: vehicles engines Several engine nodes are referenced to the single vehicle. Is there any way I can load all engines referenced to the single vehicle node if I have that ...
0
votes
2answers
78 views

Autocomplete on multiple fields Entity Reference

This is my case: I have a content type advertisement with some fields and an entity reference of content type product. The widget type of the entity reference is autocomplete. These are my settings ...
0
votes
0answers
14 views

How to stop multiple records returned on reverse node reference

I am using the 'references' module and the 'views' module (D7). I have two custom content types - 'Universities' and 'Courses'. The Universities content type has a custom field (field_courses) which ...
0
votes
1answer
48 views

Creating a list of node-options in different node

I am looking for a way to list nodes in a different node. Not sure how to explain this, so I will do it with an example. Let's say I'm for example making a website for a Tennis tournament, this is ...
0
votes
1answer
35 views

How to pull node reference into view on a search index?

I'm wondering how to pull the node reference into a view based on a search index. I did this with my earlier product catalog by adding a relationship to the product referenced node, adding the node ...
0
votes
3answers
33 views

Referencing other nodes created by the same author

I have a site where members can sign up and post an article (standard content type) which I'll call STYLE A. I now need to allow the members to create a different article (another content type) which ...
0
votes
1answer
58 views

Change list of values dynamically with a click

I realize my request is a bit complex, I hope someone can answer. I have a drupal 7 clean installation. I have a node type called Whole and another one called Piece. A Whole contains one to many ...
0
votes
0answers
19 views

Need help to manage unusual way of nodes referencing (using term)

I have such material types as 'Producer' and 'Dealer'. 'Dealers' may sell a goods from 'Producer'. There is a field containing dealers list in 'Producer' material. I need to render that list with ...
0
votes
0answers
18 views

Entity Reference Autocomplete on 2 fields entity

Now I have a content type offer with some fields AND an entity reference of the content type product. The entity reference is an autocomplete widget. When you create an offer, you type in the title ...
0
votes
1answer
60 views

Node relationships, backwards or forward?

I know node references are not as popular as entity references are, but I'm curious on backwards and forward relationships. This is a use case I see someone doing. Job < -- Job Application 2 ...
0
votes
0answers
30 views

how to access the nid of selected node using nodereference textfield

I'm using drupal 7.28 and node reference 7.x-2.1 I need to know the nid of a selected node using cck node reference field, not de #default_value of the field but a new one I've added ajax to the ...
0
votes
1answer
39 views

why node ref not saved in hook_node_presave

I have a node reference in my custom content type, It can get some content type as reference in unlimited , I want to programmatically add nodes to it , some part of my code is function ...
0
votes
2answers
40 views

Q&A/ticket system help with permissions

I am trying to build a Q&A / Ticket System with custom nodes. the current status is: Nodes: Company: on the company node you get a link with "I want to ask a question" Question: on the question ...
0
votes
0answers
36 views

Permissions for referencing user's own nodes

Problem When I'm logged in as a "Administrator" (i.e., a user with pretty much every permission on the site although technically not user=1), I can go to node/add/type1, add a reference to a node of ...
0
votes
1answer
36 views

Sending a message to users of a flagged node when it is referenced

I have a site where a user can watch a node using the Flag module. Users can also reference the node and I wanted to set up a rule that when the node is referenced, a message is sent to all the ...
-1
votes
1answer
28 views

Entity Reference field fails when choosing from more than 1000 items

I've set up my Drupal system to allow users to select from a list of locations, which are registered as nodes. However, after importing my ~6000 locations the field lookup no longer works with the ...
0
votes
0answers
26 views

Default search does not bring node reference field.

I have a node reference field in one content type.I am not getting the search result if I do search with this node reference field value.this field is an auto complete field.What i need is if i search ...
0
votes
0answers
25 views

Add below each node type A the related nodes of type B

How can I do the following: Display all nodes of content type A (done!) Add underneath each node A fields of related nodes of type B (???) I use Drupal 7 and Views 3. This post suggests the use of ...
0
votes
1answer
104 views

dd a class=“” to anchor on the “read more” links of a node

How I can add a class="" to anchor on the "read more" links of a node. Im use a bootstrap theme and i need add de btn-default class to anchors, thanks <ul class="links list-inline"> <li ...
0
votes
1answer
35 views

Creating a user reference field based on a similar field on a referenced node

I have 2 content types (project and issue), you can think of this as an OG style set up, the child nodes reference the parent node via a node reference field called "project" on the issue node type. ...
0
votes
0answers
26 views

How to make a groupmember automatically a member of the referenced group?

I have a site which makes use of organic groups using two group contenttypes. When a group is created (type A) it will automatically reference to another group. (type B) I want users who received a ...
-1
votes
2answers
99 views

Undefined variable: nid

I put this code in Rules Action PHP Evaluation. What I want is getting the field_price's value, changing it for negative and returning it for Rule. With this I will be able to charge points because in ...
0
votes
0answers
15 views

View relationship apply to fields and not the view

So I have a few node references and am using Corresponding node references to link both nodes to each other, I'm using Drupal 7. The node references are referencing the same content type in which it ...
1
vote
2answers
27 views

How to setup node references

im creating website for racing events, basically website have added all races that are happening during one year, and it stores data for previous races. I was asked to move from website from .net ...
0
votes
0answers
21 views

Group multiple values of a node (by reference) to display in a view

I have two content-types Languages Meetings Meetings have fields name, time and languages (which is a node reference to languages); user can select in which languages the meeting is available; ...
0
votes
0answers
44 views

Exposed Filter with Filtered List of Node References

I have 6 content content types which have a node reference field which references a single content type (manufacturer). I am creating a view which uses 2 of the 6 base content types, and I am trying ...
0
votes
1answer
34 views

Display node's details instead of ID with relation module

I have create Two node ‘Partners’ & ‘Project form’. I used relation module & create directional relation between two nodes. Partner’s node have following fields: I have to select multiple ...
0
votes
1answer
54 views

Create a view block on a node reference field (using Node Reference)

Creating a related content block on a node reference field. I have two content types: Article and Author. The content type Article has the field Label: Por 'field_autor' which is a node reference to ...