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

learn more… | top users | synonyms

-2
votes
0answers
11 views

auto calculator

i need to make a cost calculator like in this link. https://www.exporttrader.com/sh/calcfull i have three fields, origin and destination and transportation-cost. i want to preset the cost for ...
0
votes
0answers
16 views

Is there a widget for Entity Reference that works like Nodequeue (i.e. shows published status)?

Is there a widget for Entity Reference that will show the published status of an entity like a Nodequeue?
0
votes
1answer
17 views

Display NOT a title field in Entity Reference field but my own field

By default 'Entity Reference' field uses 'Title' field to resolve Nodes. Is there any good way to change that behavior so it use another field to do that? What if I want to use URL field or my own ...
0
votes
0answers
6 views

Which entity type for storing data never published alone but only referenced by other nodes?

I've an entity type A that is meant to be always referenced by instances of entity type B in a relation "one to many". Most fields of A are to be only displayed together a B instance, but the A ...
0
votes
1answer
12 views

Views duplicate result if multiple entity reference

case: I have 2 content types A & B and there is field in B which is entity reference of A and this field can hold multiple values from A "Multiple Values", so i created view to show records from B ...
0
votes
0answers
8 views

How do I populate an email field from a single user “Name” reference?

I have a content type in which I use an entity reference to reference a Name field in a user account. I am trying to populate an email field in the content type with the email of the entity referenced ...
1
vote
0answers
15 views

How can I imitate the features of Node Reference and Node Reference URL in Drupal 8?

In Drupal 8 we do not (at least currently) have the Node Reference and Node Reference URL Widget modules. How do I replicate their features? I have a content type, let's say 'Book'. I also have a ...
1
vote
2answers
11 views

How do I use print to generate a PDF of all entities referencing a specific node?

I'm trying to use the Print module to generate pdf's and epubs of the stories on my site. However, I need to get Print to generate these files from the story page and then generate the pdf with ALL ...
0
votes
0answers
12 views

How to print the url of a referenced entity

I have an entity reference field. The view mode of this field I can set to 'Label', 'Entity ID' or 'rendered Entity'. But I need the url(alias) of the referenced entity. How can I get it?
2
votes
1answer
64 views

Entity reference - which side of the relationship is it best to put the field in?

I an adding entity references to an existing site with a lot of data, and I want to make sure I get it right first time. My question is - is it best practice to put an entity reference in the ...
0
votes
1answer
11 views

Using code field to display field from referenced entity

I have a content type of 'facility' which has an entity reference field ('manager') to a user. The user has a field 'telephone'. Is it possible with a code field to display the manager's telephone ...
0
votes
1answer
26 views

Entity reference vs. taxonomy

Let's say I have a team, which has members. I have a content type for team and a content type for individual team members. Let's say there are also other relationships, for instance teams can belong ...
0
votes
1answer
15 views

Views: display entity reference fields as view fields

I have a content type (1) with an entity reference field that point to another content type (2). I'm trying to create a view where I want to display fields of content type 1 mixed with the FIELDS of ...
0
votes
0answers
12 views

Problem with Views module, entity reference and display mode

Can't get a view rendered with the configured display mode. If I chose Format > Display (in my view): Type: Content Settings: Referenced Entity custom_teaser_display_mode the nodes get ...
0
votes
0answers
10 views

How to display respective node data after clicking its link on navigation page

Im new to Drupal. I want to display all the bundles called 'department' in the navigation link and on clicking each navigation link the respective department node will be displayed. Im not being able ...
-1
votes
0answers
5 views

Entity form submissions results access

Anyone any idea how to give access to entity form submission results page to entity referenced user of that particular entity form? Thanks
0
votes
0answers
15 views

Node access user reference with entity forms

Have any one used node access user reference module with Drupal Entity Forms module? I am trying to use this but, in FieldUI, nothing appears of Node access user reference as it was suppose to. ...
0
votes
0answers
18 views

How to display parent records with its referenced entities(child reoord) in views table format

I am new to drupal and I require help from you guys. My requirement is : I have one custom content type : Architecture and for that custom content type I have different entity references associated ...
0
votes
0answers
13 views

How do I display comments for specific nodes in Views?

I'm trying to create a view that displays all comments left for story pages and chapter pages. The thing is this page must display all comments from all chapters that are referencing a specific story. ...
1
vote
1answer
19 views

How to get values which changed during node edit in node api?

I have a node with user entity reference field. Now I want to get newly added users id's to this node via this field in hook_node_update What is the best way?
1
vote
1answer
16 views

How to hide “do something on load”

I am using drupal 7 with custom omega theme. I am developing a site for myself for a year now. I could find a solution to everything until now. Hopefully the answer is easy and simple I just don't see ...
1
vote
1answer
23 views

Two-way Entity Reference?

I'm building a site for a school, with several content types: A Class holds the general info about a class: description, tuition, etc. One field in the Class type is an Entity Reference for an ...
0
votes
1answer
11 views

Flag a node but create a view of the nodes that reference it

We want our logged in users to be able to Flag/Follow our "Fisheries" content type nodes. Users can then create a "Catch" node in the Catches content type and use an entity reference field (Fisheries) ...
0
votes
2answers
13 views

Possible to join different entity type on using EntityFieldQuery?

I am wondering whether I can use EntityFieldQuery to fetch all entities belonging to a specific content type. This entity type has a reference to another entity type. Is it possible to check against ...
0
votes
0answers
30 views

Adding a list of strings or entities to another entity

I need to be able to add a list of departments to an entity directly via the add form of that entity. Those departments don't necessarily exist in the application beforehand and could be strings or ...
0
votes
1answer
16 views

Check if entity reference field (user) contains current user

