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

learn more… | top users | synonyms

0
votes
2answers
18 views

List of parent nodes with a sublist of child referring nodes on a single content type

I have a content type Article with an Entity Reference to himself. Demo content: Article 1 -> No ref Article 2 -> No ref Article 3 -> Ref to 1 Article 4 -> Ref to 1 Article 5 -> Ref ...
0
votes
0answers
8 views

Map taxonomy terms to one specific role per node

The structure I need to realize: A node references multiple taxonomy terms of type person. A person plays one specific role per node. This role is different from this taxonomy terms role on a ...
0
votes
0answers
6 views

Workflow access hide views result when using entity reference as a relation

I have two content types A and B. A has an entity reference field, referencing B. and also I have a view of B with a relationship "Entity Reference: Referencing entity". One of other entity types has ...
0
votes
0answers
8 views

Creating item library, allowing user to make selections and publish to another page

Above is a rough MS paint concept I banged out to illustrate what I'm trying to do. I need to create a library of items, which have pictures, descriptions, names, etc. This library will be ...
0
votes
0answers
8 views

Entity reference use a view with a parameter

I have a Entity Reference field (call this BAR) in one of my content type (call this XYZ). In this content type I have another field (call this "FOO"). This field (FOO) is also present in the content ...
0
votes
0answers
13 views

Using form api autocomplete to return content of a specific type from all groups (orgainic groups) a user is a member of

How do I add a form element which would reference a large (>200) list of nodes of a specific type, that either belong to the user or are shared with the user in the Organic Groups that the user is a ...
0
votes
1answer
8 views

Views entity reference based on passed in value

I have a set of taxonomies that are related to a role- each member of the role gets their own set of values, plus a default value that is common to everyone. For example: uid | tid | taxname 20 | 200 ...
1
vote
1answer
13 views

Views conditioanl referenced field depending on user taxonomy term

I have a Content-type that an admin can assign it's nodes to other users, and users are separated by their taxonomy term. I'm using Entity Reference field to reference the user and overriding the ...
0
votes
2answers
20 views

Display a product with two columns

I want a two-column page layout to display my products which I create with 'drupal commerce'. The layout is basically the picture and similar articles on the left. Description on the right. Now, I ...
-1
votes
0answers
18 views

When user is assigned to Organic Group, I need to get the value of a field on the Group node

I have three Content Types - Course, Course Group and Learner Form. The Course Group node is an Organic Group and has a reference to a Course node with field_course. When a user is added to a Course ...
0
votes
3answers
33 views

Relationships between content types and views

I am new to drupal, but have decent knowledge of WordPress & PHP. I am currently building a drupal site where I need to link two content types together and display them on the front end ...
0
votes
1answer
11 views

Entity reference, save only value

I am looking for the best approach to do the following: I have a content type Product and a content type Invoice, where i can reference products. I would like to be able to save the referenced ...
0
votes
0answers
15 views

Entity Reference field not updated after callback

(Using Drupal 7) The use case: To register an appointment in a Spa Center the user needs to select from a list which Service will use (only one) and after this selection the user will select only ...
1
vote
2answers
24 views

D7: How to attach a single node multiple times to an entity (e.g. badges)?

For an experimental Drupal 7 site, I would like attach a single node to another entity (this might be users, other nodes or even organic groups). The reasoning is fairly simple, say I have several ...
0
votes
1answer
18 views

views - get teasers of “related nodes” referenced in entity fields on current node

I have a content type 'Article' which has a custom field of 'related articles'. This field uses the Entity Reference module and allows an admin to specify up to 4 related articles (nodes) to be shown ...
0
votes
1answer
18 views

entity reference with multiple values?

I've added a new field to a content type, using the Entity Reference module. The new field is to allow entry of up to 4 related articles (curated content - chosen by the admin) per article. I've set ...
0
votes
0answers
13 views

Node view, reference User and Profile2 fields

I am trying to accomplish the following. I have a node view that shows fields based on the nid contextual filter. This I use mainly for formatting purposes. I then added a content pane where I want ...
0
votes
1answer
15 views

How can I embed view results right in the content region as if it's part of the content?

I have a node type with some entity reference fields that displays teasers. I also have a block view that takes a URL component to display related nodes that are not referenced on the node's entity ...
1
vote
0answers
12 views

How to print the number of nodes of a certain type referencing to content

Using Drupal 7 and the latest Views and Entity Reference modules. I have 3 content types: - Destination - Museum - Restaurant Museum and Restaurant both reference Destination via field_destination ...
0
votes
0answers
13 views

Feeds import CSV GeoNames

Current i import GeoNames tab delimited databases of all Countries, States/Regions and Cities of the world as Nodes. It works fine with Feeds. What for modules i use? Feeds Feeds Tamper Field ...
1
vote
1answer
18 views

What is the php code to display a field of a referenced node in the node form of the node that references the node?

