comments in $links --> move it elsewhere
I want to move the number of comments 'indicator' (i.e. 3 Comments) elsewhere. (Yet keep the original $links intact.) I want something like this in my node.tpl.php: Comments in this Entry: # (where # is any number, 0 on up, and the # linked to the comments.) I've tried a few things (like comment_num_replies<http://drupaldocs.org/api/head/function/comment_num_replies> ($pid) and others from drupaldocs, but I usually got an "array" or a total of all comments on my site. Has anyone figured this out? Any way to do this? (drupal 4.6). silverwing
Op vrijdag 16 december 2005 01:03, schreef david hodgkins:
Has anyone figured this out? Any way to do this? (drupal 4.6).
Very hard to achieve in 4.6. Have a look at friendselectric theme to see the regexp magic involved. In 4.7/HEAD we return structured data for those links. Its very easy to change this in 4.7. -- [ Bèr Kessels | Drupal services www.webschuur.com ]
participants (2)
-
Bèr Kessels -
david hodgkins