[drupal-devel] Page layout workflow mockup

Bèr Kessels berdrupal at tiscali.be
Mon Mar 21 16:40:35 UTC 2005

Op maandag 21 maart 2005 16:09, schreef Karoly Negyesi:
> I like this one.
> 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.
> After this you may call a page function via module_invoke and put it's
> output into a block.

In a nuthsell: we go back to a pull system (every second release we seem to 
want to change push vs pull ;)), not?

 [ Bèr Kessels | Drupal services www.webschuur.com ]

More information about the drupal-devel mailing list