[development] Code freeze reminder
Sean Robertson
seanr at ngpsoftware.com
Thu Jun 21 19:43:32 UTC 2007
I agree, the way we do it now is absurdly confusing. Definitely +1 on
the drupal_render option.
Aaron Winborn wrote:
> very exciting! +1 for this.
>
> aaron winborn
>
> Jeff Eaton wrote:
>> For example:
>>
>>
>> <span class="my_field"><?php print
>> check_format($node->content['field_details'][0]['value'],
>> $node->content['field_details'][0]['format']) ?></span>
>>
>> Vs.
>>
>> <span class="my_field"><?php print drupal_render($node['details'])
>> ?></span>
>>
>> The latter is what we do now when we need something more granular than
>> the $content variable. The latter is what a cleanly renderable node
>> would give us.
>>
>> --Jeff
>>
--
Sean Robertson
Web Developer
NGP Software, Inc.
seanr at ngpsoftware.com
(202) 686-9330
http://www.ngpsoftware.com
More information about the development
mailing list