I'm using Views 7.x-3.3 to display lists of entities (not nodes). The filter does not appear in the list. I assume this is because it is under "node" and I am not using nodes. I'm not an expert in Views API, but if someone can point me in the right direction I can take a stab at patching this...
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | views_dynamic_fields-entity_support-1492166-12.patch | 1.72 KB | dboulet |
Comments
Comment #1
micnap commentedAre there any plans to add support for entities to this module?
Thanks,
Mickey
Comment #2
spessex commentedI'm having the same issue. I'm using it to display Profile2 types and unfortunately cannot appear to see the option for a filter?
Comment #3
ibullockI required this module's functionality for profiles as well and found a really quick work around for the module.
(Note: This is for the Drupal 6 version of the module.)
In views_dynamic_fields.module change function code starting at line 32:
Comment #4
micnap commentedI ended up using the dataTables module instead. It's client side instead of server side but gave me all the functionality that I needed, including the ability to show/hide columns, reorder columns, search, and download data.
Mickey
Comment #5
donSchoe commentedCode in #3 is not working for Drupal 7, anyways this will be worked on for the next 7.x release.
Comment #6
donSchoe commentedComment #8
donSchoe commented#3 was working fine, I just had a typo. This should be fixed by now.
Demo: http://alex.parliamentwatch.org/drupal-7/dynamic-user-fields
Please report back if you still have issues with user views.
Comment #10
discipolo commentedcan we make this work for commerce_product entities aswell?
Comment #11
donSchoe commented@discipolo, can you open a new ticket and include information about commerce_product entities? I'm not used to commerce.
Comment #12
dboulet commentedSorry to re-open this issue, but I’d like to propose an alternative solution. Instead of adding support for each type of entity one at a time, we could add the dynamic fields filter to all base tables supported by Views—thereby supporting all query-able entities out of the box. I’ve attached a patch to demonstrate.
Comment #13
david_garcia commentedComment #14
hondaman900 commentedI've encountered this issue trying to use this module with Views of EntityForm submissions. It's not appearing in the available filters list. I opened a separate ticket for that issue.