5 Jul
2007
5 Jul
'07
2:05 a.m.
The problem with drupal_render
currently is we're limiting it to generating node bodies. This is a highly nestable API... I'm not sure why we aren't rendering pages using this as a starting point and having new renderAPI element type like 'page', 'section', 'block', 'container', 'node'...
in drupal6, user profiles are printed via drupal_render(). and unlike nodes, this call comes right in the .tpl.php file. see user_profile.tpl.php in /modules/user
I know we all probably think of this as FormAPI at the moment, but formAPI is the renderAPI with some form processing specifics built on top of it.
i think many people now understand this distinction. it took us a while, but we are leaving that confusion behind ...