Quantcast
Channel: Question and Answer » node-references
Browsing all 32 articles
Browse latest View live

is there anyway to populate nodes when type a custom content type value using...

is there anyway to populate nodes when type a custom content type value using node reference in drupal 7 ? node refernce populate nodes when we start typing the title of the nodes . is there any option...

View Article



css not working in node reference view

i am working on a development site. i am on hold because of two problems. i have two content type A and B. i created a view for B content type. i used node reference in content type A and call the...

View Article

Views show referencing nodes

I have a custom content type called “questions” and few others , “A”, “B”,”C” . (the naming is irrelevant, actually). Each one of the following content types “A”,”B”,”C” has a field that is referencing...

View Article

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...

View Article

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 content...

View Article


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 vehicle...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article

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...

View Article


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...

View Article


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 links...

View Article

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 have...

View Article

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...

View Article

Can I access Node ID of Parent Node of Field Collection Field in...

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 want...

View Article


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 field...

View Article

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...

View Article


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...

View Article

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...

View Article


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 =...

View Article

Image may be NSFW.
Clik here to view.

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”....

View Article

In nodereference field of a content type, Is it possible to show the content...

In nodereference field of a content type, Is it possible to show the content type name added with the autocomplete results ? Example : I have a content type named Article which has a node reference...

View Article
Browsing all 32 articles
Browse latest View live




Latest Images