I have a node page of Project content type which contains a multiselect enitity reference field of user type called field_team. I also have a block created by my custom module which is displayed at ...
0
votes
1answer
18 views

How to display references entities in single field?

I have a view of nodes. These nodes are connected with users via entity reference. User has a profile (Profile2). I want to display profile fields for all referenced users in single field.
0
votes
0answers
16 views

setting up autocomplete on content type using profile2 and entityreference

so, I'm creating a content type called "elearning", and I have some modules installed: -ctools -entity api -entity reference -profile2 -views Then I create new profile called "teacher" with the ...
0
votes
2answers
47 views

Entity Reference | View - Display content based on a entity reference field's value that is randomized?

We are using Entity Reference. We have a content type "Dog", and a content type "Breed". In the Dog content type, there is an entity reference field to Breed We want to have a View that displays ...
1
vote
3answers
79 views

Search API Referencing entity relations

I am working on a project where i would like to be able to create a search api view that has a relation to the referencing entity. The use case: I have a content type: Products page that holds the ...
0
votes
0answers
14 views

commerce_marketplace problem in viewing products of each store

I'm trying to use Commerce Marketplace module but I don't know if I'm doing wrong or it's a bug. After enabling module, I have added Entity reference field of store to my product(cmp_o_store), then I ...
1
vote
0answers
31 views

List those nodes which are not referenced through a reference field in other nodes?

I have content type which has a node reference field of the same content type. I want to list only those nodes which are not referenced through this node reference field in any other node. Is it ...
0
votes
2answers
24 views

output a referencing field in node tpl

In a node type hotel I have an entity reference field to a node type offer. For the offer node.tpl I need to output some fields of the referencing node type hotel. I have no idea how to get these ...
1
vote
1answer
19 views

custom template for entity as referenced entity

I have a node type for which I have a custom tpl. OK. But this node type I also have as a referenced entity in another nodetype. And in this case I need another custom tpl. Is it possible to have ...
0
votes
0answers
17 views

How do I recreate the navigation function of Book Module while using Entity References?

I'm recently been recreating a bunch of my sites functionality and decided to move away from Book module. It seems to get no love and nothing I need to work with seems to work with it for no apparent ...
0
votes
0answers
3 views

Allow Authenticated User (non-group member) to Assign Task/Event/Form to a Group

I'm trying to figure out how to accomplish this: Allow any authenticated user to submit a form to Groups A through Z. Members of Group A can view forms submitted only to Group A, and respond by ...
1
vote
1answer
60 views

Inline Entity Form in Drupal 8 (create item while adding a reference)

I have a Family content type and a Person content type. A Family has an entity reference to one or more Persons. The normal workflow requires me to first create the Persons, then create the Family ...
0
votes
0answers
13 views

How to show prepopulated fields in submissions entity forms?

I have an entity form on my site which prepopulates the entity for which it is filled in. I've created the entity selection in views. So far no problem. The entity form adjust automatic to the entity ...
0
votes
0answers
12 views

How to prepopulate filters in an Entity Reference View that is being called form a Content Type?

I'm trying to creat an entity reference view for one of my content types. The referenced Content Type and the Referencing Content share two fields in them. The ref field on the Referencing type is the ...
0
votes
1answer
18 views

Change role of users after deleting referred content via rules

I added an entity reference field to user referring to a type book. I also created a rule that each time e user update that field, selecting one book, his role changes from authenticated to reader. ...
0
votes
2answers
41 views

Views: apply filter only if a condition matches

I've searched a lot the Views issue queue, searched for other modules, searched on stackexchange, but it seems that no one needs this functionality (or that there's another way to achieve it). Use ...
0
votes
2answers
21 views

How to make a block showing the content entity the author of the node is linked to?

I cant seem to wrap my head around this so i hope there is somebody that can help. I have a 'business' content type and a 'information' content type on my page. The author of the business is the ...
0
votes
1answer
34 views

Count entitys dependent om field value and as entity reference

I have two node types, Apartment and Building. Apartment has two fields: - "Building" a Entity Reference field that reference to the node type Building - "Rooms" a Text List with values 1 room, 2 ...
0
votes
0answers
22 views

Entity reference use email and show email (not username)

This is my case now: I have an entity reference in my Proposal content type to a user. This is an autocomplete field. I use a view where I select all the users and show the email of the users. That ...
0
votes
1answer
21 views

Rules to Flag a node referenced by Commerce Order Line Item

I have a site selling edit access to specific nodes. The site uses Drupal 7, Commerce, Commerce License (selling a Role with edit permission), Rules and Flag. On the Add to Cart I have a Line Item ...
0
votes
0answers
15 views

Entity REference Field: autocomplete or add new?

On a content type I am referencing a speaker via a entity reference field. I want the user to be able to select an author from the list of folks that have already been entered AND if the person has ...
0
votes
1answer
36 views

Drupal 7 Checking for an empty entity reference field in hook_node_validate

In checking whether a form field contains an entry, it has been typical to do something like: if (sizeof($form_state['values']['my_field'][LANGUAGE_NONE]) > 0) because an empty field would still ...
1
vote
1answer
63 views

How can I hide the entity Id on autocomplete widget?

I have an autocomplete widget for a taxonomy entity reference. Every term has an entity ID in parenthesis. If the term has multiple words it appears between quotes. "Lorem ipsum (125)". How can I ...
1
vote
1answer
38 views

Insert several lines in field collection programmatically

I have a problem with field collection and entity reference fields. I have a field collection called 'field_co_intervenant' and i want to add several entities in this field collection and after saved ...
1
vote
2answers
41 views

Filter View by Entity Reference Value From Current Form/Node

I've been trying to figure this out for a while now, I believe that this should be easy but I still can't solve it. I'm a beginner at this. -_- I have 3 Content types Venue Food Package I have a ...