views:

33

answers:

3

I have a Drupal module, that I want to present in a clean page - with no headers, menus, footer ect. I think all I need is a version of page.tpl.php that contains HTML page headers and <?php print $content ?> How can I point my module to such a page?

A: 

You could do this with template suggestions.

googletorp
A: 

You could do it with Front Page module

Front Page Module

Barry Pretsell
A: 

the template suggestion technique worked for me!

function phptemplate_preprocess(&$variables) {
    global $user;

    $myURL = (basename($_SERVER['REQUEST_URI']));
    if($myURL == 'my_module_name')
    {
        $variables['template_file'] = 'page_my_module'; 
  }
}
ernie