[drupal-devel] Major change for callbacks
24 Apr
2005
24 Apr
'05
6:54 p.m.
Hi! Dries has commited my patch which centralizes all those print theme('page', $output); calls. If you return a string from your callback, it will be printed by theme('page', $output); so there is no need to do that yourself. In this way, we can put a callback's output into a block as well. If you do not return anything, nothing happens. So I hope I have not broken backwards compatibility. You probably need to empty your menu cache 'cos this patch killed system_admin_page 'cos it was totally unnecessary. Regards Karoly Negyesi
24 Apr
24 Apr
7:26 p.m.
I made a script -- mostly by copy-paste from php manual comments -- to do the replacements, and maybe you could benefit from it. See my sandbox.
7728
Age (days ago)
7728
Last active (days ago)
1 comments
1 participants
participants (1)
-
Karoly Negyesi