View Template Override that is full page I need to create a template for a view i've created (which I know how to do) but I don't want the page to be wrapped in the drupal html.php code. I want the resulting page to be only what is in the template file I create.

How do I do this? I looked online for examples but coudn't find anything.

Thanks
C

EDIT:

I found this which does what I need for content types lab

function yourthemename_preprocess_html(&amp;$vars) {
  if ($node = menu_get_object()) {
    if($node-&gt;type == "lab") {
      $vars['theme_hook_suggestions'][] = 'html__lab';
    }
  }
}


Then created a file called: html--lab.tpl.php

Can this method be used for me view?
does it have to be if($node-&gt;type == "lab")?
can I use something like if($view == "viewname")

Thanks
If you want views template not to be wrapped in html.tpl.php, page.tpl.php and any other template whatsoever, I would susggest to do the following:

function YOUR_MODULE_menu(){
    $items = array();
    $items['path/you/want/your/view/to/be/available/at'] = array(
        'type' =&gt; MENU_NORMAL_ITEM,
        'title' =&gt; 'View without wrapping templates',
        'page callback' =&gt; 'your_function_name',
        'access callback' =&gt; TRUE,
    );
    return $items;
}

function your_function_name() {
    print views_embed_view('your_view_name', 'your_display_name');
    exit;
}