Hi Steve,
I'm managing the fields visibility through the table delegate class.
For grafted fields and (normal) fields, I've no issue.
But applying the same with delegate Fields, it is not working:
function init_table(&$table) {
...
$currField =& $table->getField('myfieldname');
$currField['visibility']['browse'] = 'visible';
...
}
I think it is a bug since when I'm displaying the content of $currField using var_dump(),
my instruction $currField['visibility']['browse'] = 'visible'; is well implemented in the $currField array.
however, the regarded delegate filed is actually NOT displayed (NOT visible).
what is strange is that the instruction in the fields.ini file seems to override all the rest:
e.g. if I put
[myfieldname]
visibility:browse=visible
It actually display correctly 'myfieldname' .
Thanks for your support,
Pierrick