Active
Project:
Views Custom Field
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jul 2009 at 13:48 UTC
Updated:
31 Jan 2011 at 17:53 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedApparently this issue is also causing the problem in this issue: #573390: Custom text values don't work
Any update on this?
Comment #2
infojunkieInstead of calling
$view->execute(), call$view->render(). The$view->resultarray should be updated then. The problem is that Views does not have a post-execute hook where VCF would be able to compute the field values. Hence, this computation can only occur at pre-render time.Note that this technique currently works only for the PHP Custom Field. If you report that it works well, I can extend it to Markup and Rownumber.
Comment #3
casey commentedDrupal 7 version (http://drupal.org/project/views_php) updates $view->result.