Download & Extend

Dynamic field Views integration

Project:Dynamic Field
Version:6.x-1.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Are the dynamic fields supposed to work with views?

I am trying to use it in a fields style view, but always get 0 field value (while same fields calculate and show nicely in standard node)

Comments

#1

Subscribing.

The view I created seems to work nicely, but it isn't displayed when accessing a content type using it as a dynamic field.

#2

Status:active» fixed

I found what I made wrong: I simply didn't understand that it would be evaluated as a function, and that it needed to return the result.
Just add return before views_embed_view, and see the result.
For some reason, you won't see the same result when you're anonymous (for me I simply cannot see this dynamic result when browsing the site without being logged. If we have to enable the use of PHP for anonymous users to solve this, there's a much bigger problem)

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#4

Status:closed (fixed)» active

Same issue. Dynamic filds is not work with views. When i try to use it, column with dynamic field always return empty field.
And i want to use dynamic field for sort table in view, is it possible?

#5

subscribing