Search code examples
drupaldrupal-6drupal-themingdrupal-templates

How to customize the output of node content in Drupal 6?


I am looking to customize the templated output of the $content variable in node.tpl.php Can you tell me how I could achieve this? Is is possible with another template file?

The reason for this is to achieve AJAX pagination thus I need an ID on node_body and also to pull out the paging nav from this same DIV.

Any help appreciated!


Solution

  • You need to delete the $content variablee from node.tpl.php and use the separate fields of $node. You can view the fields with print_r($node)