[development] hook_theme

Damian Adriel Perez Valdes damian.adriel at gmail.com
Wed Mar 16 16:42:19 UTC 2011


i have a question. I need to make a page in my module with out a garland
theme, to show with a ligthbox module. similar to a print module.

I use:

        'title' => 'Show',
        'page callback' => 'theme',
        'page arguments' => array('view_user'),
        'access callback' => TRUE,
        'type' => MENU_CALLBACK,

 * Implementation of hook_theme().
function show_theme() {
  return array(
    'view_user' => array(
      'arguments' => array('view_user' => NULL, 'type' => 'html', 'node' =>
      'template' => 'page-user-view',

it's work fine, but load with a garland theme. and i need white page,
without theme, because i load this page with lightbox2 module.

what can i do ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110316/c1df60c3/attachment.html 

More information about the development mailing list