Overwrite custom node view fail I've created a function that have custom content type and all went well, but the problem is now I'm unable to overwrite the node view page:

Here are my functions:

function xxx_theme($existing, $type, $theme, $path) {
  return array(
    'xxx_print' =&gt; array(
      //'variables' =&gt; array('node' =&gt; NULL),
      'function' =&gt; 'theme_xxx_print',
    ),
  );
}

function theme_xxx_print($node) {
  return '&lt;div&gt;test&lt;/div&gt;';
}
If you are using panels node view template for your node view then your template file and node theme declarations would be overruled by panels.

If you want to verify, disable the panel node view. Make sure to flush your caches then visit a node you have and your theme override/addition will be there.