在我的template.php文件中我是这样的:
function myadmintheme_theme(&$existing, $type, $theme, $path) {
return array(
'node_form' => array(
'arguments' => array('form' => NULL),
'template' => 'ccktype',
),
);
}
Run Code Online (Sandbox Code Playgroud)
我在同一个目录中有一个ccktype.tpl.php:
<b>works!</b>
Run Code Online (Sandbox Code Playgroud)
但是没有用,如果我进入node/add/ccktype,我就没有得到"工作!" 消息..我尝试了一切!
任何帮助,将不胜感激