All Questions
370 questions
0
votes
1
answer
632
views
Set a Data Value from Text field to Term Reference field
Node has two fields:
Text field
Term reference field (autocomplete?)
The Text field is old and already has 500 nodes with 500 unique values.
The Term reference field is new and needs to contain same ...
0
votes
0
answers
40
views
How can I display a selected value of a multivalue entity reference field?
I have two content types A and B.
There is a multi valued field Persons in content type B. I have created a node of type B and enter two values in Persons field, X and Y.
Content type A has an ...
0
votes
1
answer
39
views
Provide name for Entity Reference
Is there any way referenced entities could be named in a meaningful way?
Currently when I am creating a custom view and need to reference some entity, I have tens of entities that are named exactly ...
0
votes
1
answer
3k
views
How to set a contextual filter based on an entity reference field
I am currently working on a radio website.
Here is the basic information to keep it simple.
I have two content types: [emission] (programme) and [podcast].
The [emision] content is merely a general ...
0
votes
1
answer
154
views
Drupal 7 Views filter criteria Entity Reference
At the moment i'm making a drupal environment.
I'm trying to reach the following:
"Use a views to show my content types, but only the content types that have lets say "ads" as a field_type (Entity ...
1
vote
1
answer
1k
views
Dynamically adjust argument or filter to views entity reference filter based on value from select list in form
I have a entity reference field that references a taxonomy term from a vocabulary named "fund". Now I'm needing to add a fiscal year field to the fund terms to allow us to have different budget lines ...
0
votes
0
answers
32
views
Individual row for each node field in a view
I'm trying to create a view of a node's fields, primarily a list of images and node references to be rendered with a views slideshow.
The view has two fields listed, an image field and a reference. ...
0
votes
0
answers
66
views
How to get a list of users based on the radius?
I want to allow users (workers) to give their address using addressfield and also give a distance or radius they are prepared to travel. It is a job site. When a client posts a job (node) and provides ...
0
votes
0
answers
45
views
EVA not working after update
After a safety update from Drupal 7.56 to Drupal 7.58 I also updated Views (7.x-3.18 > 7.x-3.20) and EVA: Entity Views Attachment (7.x-1.3 > 7.x-1.4), most Views are working fine, just the ones with ...
0
votes
1
answer
45
views
Filter referenced item without losing other content
I have 2 entity types Content type A and B.
Content type B has a date field and an entity reference to A.
I need a view that shows all the nodes of content type A
But also shows all the referenced ...
0
votes
1
answer
305
views
Node select list + dropdown + view of entity references
In a content type, and a field is an entity reference to another content type (the professionals companies).
I created a view, to display: first: the professionals flagged as favorite; then all the ...
2
votes
1
answer
37
views
Strategy to consolidate multiple fields across content types?
I've got a handful of content types that all use different fields to hold the same type of data. For instance,
Content Type A --
Field Name: field_type_a_user,
Field type: Entity Reference
Content ...
1
vote
0
answers
245
views
Perform simple filtering on an Entity Reference autocomplete field
I have a content type that has an entity reference (user field) field_mr_mission_supervisor. The user accounts have a date field field_user_end_date. I'm trying to Filter the ...
0
votes
1
answer
286
views
How to programatically add a pseudo field to views and display the field value based on value of other field?
I need to add a field to view and display the value of that field depending on the value of other fields already present.
The pseudo field i need to add is not connected with any database table.
3
votes
5
answers
7k
views
How to filter views results based on entity reference field
I use Drupal 7 and entityreference module.
I have a content type with a entity refenrece field to users called field_users_referenced.
So I created a view with views module and list nodes of thats ...
2
votes
1
answer
53
views
How do I create a unified list of referenced users in a multi-entry entity-reference field in a multi-entry field collection field?
My set up is similar to the setup in this question:
How to integrate Field collection module in Views?
I have a content type with a field collection field (hereafter itineraries) that accepts ...
0
votes
0
answers
62
views
How do I add multiple custom CSS classes to Views references field?
As a follow up to this question I need to resolve the same issue for References module, in concrete the views integration.
When defining References Views display, no CSS classes can be added to rows (...
1
vote
2
answers
793
views
Display all nodes with identical field value to current node
BACKGROUND:
Site is using content types which are auto-created through Rules, called CT-A and CT-B. CT-B represents a full URL, and CT-A represents that URL domain. CT-A is always created via Rules ...
1
vote
1
answer
14
views
How do I add certain Fields to a View (not all fields are showing in Add list)?
I'm creating a view where I'd like to output a custom field. I am basing this off an already existing view, which already uses the said custom field.
However, when I hit the 'Add' button in the View'...
0
votes
1
answer
17
views
How can I turn several Fields into a menu via a View?
I have 3 text Fields that I use for URLs, attached to a Panel Page. I'd like to create a menu with these URLs.
I've sort of done this with a View, by setting the Contextual Filters to use the node ID,...
0
votes
2
answers
52
views
How can I turn a field into a link?
I've got a content type with fields whose values are URLs. I'd like to use a view to display these as links, using the field label as link name, something like <a href="{field_value}">{...
1
vote
1
answer
113
views
Show a field only once if the value is the same
I have a content-type with a field "Shooting Date" of type "date".
I have a block-view which collects all nodes of this type.
I sort these nodes by "Shooting Date".
I now want to display the year ...
0
votes
2
answers
159
views
list links to nodes in another node with Views
I'm currently struggling with the following scenario:
There are two different Content Types:
Offer
Event
What I want to achieve is this:
There are 6 offers and each of those offers have several ...
0
votes
1
answer
204
views
How to sort images in Views by their position?
If you have multiple images uploaded to your node, on the edit mode you can drag those images up and down and position them. How do I set that top image is shown first in Views?
Which sort option is ...
1
vote
1
answer
257
views
count entityreference multivalue field conicidences (make an attendance form)
This question is similar to this one How to make an attendance form, but i solved by entity refrence view widget module, saving date in a node, and having a field entityreference user relation with ...
1
vote
1
answer
56
views
Exclude viewing of a field in a view for a content type without excluding content
I have 3 types of content (article, product, service) and a view that displays my content on a page.
In my view I added :
a title field
a description field
a content type field
How do I display all ...
0
votes
1
answer
27
views
What are Text Filters and Input Formats?
In views, when I add a field of type body, there are some options given: text_default, text_plain, text_trimmed.
How do these options filter the contents of the field and where can they be found in ...
0
votes
1
answer
27
views
How to build an editable view of two entities linked together?
I started using drupal recently and i am stuck building an editableview.
In my view i have a table of users with a field of a content type "survey" associated to theim throught an entity reference ...
0
votes
1
answer
745
views
Using selected value of Entity Reference as filter for another Entity Reference
Going to try and put this as simple as i can.
Lets say i have 2 Entity Reference Fields A and B.
A) Gives a list of Countries.
B) What ever country was selected in A should only display list of ...
1
vote
1
answer
54
views
Reusing view field formatting?
I have several views that display data from the same content type, Customer.
I had to decide whether the view should display the teaser and format the teaser in a custom node--customer.tpl.php or to ...
0
votes
1
answer
67
views
List of referenced entities appended to a node
I have two content types: "project" and "task"
Using flag and with support of entity reference + flagging form, users can append very rapidly new "task" nodes to the current "project" node they are ...
1
vote
1
answer
19
views
Entity Reference + View + security
I have this scenario in DRUPAL 7
A content type named "Students" with a field "Legal guardian" that references to a User (her/his legal guardian).
A content type named "Reports" with a field "...
0
votes
2
answers
48
views
How to embed fields from a view to another view´s exposed filter
I am stuck with this problem. I created a view (type=term) with exposed filter. Thanks to http://leanderlindahl.se/en/dynamically-filter-content-drupal-view/ I managed to display the exposed filter as ...
-1
votes
1
answer
61
views
How to add clone of check box values?
I have a field as check-box. This check box should be used unlimited times with the same field but different values. Is there any possible way to do it without writing a module or do I need to write a ...
0
votes
0
answers
221
views
Image field in custom entity
I have a custom entity with an icon_fid property. This property is used to store images.
When displaying this field in views, it just shows up as a number (the file id)
I would like to display the ...
0
votes
1
answer
39
views
linking multiple node types to each other
I have 2 node types, complaints and solutions.
Every node type has multiple fields.
How can I link multiple solutions to a complaint?
And the other way around, how can I link a solution to multiple ...
1
vote
1
answer
36
views
Filter criteria works on first value
I am working on a view where I need to show publications (a content type) in which authors (another content type) should be active (have a specific value for one of their fields).
I am using a ...
1
vote
0
answers
231
views
Get the most recently viewed product variations (commerce product entity) in a View
Pre-requisite knowledge:
I have a view of type Content which is meant to list the most recently viewed product variations (commerce product entities that the product node references) first. I am using ...
0
votes
1
answer
145
views
How to create a view showing content linked with an entity reference field?
I have 2 content types: Developments and Carousel Images. Carousel Images has an entity reference field to select the Developments page it is linked to.
I simply want to create a view which will ...
1
vote
1
answer
90
views
How to Display a Single Image Gallery per Album in Content Teaser?
I have made a Hierarchical Photography site using Views, Panels and Organic Groups.
The Hierarchy is as follows:
Top-Level: Category (e.g. - SCENIC, STREET SCENES, MODELS )
Sub-Level1: ALBUMS | (e....
1
vote
1
answer
333
views
How to show field collection items with comma separated in views?
I have profile type programmer. This profile type having a field 'field_collection' type named language.
In the field collection we have two fields
Language
Year of experience
Now I am going to ...
1
vote
0
answers
48
views
Views show content where field used in user and node entity matches
I have an entity reference field called 'field_client' (client) used on both the user entity and on a node content type called 'ticket'.
I'd like to build a view that only shows nodes where this ...
2
votes
0
answers
71
views
Why Each user can modify flag field of other users by VBO(Views Bulk Operation)?
I have many users, and I have a flag and also flag field. users can flag contents and add value in flag field when they are flagging a content. for modifying flag field I'm using VBO Module. But each ...
0
votes
0
answers
24
views
SQL View of Collection Field taking a long time to complete
I have a View which would count the number of items related to a Taxonomy term.
The view counts Field Collections, and inside each field collection there is one or more taxonomy terms. I have a ...
3
votes
1
answer
268
views
How to show data of user that flagged a content(5 flag types or more)?
This is a followup question about this Old question
I have 5 flag types for a content type. consider we have 5 flag types and we don't know how many flags our user used. I mean, the first user can ...
0
votes
1
answer
78
views
How to optimise views with multiple field collection?
I created a views reports page with multiple field collections (10), I added the field collection in relationships in advanced option to get the fields inside the field collection. this works great I ...
2
votes
2
answers
188
views
How to show data of user that flagged a content(2 flag types)?
I have 2 flag types for a content type. both flags have flag field. consider the user flagged a content by both flags. I want to show user data. I have problems in this situation. I add flag A and ...
2
votes
3
answers
993
views
How to combine values of same field in a single column of a chart created with Charts?
My question is about merging values for both the title field (= the company name) and various fields. I'm currently using the Charts module.
In the picture below, it shows a column chart that ...
2
votes
1
answer
182
views
How to create a Views relationship using the Address Field module?
I am trying to create a view to filter content types assigned to a specific country (set using Address Field module), determined by the current node's title.
My address field is not being listed ...
1
vote
1
answer
165
views
How to force Panels to render a node field even when field is empty
I have a field that I want to display via the Views Hybrid formatter in a panel pane as a node element. It renders just fine when there is at least one user-selected item in the field, but when there ...