How to select a custom block and region according to a view I have a view / display page that needs to be displayed in a specific html - page format.
I did a html--viewname.tpl.php and page--viewname.tpl.php to display my view.

Within page--viewname.tpl.php I call print render($page['content']); to render my view.
All is working except that block.tpl.php and region.tpl.php are called by drupal system to wrap the view content adding several html tags (div)  that I don't want.

I expected to use function MYTHEME_preprocess_block(&amp;$variables) to ask drupal to use a custom block.tpl.php file, but within this function I didn't find the way to know if the function is called to render my viewn or anything else.
When dealing with a page view you can use the views_get_page_view() function, to get the view object for the current page, like this:

/**
 * Variable preprocessor for the block template.
 */
function MYTHEME_preprocess_block(&amp;$variables) {
  // If we are on a views page display.
  if ($view = views_get_page_view()) {
    // If we are on the MYVIEW view.
    if ($view-&gt;name == 'MYVIEW') {
      // Add the view object to the variables for use in the template (if you need it).
      $variables['view'] = $view;

      // Use a custom block template for this specific display (if required).
      $variables['theme_hook_suggestions'][] =  "block__{$view-&gt;name}";

      // Add your block customisations for this specific view (if required).

      // If we are also on the MYDISPLAY display of MYVIEW.
      if ($view-&gt;current_display == 'MYDISPLAY') {
        // Add your block customisations for this specific view and display here (if required).

        // Use a custom block template for this specific display (if required).
        $variables['theme_hook_suggestions'][] =  "block__{$view-&gt;name}__{$view-&gt;current_display}";
      }
    }
  }
}