So I have a node (content type A) with some text fields and a reference field referencing another node (content type B). When a user wants to update one of the text fields an existing node (content ...
0
votes
1answer
13 views

Entity reference for feed imports not working on some referenced nodes

I've posted this problem on drupal.org but I feel that it's so cryptic that maybe it deserves a larger audience. For some reason, when I'm trying to import users that are associated with group nodes ...
0
votes
1answer
31 views

“What links here” for Beans

I'm using an Entity Reference field (unlimited entries) and a View to include desired Beans on node pages. How can I create a view similar to node/%/backlinks which allows me to see all the nodes that ...
0
votes
0answers
8 views

Default value for entity reference inside panel

I want to use panels for a users to submit reviews for other users. The idea is to use panels and have the reviewed user in the top section of the page. Then below the add form fields for the content ...
1
vote
0answers
13 views

Adjust Entity Reference “Number of values” Based on Role

There are two roles, standard and premium. I would like the standard role to be able to select up to 10 users via the entity reference field. I would like the premium role to be able to select an ...
1
vote
0answers
11 views

How can I force a migration to not create stub nodes? [duplicate]

I have multiple migrations that rely on one another for entity reference fields. When I created the queries these migrations I made sure I was only getting the nodes I want. When an entity id is ...
0
votes
0answers
26 views

Using fields of referenced node as filters in views

I have two content types location & business. Business type has an entity reference field address which is referencing location. Now I want to use fields of location content type as filters in ...
1
vote
0answers
29 views

Views Filter nodes and show referencing nodes

I have 2 content types: HotelPack and Event The HotelPack content type has an entity reference field that references to an Event In the view I want to show all the Events and filter them by Category ...
0
votes
2answers
29 views

Views filter referenced content when end date is over

This view is the result of a given postcode. how could I hide/filter referenced content when its end date is over? The referenced content should disappear but the non referenced content should still ...
0
votes
0answers
12 views

Entity Field Query for organic group anded with entity_reference

I am trying to make an efq that matches both an entity reference and an organic group. I started with help from this post: $query = new EntityFieldQuery(); $query->entityCondition('entity_type', ...
0
votes
0answers
26 views

how do you alter queries for node/# to select entity-referenced node titles instead of just target_id?

I am using Drupal 7 Services and the generic call of services/node/#. Unfortunately that only gives me the target_id as a property of every field with type entity reference; and my interface does need ...
0
votes
0answers
7 views

Entity Reference user/s referred can't view the value in content.

I used entity reference instead user reference Field type. In entity reference i used USER to target type so that i have NODE ACCESS USER REFERENCE. in my case if the user is authenticated he cannot ...
0
votes
1answer
41 views

Using Profile 2 with Entity Reference--How to display the user name and not the “Profile Name”

I've reviewed the threads similar to this, and can't seem to find a definitive answer. I have a Content Type in Drupal 7 where I want to be able to associate multiple users to a content item. For ...
2
votes
2answers
93 views

Entity creation-form: Prepopulate all existing entity-references of a field collection

I have a content-type seasonal_prices with field-collection containing an entity reference field (referencing content-type room) and a number field; the field-collection is multi-value with unlimited ...
1
vote
0answers
19 views

How to asynchronously execute/render a view using views_embed_view in a template file?

I have the latest Drupal 7 running on a Centos OS. I have a content type named publications which is composed of lets say around 20 fields (i.e. publication title, name, doi, authors, keywords, ...
0
votes
1answer
20 views

Cascade entity reference in a content type

I have two content types parts and maintenance. Parts has 3 fields. Oven type Oven Part Parts price In maintenance i have a entity reference field with autocomplete that points to parts. So now ...
0
votes
0answers
20 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 ...
4
votes
1answer
30 views

How do I create a list with the previous and next referenced entities of the one being viewed?

I have 2 content types: Books and Chapters. Books have an entity reference field that can accept unlimited values. Chapters have an entity reference field (single value) that corresponds to a book. ...
1
vote
3answers
100 views

Disable ordering in entity reference (user)

I have an entity reference of widget type = autocomplete. It's a collection of users where you can add multiple users. Now I would like to disable the ordering of the users. So you can't order the ...
0
votes
0answers
9 views

Hide views row on referenced node

I have a content type called call-to-action box, which has fields: Title, Body, Image, Link which allows the user to create some boxes which is shown in the sidebar, and links to a the page given in ...
0
votes
0answers
23 views

How to populate entity field based on a prior field in Drupal 7?

I have created content types: class result I also have users with roles "student". There are 5 classes: A, B, C , D, E, but each class has 100 users. The "result" content type has a field ...
1
vote
1answer
34 views

How can I do a cascading Entity Reference data entry or is it even possible?

I am working on a system where we want users to be able to create a Project which will be made up of one or more Project Activities, each Project Activity being constituted of several Sub-Activities. ...
0
votes
1answer
18 views

Display blocked users to anonymous

How can I display blocked users in a template file? I have an Entity Reference field that I'd like to use to show anonymous users any blocked or active users added to the Entity Reference field. Is ...
0
votes
0answers
24 views

Is it possible to get Entity Connect and Entity Reference View Widget to work together and if so how?

It seems to me this should be a fairly common problem, but I can't seem to find and answer despite looking! Here is my use case: I have two types of content: Activity and Participants. When I create ...
0
votes
0answers
12 views

Computed Code Count of Wins and Losses of other content types

New to Computed Code. I have content types of Teams. I also have content types of Games. A game is made of several fields including a home and away field. Those home and away are an entity ...
1
vote
1answer
35 views

Node edit form with entity reference - show more than just the title in the autocomplete box

I have three content types: application, organization, and organization_note. Application has an entity reference to organization and organization has an entity reference to organization note. The ...
0
votes
2answers
23 views

Create referenced node on the fly in Drupal 7?

I have a node called "house" which references another node called "room". When I create a house, i.e. go to node/add/house, there will be a block where I can choose all the rooms I've created. What I ...
1
vote
1answer
23 views

Sort Entity Reference Fields

I am trying to find a way to sort the referenced entities in a node. I have found a related question "Ordering of referenced entity" but it cannot be applied in my case for the following reasons: 1) ...
0
votes
1answer
27 views

How to make a reference on same node without recursion problem

Here is the situation. I have a content type called Product. Content Type : Product Title Body Color Product Reference (Entity Reference on content type Product) Thats mean For a specific product, ...
0
votes
0answers
27 views

geofield and leaflet maps: how to show proximity-originator on map?

My Goal: Show a hotel on a map, together with nearby restaurants. Currently, i have only a table, based on a view with the hotel's node-id as contextual filter. Now i'd like to put all that in a ...