Closed (won't fix)
Project:
Computed Field
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2008 at 15:27 UTC
Updated:
28 Jan 2012 at 03:21 UTC
Is there a way to pull a field from the profile of the user who's viewing the node (always registered in my case) and compute it with a field from that specific node?
Comments
Comment #1
asak commentedAnswering myself: This probably isn't possible. from what i (now) understand the computation of fields is done on creation/update, and not when the node is actually viewed. It probably is possible to use data from the author's profile, but not from the viewer's profile.
Comment #2
Rosamunda commentedHow could that be done? With Views?
Comment #3
sin commentedCurrent computed field module has a bug -- field is calculated only on node save/update and not on every node view as advertised. This bug can be fixed with patch at #134661: Recompute on every display not working?. After applying this patch I use current user profile values with the following code:
Comment #4
colanVersion 5 is no longer supported.