The Entity reference module provides a field type that can reference arbitrary Drupal 7 entities.

learn more… | top users | synonyms

0
votes
0answers
4 views

How can I add a “group member” field to my Organic Group content type?

I want to create a content type called “task” that includes a field that is a select list of all members in the group. The person creating the content should be able to select the group member that ...
0
votes
0answers
10 views

View show Nodes which are not referenced by node

I've got two content types: A and B whereas A contains 3 Entity References to B (so I can reference 3 B's from one A). Now I'd like to create a view with all B's which haven't been referenced (by any ...
0
votes
0answers
7 views

Entity reference field using View with contextual filter on Taxonomy term not filtering

I'm trying to limit the options a user can select in a field for one of my content types but I'm running into a bit of an issue. I'm using an Entity Reference Field with a View to return only the ...
0
votes
1answer
7 views

Tag every value of a single multi-value field

I have a photo contest website where every participant can upload up to 3 photos. I created a participant node type with a multiple file upload with max 3 entries, but now I have a problem. How can I ...
0
votes
0answers
20 views

hook_node_presave() fires twice when adding a new node

In a custom module I use hook_node_presave($node) on node objects with referenced fields. When creating a new node, ddebug_backtrace() shows that entity_save is called first and then node_save. ...
0
votes
1answer
27 views

Drupal 7 - Entitiy Reference - Reference field to a conent as a link

I created content - lets call it X - which has a field with the type of entitiy reference (done with Entitiy reference). This field refers to a content that can be selected via select list. When X is ...
0
votes
2answers
12 views

Adding a specific field of a content type in the display of another content type

Sorry I didn't know how to put my question easily, so I detail my problem here. I use Entity Reference to reference various fields in my contents, and it works good. Now, I have a "Fruits" content ...
0
votes
1answer
12 views

A relationship to the latest referencing entity in views

I am not quite sure how to do this. I have content type A and another content type B which references content type A using an entity reference field. So A can have multiple nodes of type B referencing ...
1
vote
1answer
30 views

Entity reference field on select show some data about entity

consider i have a customer content type with fields (name, phone, address) and i have a feed back content type with an entity referenced field to customer. When the user select the customer i want ...
1
vote
1answer
21 views

Extending Entityreference Field Class to contain additional input fields

I am currently trying to build a custom field consisting of an EntityReference Input Field (Autocomplete Widget) and two textfields to add additional information in Drupal 8beta11. I used the code ...
0
votes
1answer
17 views

Using Rules to create an Entity Reference if two fields in different entities match?

I'm attempting to use a "registration code" entered during a user's registration to create an entity reference to a node with a corresponding code. Any help is greatly appreciated. Specific use ...
-1
votes
3answers
25 views

All Contents related to a content list

Say a user has a list of 2 favorite books , one with taxonomy term "adventure" and one with taxonomy term "art". (n favorite books, related with m taxonomy terms) How to automatically display a list ...
0
votes
0answers
9 views

Entity Reference, filtered by node in data edit

I tried to search this both here and googling 10+ pages of results with no luck.. Here's my problem: When editing a node, I want the user to be able to select a reference to another content type, ...
0
votes
1answer
17 views

Entity reference field with custom class

I created two content type Writer & Book. Writer has entity reference field that link to Book nodes. When display Writer node, I like the book nodes that attached to it display as list and the ...
0
votes
1answer
21 views

Entity Reference Image not rendered

I have a content type with an Entity Reference field. The field references multiple images. Using Display Suite, I can set the display format to "entity id" and when I view the content, I get a list ...
0
votes
0answers
12 views

Advanced polls embedded in another content type?

On a D7 site I'm running two content types, 'news' and 'advanced polls'. I wanted to use 'Advanced polls' as an embedded content type within 'news' content type so users can create polls as part of ...
0
votes
1answer
12 views

Entity reference edit link

I have two simple content types Parent Child The Parent content type has an unlimited value entity reference field which allows it to reference Child nodes. The Parent content type Manage display ...
0
votes
0answers
9 views

EVA displaying nodes referencing to the same node type

I have 3 types of content: Category, Subcategory, Article. Article points to Category (field_category). Subcategory points to Category (field_category). Relationships are made with Entity ...
0
votes
1answer
14 views

Add all related content from entity reference with views

I really hope someone can help me, because it's the last thing I have to do in this site, and I thought it would be more or less easy, but I can't get this to work. Not even sure if this is the wright ...
0
votes
0answers
21 views

Switch Database in Entity Reference

