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

learn more… | top users | synonyms

0
votes
2answers
22 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
18 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
27 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
11 views

Design help - Use Relation, Entity reference, Taxonomy, Taxonomy field, subtaxonomy or what and how? [on hold]

I am creating a website that lists the Universities in my country, the Programs offered by these universities and the Degrees available for these programs in these universities The setup I have in ...
0
votes
0answers
14 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
41 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
17 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
6 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
16 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
25 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
15 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
19 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
13 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
14 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
7 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
21 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
17 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
14 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
11 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
15 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
30 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
20 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
37 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
40 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
43 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
19 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
33 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
22 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
20 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
23 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
29 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
16 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
16 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
13 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
17 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
21 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
1answer
25 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
26 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
28 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
43 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
20 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
32 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
25 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
35 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 ...