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

learn more… | top users | synonyms

1
vote
1answer
8 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
7 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. ...
0
votes
1answer
26 views

How to know if who created the order

Is it possible to determine who created the order? I've installed the entity reference module, then added a entity reference field in the order, but I'm not sure if this will work. I've used the ...
1
vote
0answers
16 views

Entity Reference View format

Is there a way to change the Entity Reference view to a different format than an entity reference list? I'm trying to list taxonomy terms and other custom taxonomy fields to the user when they use ...
2
votes
1answer
14 views

Option sets for fields?

In my content type I have a products field (entity reference) which references other content types (product content types). What I want to do is each product field has to have a specific option set, ...
1
vote
1answer
26 views

Show fields from diffrent content types in same view?

Im using Drupal 7.x Merci, views, panels, chaos tools, rules, etc. I am working on a equipment checkout system, and I have a view that lists all the reservations made. In that view I would like to not ...
2
votes
1answer
37 views

How to remove a value from URL parameter?

I'm using entity reference prepopulate and views. On the start of my node add form I'm using views to display some products and I have created a PHP button to pass the nid of those products to the ...
2
votes
1answer
23 views

How to pass multiple target_id/values field using entity reference prepopulate?

I read the documentation and saw that this is possible: node/add/page?field_bar=1,2,3 But how do you code this? I wanted to pass multiple target id, not just one. I tried this code but this only ...
1
vote
1answer
14 views

Entity Reference. Hide not user referenced terms in node form?

This is my 2nd question about my problem, the last was "Users have access to add Commerce Products into the Store and publish it. How to display to user only allowed firms in the product addition ...
0
votes
1answer
19 views

Scald: themable atom reference – where to find image path etc.?

I can't find a way how to get an atom reference's values (image path etc.) into my theme template. When printing the node array I do get the SID for the referenced image, but I just don't know how to ...
0
votes
1answer
21 views

Saving a particular field of a related entities with Entity Reference

Using Drupal 7, using entity and entity reference i have created 2 entities: --*Aircraft reservation (date, user, aircraft categorie) *Aircraft categories (name) I have created a view (entity ...
1
vote
0answers
6 views

How to always get distant ancestor reference when loading descendent?

I have a fairly large website with some complex relationships. One such string of relationships looks like this: region > counties > cities > locations > contacts Each level is the name ...
0
votes
0answers
16 views

One facet page (not solr) of users and block of rating based on count of entity referense fields (nodes) for each user

Drupal 7 for each user Example what i need: I have views page with list of users (facet api (not solr) Filter 1 = vendor (facet by taxonomy term) Filter 2 = location (facet by taxonomy term) Etc… ...
1
vote
1answer
16 views

Best Practices? Create dynamic links with static titles on node full view page

As with anything drupal, there are a million different ways to do something. I am asking this question for 1) Because I actually have to do something similar and 2) Because I would like to know all ...
1
vote
0answers
20 views

Populate node/add field from a entity reference field on the page?

I have several sub-content types that are tied together in one content type via entity reference fields. What I'd like to do is display the fields of each content type (instead of using a modal to ...
1
vote
1answer
20 views

Show full content of related entity using Entity Reference in node view

Basically I've created a relationship between two content types: Testimonials and Case Study as follow: in Case Study I've created a field Testimonial using the Entity Reference widget. When I create ...
1
vote
0answers
13 views

Passing extra parameters to Feeds Importer

I have multiple books and have CSV files per book containing the chapters and their content. The CSV columns are called "Chapter Number" and "Text". On the Drupal website I have created a node for ...
1
vote
0answers
11 views

Drupal calculated field (ECK)

I am looking at a fairly complex problem (at least, so i think ;-)) I am working on a larger project that has ECK entities in a layout like this: Project Entity (Has an entity reference to Article) ...
0
votes
0answers
11 views

Create a new Node…Facebook Style Post As another Author option

We have 3 different user profile types (using Profile2) we want to be able to give "General" users the ability to post as "Business" and "Location" Users if they are authorised to do so. My plan for ...
0
votes
1answer
15 views

How to set count in “bundled” product?

I have created a content type called "product". On this product, I need to create a "entity reference" field to other products, should this product be a bundled product. For example, I might create ...
0
votes
0answers
16 views

How to customize entityreference checkbox widget?

Here is my case: Field: Food Field type: Entity Reference -> View Widget: Checkbox/radio button Instead of having the checkbox button before the entity reference details, I wanted it to be inside ...
0
votes
0answers
11 views

Pull menu items in view which has a parent menu same as content title [closed]

I am a drupal webdeveloper, I have two content types first is services(a) and second one is service pages(b). service pages(b) has a entity reference field which pulls the nodes titles from ...
0
votes
1answer
18 views

Contextual filter on entity reference field in indexed view

I have two pages: jobs and offices. My jobs page is an indexed view (with Search API) which displays jobs that have an entity reference field to the office it belongs to. I want to put a link on my ...
0
votes
0answers
25 views

Limit post node base on entity reference?

I have a content type that contain an entity reference for a node that is a different content type. I want to be able to limit user to post a node from the same node reference twice. Why ? I have a ...
0
votes
1answer
35 views

Set entity reference field to 'autocreate' directly in the entity field definitions

I'm having trouble with the two ways of defining forms for entities in Drupal (the first one being in the entity field definitions and the second one being by defining a custom form class). Now, in a ...
0
votes
1answer
20 views

Dynamically change views entity reference filter based on current form value

Is it possible to change the result of the view depending on the value being selected on the form, node creation form without saving it first? Last time, my problem was filtering the views depending ...
1
vote
1answer
11 views

Views Secondary Group

I have a View which is a list of stores and for each store I have a list of products. This is a sample as it looks now: Ken's Store Products: Doodles Products: Daddles Joe's Store Products: Acme ...
0
votes
0answers
32 views

Embedding an entity refenrence add button on a q=node/view page

I am creating a 'Activity Management' site for that I have created Activity and Participant content types. Participant content type has Full Name, Cell No, Email, Address fields and 'Activity' has ...
0
votes
0answers
10 views

Entity Reference View Widget Callback

I have a entity reference field using Entity Reference View widget to select my entities, and a few other fields on my node. Those other fields are dependent on what is selected in the View widget. ...
0
votes
1answer
25 views

Fatal error: Call to a member function raw() on a non-object in

I am getting this error Fatal error: Call to a member function raw() on a non-object in one of my custom modules. Following is my function: function _gocoop_services_get_app_instance($wrapper) ...
0
votes
1answer
23 views

How can i populate data from a reference node into another content type?

I have two content types. hospitals and referral form. I would like to pull data from the hospital form automatically, example hospital name, address, contact etc when the user fills in the name of ...
0
votes
0answers
33 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
21 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
2answers
21 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
14 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
23 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
15 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
76 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
12 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
32 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
16 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
16 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
15 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 ...
0
votes
0answers
16 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
21 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
14 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
21 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
20 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 ...