how 'bout labels, ah ha

blueprint - November 23, 2007 - 21:54
Project:Nodereferrer Create
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

//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

#1

blueprint - November 23, 2007 - 21:55

oh. of course, we could check if a label is not NULL or perhaps of the form a very long victorian poem.

#2

edrex - January 24, 2008 - 04:37

huh?

 
 

Drupal is a registered trademark of Dries Buytaert.