The Drupal site is connected with two databases like this: $databases = array ( 'default' => array ( 'default' => array ( 'database' => 'default', 'username' => ...
0
votes
0answers
9 views

Allow user to select field widget at node form

How can I allow user to select field widget type directly at node's form page? I have entity reference field, and editor wants in some cases input values as multiple autocomplete fields, and another ...
0
votes
0answers
13 views

Filtering aggregated referenced nodes

I have two content types and a view that I want to count the number of Requests per Trial. The thing is I want to filter the Requests in a view of the Trials. Here's the problem laid out: Content ...
1
vote
3answers
42 views

view with nested relationships

I have 3 node types. A, B and C. A has an entity reference to B. B has an entity reference to C. A has a list field. One of the values is "4". I need to display all node of type C where the top ...
0
votes
0answers
14 views

How to render fields from User profile using user reference?

I have content type Team in which user reference is used. Now I need to get the user profile fields based on the user reference in the content type. Example - In team content type i am adding 1 user ...
0
votes
1answer
24 views

Can't add a new field of type entity reference!

Other field types can be added, but only a field of type "Entity Reference" can't be added. I am getting a status message "Die Einstellungen wurden gespeichert."(Configuration has been saved), but ...
0
votes
1answer
18 views

How do I make the nodes referenced by organic group content also be OG content?

I have an organic group called 'newsletter'. I have two content types - 'issue' and 'article' - in 'issue' (which is set to be a group content type), there is a node reference field to articles, and ...
0
votes
1answer
35 views

View of users with the same 'entity reference' field vale

I'm running a D7 site where every user profile has a 'entity reference' field referencing to their manager. All I want to do is to create a list of the users sharing the same manager in context to ...
1
vote
1answer
35 views

Entity reference Hierarchical Select between three content types?

I have three content types Courses Sections Chapters In Sections content type have Entity reference of Courses. Then Chapters Content type have two entity reference fields as Courses and Sections. ...
0
votes
1answer
26 views

Dynamically populate one select based on another

I'm new to Drupal and well aware this question has been asked before, but I couldn't find a situation similar to mine, or maybe I didn't understand it. I have three content types: Team with fields ...
1
vote
1answer
21 views

Prepopulate the field twice

I'm using Entityreference Prepopulate module, but I'm wondering is there way to pre-populate the field more than once. Example: www.testsite.com/add/node/custom&field_venue=92,92,92,183 I want ...
0
votes
1answer
15 views

How to list nodes that share one or more of the same entity references as the current node

I have three content types Projects, Campaigns and Blog Posts. Campaigns and Blog Posts share an entity reference field that allows for selection of one or more related Projects. I currently have a ...
0
votes
2answers
30 views

How to not let users remove the entity reference once they added

I'm using D7. I have one content type, let's say Content-A. And, the Content-A has a field whose field type is Entity Reference. Content-A's authors can reference other user with the content through ...
0
votes
0answers
25 views

how to fill some fields depent on the value of a list box

remember the create password page of Drupal! while you are entering characters it tells you how string is your password! now I want to have something like this in a list box but a bit different. I ...
0
votes
0answers
29 views

Reference between Views and Nodes?

Here is a workflow to illustrate a use case, where a User adds a new node from the Deliverable content type. In the Add page, the Demonstration title is prepopulated. The Demonstration title ...
0
votes
0answers
25 views

EntityMetadataWrapperException: Unknown data property og_user_node?

i have disabled "Administration menu" then after i enabled "Administration menu" still i am getting below error in home page "The website encountered an unexpected error. Please try again ...
0
votes
2answers
59 views

Views, Pathauto and contextual filters

My question is rather simple, but I didn't manage to find anything that can help. Summary of my setup : Drupal 7 Pathauto Views Entity Reference So I have various custom content types, which I ...
0
votes
1answer
23 views

On node edit form, how to edit field from a referenced entity?

I've got a master entity (node) that users edit, and I've got an entity reference on it. I'd like to be able to edit a field on the referenced entity on that master referencing entity's edit form. Is ...
0
votes
0answers
23 views

Search API Solr entity reference field

I am having an issue with Search API Solr i am not able to search for content via the entity reference field i have a content type structured like this Title body Author Publisher (Entity ...
0
votes
1answer
21 views

How to change “New content” text in entity connect autocomplete edit/add buttons?

using entityreference autocomplete widget (field-widget-entityreference-autocomplete) with entity connect I have the buttons "New content" and "Edit content". How can I just rename them in "New" and ...
0
votes
2answers
26 views

Creating a node with multiple joined fields

I'm sure I used to know how to do this, but now I can't work it out. I have a content type, lets say it's called "project". A project can have multiple contributors, and for each contributor I need ...
0
votes
0answers
20 views

Can not get inline entity form to work with commerce product and room rooms_unit_type

I have added an Entity Reference field to a Commerce : Product Type that uses the Inline Entity Form widget. The reference is to the Bookable Unit Type bundle that is created by the Rooms (more ...
0
votes
1answer
28 views

Display entityreference field in search-result.tpl

The entityreference field (field_parent) shows up in node.tpl using print render($content);, but isn't displayed in search-result.tpl. My search-result.tpl looks like this right now: <li ...
0
votes
0answers
31 views

How to render / preprocess list of entity reference nodes?

I hove a content type that editors can 'attach' related nodes to. When I 'theme' / 'style' nodes of this content type through view mode everything is basically fine: the related nodes are rendered ...
0
votes
1answer
23 views

Can I create a view that combines multiple images from single node with images from other nodes that entity reference the original node?

I have a content type called "exhibition" that contains many images added via the standard image field. I also have a separate content type called "video" that uses an entity reference to point to an ...
0
votes
0answers
8 views

Listing order of content

I have a site where one content type serves as a "container" for another content type. Let's assume an example of garages and car content types, where each garage has a number of cars. I need a way ...
0
votes
1answer
24 views

How to set a value using Rules

I want to add an additional field on each orders, and that field can be edited. I've installed the Field Collections module. I've added a field in the order settings using the Field Collection field ...
0
votes
0answers
23 views

Pretty Tag display for entityreference (autocomplete)

I'm using entity reference and entity reference autocreate to make entities on the fly if they don't exist. Works like a charm. Now I would like to make a nicer tag display. The standard comma ...
0
votes
0answers
18 views

How to connect/combine two specific content from different views

I have two views. Inclusions and Add-ons. On the form, the user will choose an Inclusion first, and then the user can chose an add-on, these items are displayed using views and the select button ...
1
vote
1answer
24 views

How do you get the display settings of a field on a particular content type/display

I'm looking to preprocess a field. The field type I'm wanting to preprocess is an entity reference field. I need to know what view mode has been selected on the display settings for this field (see ...
0
votes
1answer
17 views

Can you filter nodes in a view by the last date of one node referencing that node

So I have two content types Tours and Concerts. Concerts has an entityreference field that references a tour. I want to filter a view of Tours and only show tours that still have upcoming concerts. ...