Active
Project:
Views PHP
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Nov 2011 at 22:34 UTC
Updated:
24 Jan 2012 at 14:35 UTC
How do you make the PHP field respect the trimming settings of the field?
I have few fields in my view with the exclude form display enabled.
I use the PHP field to apply some conditions, but if ignores the trimming options of the fields.
this is the field and I guess there should be some sort of a function to set maximum length and check for unclosed tags.
$data->_field_data['nid']['entity']->field_body_footer['und'][0]['value'])
Comments
Comment #1
johnvI think you need to render() the field.