It seems like basic doesn't support node template overrides - I can see the code in basic_preprocess_page() that allows for suggestions, but I don't see anything in basic_preprocess_node() that would allow for this. Should this be added?

Comments

safetypin’s picture

I modified the code from the preprocess_page function and it works:

  // Allow type override template suggestions based on node content type.
  if (isset($vars['type'])) {
    $vars['theme_hook_suggestions'][] = 'node__' . $vars['node']->type;
  }
lil.destro’s picture

Status: Active » Fixed

This feature is available in the current 7.x-3.3 release

on line 124 in template.php

// Allow page override template suggestions based on node content type.
  if (isset($vars['node']->type) && isset($vars['node']->nid)) {
    $vars['theme_hook_suggestions'][] = 'page__' . $vars['node']->type;
    $vars['theme_hook_suggestions'][] = "page__node__" . $vars['node']->nid;
  }
lil.destro’s picture

Status: Fixed » Closed (fixed)