I want to add Subscibe to Comments under every blog. I installed the CommentRSS module and now I want to add a link Subscribe to Comments under every blog. Thats why I tried to change the blog-node.tpl.php
<div class="node<?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?>">
<?php print $picture ?>
<?php if ($page == 0): ?>
<h1 class="title"><a href="<?php print $node_url ?>"><?php print $title ?></a></h1>
<?php endif; ?>
<span class="submitted"><?php print $submitted ?></span>
<span class="taxonomy"><?php print $terms ?></span>
<div class="content"><?php print $content ?></div>
<?php if ($links): ?>
<div class="links">» <?php
global $user;
print ('<a href = "http://weblog.stranger.nl/crss/node/'. print $node->nid. '>Subscribe to Comments</a>');
?></div>
<?php endif; ?>
</div>
But this is not correct. I do not get the right link. What I'm I doing wrong.
Regards,
Stefan
Comments
Comment #1
sstrange commentedI'm a little bit further with the code but now I don't see the other links anymore.
Any help appreciated!
Regards,
Stefan
Comment #2
beginner commentedIs this still relevant for Drupal 5?
In any case, the issue doesn't seem relevant to blogtheme: we are only dealing with changing the theme.