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

learn more… | top users | synonyms

1
vote
1answer
18 views

entity_metadata_wrapper - how to remove one item from entity reference field

I have a entity reference field that holds relations to multiple nodes. I have to remove one item programmatically based on nid. Normally to remove item I've just set it to null like this: ...
0
votes
0answers
7 views

Entity Reference JOIN value

I'm importing hundreds of nodes from SalesForce but one field from SF imports a ID value like a0KG0000001jLrwMPT. That value refers to another SF Objet. Then I imported the other object entries but I ...
0
votes
0answers
11 views

Mailchimp subscribtion form error [closed]

I need to use mailchimp subscription in my site. I added all the details in back-end and created a content type with mailchimp subscription field. While i am creating a content with these content ...
0
votes
0answers
13 views

Views: how to list referenced nodes on the refering node if current user is ogmember

I have two group content types where one of them has a entity reference field. Content type A is the parent. Type B is the child. On every node of type B i want to display a view that lists nodes ...
0
votes
0answers
16 views

Different product prices per line item options

I'm working with Drupal Commerce, and i have a node type called "travel" with a product entity. This product have some static fields types like "city" which are used to define different prices ...
0
votes
0answers
14 views

Entityreference field disabled [closed]

I want to disable an entityreference field on node-edit form, so users can not change the value. This is the code I have which is not doing what I want: function ...
0
votes
2answers
21 views

Views: How to list nodes that are referencing to nodes, pointing to the current node

I have 3 contenttypes where 2 of them have reference entity fields. Each their own entityfield. Contenttype C is the parent. Type B points to type C. Type A points to B. On every Node of type C i ...
0
votes
1answer
7 views

View: show title of field where user is entity-referenced

I've got a content type of "Course" with entity references to users for Professor, TA, and Designer. Each user can be any of the three roles for any course. I've got a View that shows, for the ...
0
votes
1answer
8 views

(Rules) In Rules, is it possible to access the fields of a referenced entity of an entity?

I've got this scheme: entity person, bundle person, entity health, bundle health. Bundle health has field energy. Bundle person has an entity reference of type health. In Rules data selector, I want ...
0
votes
0answers
7 views

List nodes which reference organic groups in which the logged in user is a member

I've nearly got this working, but can't get the last step. Here's what I'm trying to do: I have a node type 'Project', which users can be members of. 'Projects' can have 'Project Updates'. ...
0
votes
0answers
16 views

How to get an entity reference's field in a database query

I have a simple query right now, a db_select that returns the fields I need, but the problem is that one field is entity reference and I don't know how to get its fields from the db_select. The other ...
0
votes
1answer
16 views

Workflow for Entity relationship / relations

I have a content type called Blog. I want the end users to be able to add new relations between the blogs, so that we can build a network of related blogs. But the challenges I am facing are Users ...
0
votes
0answers
8 views

Global Combine fields filter (Views) does not include Referenced Entities (Content Type)

I have an Content type which contains another Content type, I managed to put in place the relationships using Entity Reference I also configured Views module to display the contained content type, the ...
0
votes
0answers
24 views

Content type by entity refrence node id

I have created one View in which I am using an Entity reference node id from a relationship of another content type. Now according to my project needs, I need a list of nodes based on the node type of ...
0
votes
1answer
17 views

How to get a field with a relationship in a view

I have a design where a car belongs to a brand and let's say a brand belongs to acategory, using entity reference module I was able to display the brand in the car view, but I don't know how to ...
1
vote
1answer
22 views

Configure Panels That Uses View With Entity Reference For User Profile

I am having a hard time setting up my Panels page for the user profile page ie: /user/%user I am using the "Reference" module, and have my content type "News" reference users. I created a view for ...
0
votes
0answers
37 views

Missing bundle property on entity of type node

This issue happens when a user is on my comment page and selects save without adding any information. I've narrowed it down to my node--editorial.tpl.php page. when i comment everything o ut on this ...
0
votes
0answers
10 views

Can Salesforce Suite handle many-to-many relationships with SF junction objects?

My salesforce implementation has a bunch of objects with many-to-many relationships, just as Drupal's node references are many-to-many. But in Salesforce I need to create junction objects to hold ...
0
votes
0answers
7 views

Multiple Entity Reference creation using Services and Autocomplete Widget

This is in reference to: Entity Reference create problem with REST server using Services and How to use Services to create new node with Entity Reference field? What if I want to create multiple ...
0
votes
1answer
20 views

theming a rendered entity in a view header

I reference a node into a view header (rendered entity). I need to do some changes in the output of this referenced entity. Does anyone know the filename for the needed template?
1
vote
1answer
32 views

Assign location from Profile2 to a node

I would like to allow user when creating new content (an event) to assign (from drop down) one of the locations defined in his profile (Profile2)... Is there a module which could help? If not any hint ...
0
votes
0answers
13 views

entity from step relation reference

I have a question: If my entity form table Stratum relation What module can I use?
0
votes
1answer
29 views

Search API View, search relation fields

I am creating a search api view based on Search API (with Database backend for now (will change to solr later)). I have 2 entities that are being indexed i.e. project and client. A project contains ...
0
votes
2answers
54 views

How to create a quote request form in Drupal 7

I'm building a Drupal site that uses nodes to display a number of high value products. There are no e-commerce features due to the high value of the products being offered for sale, but the client ...
0
votes
0answers
31 views

Retrieving entity data in views with dynamic (per-row) relationship

