[drupal-devel] Page layout workflow mockup

Steven Wittens steven at acko.net
Mon Mar 21 17:01:24 UTC 2005


>I have an idea which would help implementing this. There are a lot of 
>functions in Drupal which ends with print theme('page', $output);
>
>These shall be changed to return $output; and menu_execute_active_handler 
>should be changed, too:
>
>-  call_user_func_array($menu['items'][$mid]['callback'], $arguments);
>-  return MENU_FOUND;
>+ return call_user_func_array($menu['items'][$mid]['callback'], $arguments);
>
>and then index.php shall have a default clause to print theme('page', 
>$status); -- well, let's rename $status to $return.
>  
>
Won't this mess up XML feeds or the printer-friendly book output?

Steven Wittens



More information about the drupal-devel mailing list