Can any one help me? I have been many time looking around to solve this problem. Now I know, how to make a new content type and how to theme its output. It was simple. just make a 'node--content-type-name.tpl.php' file in my template folder. Now I want to theme input form.
when I find its way, just said, Make a new module or put some code in template.php but I tried thousand of time but I didn't make any result. I think I didn't understand it very well. It too difficulty than just make a tpl.php file.
so, My questions are.
Is there any way to make a input theme file like, node--content--edit.tpl.php? ( I found, in page case, make a page--node--add--content-type.tpl.php)
Do I have to make a custom module? if I want to theme input in content-type?
Some people said, put theme() function in template.php in site/all/theme/bartik folder. I put a code below but It didn't work. did I miss anything?
content-type name : mycontent
function mycontent_theme() {
return array(
'mycontent_node_form' => array(
'agruments' => array('form' => NULL),
'template' => 'mycontent-node-form',
),
);
}
then I made mycontent-node-form.tpl.php file in the site/all/theme/bartik/template folder and I put just random text in it. (adsfasdfkajsdhfkash) but nothing happened.
actually I just want to make a agreement box in my content-type (INPUT) but I have spent to much time. Can anyone help me?