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.

Comments

tdimg’s picture

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.

ljet’s picture

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.

Shyamala’s picture

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)

ljet’s picture

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