By baronmunchowsen on
Hi there,
Can anyone tell me how I can separate the comments and comment form from the $content page variable. I'd like to have the comments appear in their own $comments variable in my page template file. I'm familiar with preprocess functions and so forth, just banging my head against a wall on this one. Any advice, or a point in the right direction is greatly appreciated.
Cheers.
Comments
I don't have an answer but I
I don't have an answer but I would like to know how to do this too.
Luis
I just found
I just found http://drupal.org/project/comment_form_above_comments and seems it could do the job with some modifications, maybe just taking some of the code from that module.
Luis
I looked at that module, but
I looked at that module, but it doesn't change the comments being a part of $content, rather just re-orders the comments bit of it. Definitely along the right lines though. I'm currently trying to re-use some of the code to see if I can seperate out the comments from the content in template.php.
I'd like to find out how/where the $content page variable is built... that would be the ticket!
Yes, you can do it....
There are sevaral ways to do it....
please cotact me on mehul.webprogrammer@gmail.com to get help,
or call me on +91 9426372687.
see u soon,
mehul.
@mehuls If you know how to do
@mehuls If you know how to do this, maybe it would be better to post it here so we all know how to do it. Thanks
Luis
Perhaps you can share in the forum?
@mehuls - I get the feeling this might be a long shot - but any chance you could jot down your solution(s) as a reply in this forum post? :)
Hi there, Upon further
Hi there,
Upon further searching it looks like this module: http://drupal.org/project/comment_display will achieve what I'm looking for. I haven't taken it for a spin yet - fingers crossed!
thx