Hi All,
Am using drupal 6. Don't know what went missing where but I can't see the reply/delete links in my comments on the node pages. I am certain I had these links available at some point of time. Not sure what things have changed during the past few months. I did a dprint_r of $links in comment.tpl.php but it shows me absolutely nothing.
How and what and where do I check for this?
cheers - Ben
Check the comment.tpl.php file in your theme for the line: <?php print $links ?>.
Also check to see if you the log in account you are using has the proper permissions.
Cory Gilliam Knoxville, TN 37921 865.335.3250
:) Yep.. i am the admin!! the super user.. the root. the user one! i tried to dprint_r($links) as well in the comment.tpl.php but nothing shows up.
--- On Sat, 5/14/11, Cory Gilliam imaaxa@gmail.com wrote:
From: Cory Gilliam imaaxa@gmail.com Subject: Re: [support] comment.tpl.php $links not available To: support@drupal.org Date: Saturday, May 14, 2011, 6:37 PM
Check the comment.tpl.php file in your theme for the line: <?php print $links ?>.
Also check to see if you the log in account you are using has the proper permissions.
Cory Gilliam
Knoxville, TN 37921
865.335.3250
-----Inline Attachment Follows-----
Since you say you had a delete link, that must have come from some contrib or local module. Standard core is reply and edit.
Assuming you were just mistaken about the links, first make sure that comments are marked as read/write for the content type.
The next thing I would do is code a simple module with hook_link_alter and very low weight (e.g. 100) to see if they are even being created or getting that far. Assuming they are, then you can go hunting for which module is destroying them (perhaps in a preprocess function).
Nancy
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
----- Original Message ----
From: Benjamin Jacob
Am using drupal 6. Don't know what went missing where but I can't see the reply/delete links in my comments on the node pages.
I am certain I had these links available at some point of time. Not sure what things have changed during the past few months.