permission is gone after defining widget function
Archived from the Xataface Users forum.
kevinwen — Thu May 13, 2010 5:44 pm
I had a fieldname_permissions() to return array(‘edit’=>0), and the html looks like this:
Health Care
However, when I created the widget function block__fieldname_widget(), the permission is gone. and the html looks exaclty same as echoed from the widget function, instead of pulling out the value from the record:
Does somebody knows how to use the permission in the widget function? Thanks.