[drupal-devel] Question about page serving mechanism
Karoly Negyesi
karoly at negyesi.net
Sun Jul 3 15:53:26 UTC 2005
On Sunday 03 July 2005 17:07, Fabiano Sant'Ana wrote:
> I read the "Drupal's page serving
> mechanism"(http://drupal.org/node/10858), and I had a impression that is
> impossible to a module handle all the content of the page that will be
> show to the user.
> Is that true?
Absolutely not.
While most callbacks end with print theme('page', $output); (or its equiv.
in HEAD, return $output) this is not a necessity. front_page module, for
example, is able to print a non-themed front page. feed pages are also
non-themed.
So in short, you have absolute control. If you call theme('page', $output)
you get back your $output themed and you can print it. If you do not call
it, so be it.
Regards
NK
More information about the drupal-devel
mailing list