Entities is the term that in Drupal 7 is used for nodes, comments, taxonomy terms, and users.

learn more… | top users | synonyms (1)

0
votes
1answer
39 views

How can I join content in Drupal

I'm having a little bit of trouble with joining 2 different content types in a view. I'm am using Entities and View modules. What I have is about 50 satellite offices and each office has a varying ...
3
votes
1answer
58 views

How To Enter Data Into A Custom Drupal Entity?

I have a question regarding entering data into custom entities I have a usage case I believe is better for Drupal Entities than Content Types and Nodes. I have installed Entity Construction Kit and ...
0
votes
1answer
25 views

How to get taxonomy image and path by tid in Drupal 7?

I want to get categiries image and path in Catalog Block for Ubercart 3 (Drupal 7) which is taxonomies. I know only tid. For path i try this $tid = (int)$variables['catid']; // return tid $term = ...
0
votes
1answer
16 views

How to flag a product variation on a commerce website?

My products have multiple variations as enitities (size, color etc). I want to display a flag link on a product display page. When a visitor uses it, I want them to be able to flag the selected ...
0
votes
2answers
26 views

hook_filter_info langcode is always und

I am trying to filter text and the result replace depends on the language of the node. The filter process callback function accepts $langcode argument but it always pass as "und". If I could access ...
1
vote
1answer
28 views

Array Flip Error Message on All Node Pages

Hello i dont know where to begin. All of a sudden MY WEBSITE is displaying this error when i view a node- Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in ...
0
votes
0answers
31 views

Can I use taxonomy term id from URL as Contextual Filter to get entities of custom entity type (not node)?

As in question. I have a View with Profile2 entity. Entity has taxonomy term reference field. I'd to filter entities by term. I tried, but no luck Can I do it with Contextual Filter or I must use ...
0
votes
0answers
28 views

How to clone a entity with its attached fields?

I am trying to create a entity with few bundles. I have used EntityDefaultUIController as admin UI callback. This provides me with few default functions such as clone, import and export. The problem ...
4
votes
2answers
64 views

How can I print a field from a referenced entity in my theme?

I'm trying to print a field from an entity reference field - but I don't have a clue how to do it! A bit of background: I've got two content types - master and variation. Variation includes an ...
0
votes
1answer
21 views

How to change order of taxonomy terms related to specific node field?

As in question. I have multivalued taxonomy field. Is this possible to control terms weight, which are belongs to specific node field? As a term weight, I mean weight inside single node. It's just a ...
6
votes
2answers
49 views

Displaying fields from an entity reference of another entity's field

I have three content types: compositions, recordings and artists. Compositions have entity references to artists for the field composer. Recordings have entity references to compositions for the ...
0
votes
1answer
50 views

Auto-Fill from on content type to another

I have a content type called Point-of-Contacts, basic info for a person. (~600 nodes) I have another content type, like a form, that has a select list of all Points-of-Contacts. When a user selects ...
0
votes
1answer
31 views

Adding extra info to each Node -> Taxonomy Term relationship

We have a basic site with a pages that have a taxonomy term content type associated with a number of terms. What we would like to is to add more information to each of the node -> taxonomy ...
1
vote
1answer
25 views

How to change content type field values with the entity system — getting a “doesn't support writing” error

I've got a D7 content type with a few fields; nothing particularly special. I want to be able to programattically change the values of those fields from time to time, and so wrote a function like so: ...
3
votes
1answer
36 views

Red Herring Error : Class name must be valid object or string

After just having spent two days trying to get to the bottom of a particularly weird bug I thought I'd post up what my question would have been — if I had taken the time to write it — and ...

1 2 3 4 5 18
15 30 50 per page