Is there a replacement for the theme_node function: http://api.drupal.org/api/function/theme_node/5 in Drupal version 6 or maybe a different way to perform the same functionality?

Comments

francort’s picture

If you take a look to chameleon.theme( in themes/chameleon ) you'll see that the function is used there as chameleon_node.

For Drupal 6, there is no function theme_node on theme.inc but a node.tpl.php on node module folder. In both cases, if you have a .theme file you can define your own version of the node theme with mytheme_node function

vivianspencer’s picture

Thanks, I'll give it a try

- Vivian

summit’s picture

Hi, Having problems also with theme_node with the openresort port to Drupal 6, see: http://drupal.org/node/290622#comment-2430344.

what would you suggest to use instead of theme_node_business in my case?

Greetings, Martijn