Posted By

isholgueras on 05/13/11


Tagged

drupal


Versions (?)

Change comments place in Drupal 6


 / Published in: PHP
 

  1. function comments_custom_place(&$node){
  2. $comments = '';
  3. if (function_exists('comment_render') && $node->comment) {
  4. $comments = comment_render($node, $node->cid);
  5. $node->comment = NULL;
  6. }
  7. return $comments;
  8. }

Report this snippet  

You need to login to post a comment.