function heihachi_form_alter(&$form, $form_state, $form_id) {
if ($form_id == 'ipaper_node_form') {
unset($form['body']);
}
}
the code above removed body field in node/add/ipaper. But how can i remove body inside a node? (mysite.com/node/4420 for example).
And 2nd question is: i did print_r($form)
inside mymodule.module and now im watching in the page source code and see this:
Array
{
[#node] => stdClass Object
(
[uid] => 1
[name] => heihachi
i am on the right way if i use this construction to print the name for example: $form['#node'] => ['name'] ?? Guess not.. :) That stdClass Object is confusing me :(