Posted by blueprint on November 23, 2007 at 9:54pm
Jump to:
| Project: | Nodereferrer Create |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
//blueprint says this is a much nicer laber than the silly name
$label = $type_info[$base_node->type]['fields'][$fieldname]['widget']['label'];
$items[] = l($label, 'node/'.$base_node->nid.'/add/'.substr($base_field['field_name'] , strlen('field_')).'/'.$typename.'/'.$fieldname);
It seems reasonable, given how far we've come to this point?
yours,
Mark
Comments
#1
oh. of course, we could check if a label is not NULL or perhaps of the form a very long victorian poem.
#2
huh?