How to disable comments in a node?

ljet - July 25, 2007 - 04:47

I'm using drupal 4.6x.
I want to disable add new comments which appears in a node page.
How can i disable it?
Please advise me.
Thanks in advance.

Update to Drupal 5

c2uk - July 25, 2007 - 06:20

Really, try to update to Drupal 5. Maybe in two steps, first to Drupal 4.7 and then to Drupal 5. There are know security issues with Drupal 4.6 and your site is at risk.

In Drupal 5, you can create a new content type and de-activate comments for all nodes of this content type.

Please advise me for ver. 4.6.x

ljet - July 25, 2007 - 06:24

I cannot update to ver 5 as i did a lot of customize code and huge database.I'll update later after some time.
Please advise me for 4.6x
If you don't know, let it be.I'm asking others who has known how to do it.

You should be able to do

Shyamala - July 25, 2007 - 06:40

You should be able to do this in you theme node.tpl by commenting the following line. I am not familiar with drupal 4.6, for furthur assistance please mail me your node.tpl.

<?php if ($links) { ?><div class="links">&raquo; <?php print $links?></div><?php>

Shyamala
Team Leader (http://www.netlinkindia.com)

Yes. It works.Many

ljet - July 25, 2007 - 07:32

Yes. It works.Many thanks.
But it also disable for "read more" links.
Can you please advise me how to avoid "read more" links.

 
 

Drupal is a registered trademark of Dries Buytaert.