Closed (works as designed)
Project:
Quote
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Jun 2010 at 15:47 UTC
Updated:
18 Jan 2012 at 08:38 UTC
Hello,
In one of my nodes, I view the comments in a block. My problem is that when I turn off the display of comments in the node, there are more links to "citation" in the comments.
The code to disable the comments in the node:
<?php
function modele_2r_nodeapi(&$node, $op, $teaser = NULL, $page = NULL) {
if($node->type == 'modele_2r') {
switch ($op) {
case 'load' :
$output['comment'] = 0;
return $output;
}
break;
}
}
?>
The code to display the comments in the block:
<?php print comment_render($node, 0); ?>
Thank you in advance for your help.
Comments
Comment #1
Zen commentedAre your other filters being rendered correctly? Or is it just quote?
-K
Comment #2
Clément commentedHello,
Yes, it is only with "quote".
Here is what I found as a link in each message: unpublish, submit spam, delete, edit, reply
It's really strange...
Comment #3
Zen commentedI tested this, albeit with 6-2-dev, and it worked fine with the following code:
Please retest and get back to us.
Thanks,
-K
Comment #4
Zen commented