[HOW-TO] Drupal 6 : Add additional "Add Comment" link into the node

Category:

Just edit node.tpl.php and insert code below to anywhere you want :

<?php
print l(t('Add Comment'), 'comment/reply/' . $node->nid, array('fragment' => 'comment-form'));
?>

Make sure that , 'comment/reply/' part is relative to your path. If you access your website through www.myweb.com/web. Then, that part would be , 'web/comment/reply/'

Note : In case you are using Acquia Prosper theme, edit node-product.tpl.php instead.

Source : http://drupal.org/node/870344

Comments

THX ! Could you describe how u put this code ? I mean how did know what to put in this line.

As I said, you can put it anywhere you want. Just make sure it's not within <?php ........ ??>. If it's not working, make sure you clear your cache.

I'm not sure where you're getting your info, but great topic. I needs to spend some time learning more or understanding more. Thanks for magnificent info I was looking for this info for my mission. Peter

Yea I know that (I'm using it on my page) but how did you found that this code must be written this specific way. Where to look for those objects - 'comment-form' ?

What I did here is to try what many people commented, then, confirmed that it work here to make it easier for anyone that want the same thing as mine. (Reading through a lot of comments can confuse many people) So, with this topic, I just tested and summarized how to do it. If you really want to know, you may have to go to drupal forum in the link above and ask from there. Sorry that I can't help.

The dissertation writing is now an important task for the degree students. They may have to write many dissertations on their academical subjects. The twenty or thirty pages of dissertation how ever make students struggle while writing. These degree dissertation is requires a plenty of knowledge on the subject. So students have to do a well and perfect research on the topics. Other ways they may not start their dissertation in a good manner. This is why students are really felt lazy on their degree dissertations. In the present some smart students are try to find some best external dissertation writing support for their dissertation writing use. Because this online supports is giving a top best dissertation for their users. They are having fine talented and professionally good writers to complete the dissertation. Therefore now you can get best dissertations from best essay writing service. They are also a one of the best dissertation writing online service. When we approach their website only we can understand their standards. So this best essay writing service will help you when you tired to write your academic’s dissertations. They are also well known in many other degree dissertation subjects. I hope this may help you to reach a top in dissertation. http://www.clazwork.com/testimonials.php

I don't have any questions regarding this for this. http://papersowl.me/ is really working for students to make them stress free.

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.