[themes] How to remove comment reply link in D7
Carl Wiedemann
carl.wiedemann at gmail.com
Wed Feb 16 15:59:13 UTC 2011
Alter the 'links' parameter in via template_preprocess_comment() in your
theme's template.php
function MYTHEME_preprocess_comment(&$vars) {
// change $vars['content']['links'] ...
}
See comment.module and comment.tpl.php for more information.
On Wed, Feb 16, 2011 at 12:23 AM, Tanel <keevitaja at gmail.com> wrote:
> I just want to remove the ’reply’ link. All other links, like edit for
> admins should remain!
>
>
>
> Br
>
> Tanel
>
>
>
> *From:* themes-bounces at drupal.org [mailto:themes-bounces at drupal.org] *On
> Behalf Of *Carl Wiedemann
> *Sent:* Wednesday, February 16, 2011 12:37 AM
> *To:* A list for theme developers
> *Subject:* Re: [themes] How to remove comment reply link in D7
>
>
>
> Where in the theme are you trying to do this? Do you want to disable
> comments altogether, or just the link to show comments?
>
> On Tue, Feb 15, 2011 at 3:20 PM, Tanel <keevitaja at gmail.com> wrote:
>
> Hello,
>
> Does anyone know how to remove a comment reply link in D7?
>
> Br
> Tanel
>
> _______________________________________________
> themes mailing list
> themes at drupal.org
> http://lists.drupal.org/mailman/listinfo/themes
>
>
>
> _______________________________________________
> themes mailing list
> themes at drupal.org
> http://lists.drupal.org/mailman/listinfo/themes
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/themes/attachments/20110216/f379a703/attachment.html
More information about the themes
mailing list