By dragon2000 on
Hi,
I want to put a variable (like $node->sth) in node.tpl.php to show a value that my module creates.
but the problem is if I put it manually every time the user installs the module , he have to put it manually, how can I do this by coding?
thanks in advance.
Comments
there isn't sth like a hook
there isn't sth like a hook to do this?
...
Perhaps there is something here - http://api.drupal.org/api/function/hook_nodeapi/6
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.