I have custom entity 'entitystatus' that holds 'entity_id' reference and 'entity_type' field. Now I need to build a view that will display Entity statuses attached to different entity types (i.e. ...
0
votes
1answer
34 views

Filter content by own content or admin

So I have an entity reference field on a node, the widget is a select-box. I want so that an user can choose one of their own authored nodes as a reference OR if an admin is logged in, they can ...
0
votes
0answers
12 views

Get news of the event belongs to a group of a user

I have 3 content types: Group, Event and News, an event belongs to a group, and an event have news, so that it is like this: Group <-- Even <-- News. I need to get the news of the events that ...
0
votes
1answer
14 views

Is Drupal internationalization development effort embracing the new “Entity Translation” method? Is it ready for use?

I'm working on standing up a new Drupal 7 site that will have content in multiple versions, and as I'm reviewing the i18n module, I see that there are now two methods for translating content: "Content ...
0
votes
0answers
42 views

Entity Reference, display hierarchy list for taxonomy terms

How do I display, in select widget, a hierarchical list of terms of taxonomy with an entity reference field with these settings: Target type: Taxonomy term Entity selection > Mode: Views: Filter by ...
0
votes
1answer
11 views

How to let selected role submit multiple data for 1 node?

I want to do a product price compare site. So a product is a node and product can have many different price at different store. I want to allow selected user's role able to submit new price or new ...
0
votes
1answer
8 views

Eliminate Views Entity Reference Duplicates. I have some titles the same on purpose

I have a view with an entity reference pulling in what I need from a content type. There are, on purpose, titles that are the same. Is there a way to compare what is output and then only show one of ...
1
vote
0answers
34 views

How to customize my Drupal search?

I have a Drupal 7.x intranet and I am using the Apache Solr Search module as the backend (basic out of the box setup). My site has content types and custom fields, but it is not using tags/taxonomy, ...
0
votes
0answers
16 views

Node Add Contextual select lists

I am trying to accomplish the following: Let say i have a content type 'info' that adds user reviews to songs of certain artists. How can i achieve that the list of songs (entity reference to ...
0
votes
1answer
38 views

Contextual view -> entity reference target ID

I have the following situation: I have 2 content types (session and preformance) Performance has an entity reference to session I want to create a view that shows me all performances for the ...
0
votes
0answers
28 views

Issues when combining Reference Field Option Limit & Conditional Fields

I'm hoping there's a rocket scientist out there that can help me with this!! I am using the following entities: Machine Type (Taxonomy) Ink Type (Taxonomy) Ink Configurations (Taxonomy) Machine ...
0
votes
2answers
24 views

How to list node parent's children

Sorry if this is a repeated question, tried many suggested options but no result. There is business model of 1 to N relationship "parent and children". I am working on a project where i have a ...
0
votes
1answer
39 views

Drupal 7 Rules: Compare Group Reference Field and fire Rule if data changed

I am using a content type called "question" which has an organic group reference field (og_group_ref). I want to trigger an action with Rules, when the field "og_group_ref" is changed on node ...
2
votes
2answers
113 views

How to limit entity reference for new nodes only?

In an institutional website, there's an archive section listing all events (content type: Event). Each event is coordinated by an event manager (content type: Event Manager). CT Event has an ...
0
votes
0answers
43 views

Displaying a Views Block in a Entity reference field

I have a content type "Adoption Case" and another content type "Dogs". I'm using Inline Entity Form to add "Dogs" to each "Adoption Case" and everything seems to work as expected. "Dogs" can be ...
0
votes
2answers
45 views

How to reference existing entity using Inline Entity Form?

I'm using Entity Reference to create tasks in lists - both tasks and lists are content type, list contains multivalue Entity Reference to task. Because most tasks belong to only one list, it was only ...
0
votes
1answer
16 views

filter based on user reference

I have a content type "book" that has an entity reference field that references users and pulls in a name. Users also has fields for a picture and an author website. I would like to add a block at ...
0
votes
1answer
17 views

grouping nodes with collapsible fieldset

I use entityreference to link nodes to other nodes and field_group to display collapsible fieldsets with fields. Assume I have node#1 which has a field related_nodes containing node#2, node#3 and ...
0
votes
1answer
17 views

Flagging Referenced Entities

I have two node types (one is galleries, one is images). The node types are referenced to eachother via entity reference (which is providing a field on the image node which references a gallery). I ...
0
votes
0answers
29 views

Referencing ECK custom entity using entity reference from content

I am currenly working on quite a complicated project which I have decided to take a different approach to building. The site is complex in that there are 3 different themes. 2 seperate sections stand ...
0
votes
1answer
19 views

Show views page based on path

I have 3 node types: category subcategory product These are all linked using Entity Reference module. All pages have a path (using autopath). What I want to do is show a view depending on the ...
0
votes
1answer
14 views

Allow users to view others contents with autocomplete Entity Reference field

I'm trying to build a content type where any user can select an entity reference value through an autocompleted Entity Reference field. Using this field works as an admin. I'm able to see the ...
0
votes
1answer
32 views

Entity Reference - adding fields to reference?

I'm using taxonomy and nodes to create a tree structure. Inside the taxonomy term I created an Entity Reference (referencing to nodes). I know this looks like the world upside-down, but for this time ...
1
vote
1answer
50 views

How to set up a 'review-like' view that connects users to nodes?

I want to be able to add to my panel, described here, a view of an 'advocate' that 'endorses' an item. Each item (unique by NID) has one Advocate (a user, unique by UID) and each User can have ...
0
votes
1answer
21 views

reference a view page with entity reference

I have an entity reference field for referencing and rendering a teaser display of nodes. I would like to be able to include a View page in the list. I this possible in some way?
0
votes
1answer
54 views

Custom VBO Action to create an Entity that is referenced

I have two entities - People and People Notes. The People entity is in another database with the People Notes is in the local drupal database. Schema for People - PeopleId FirstName LastName DOB ...