Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By jsn on
Hi all
How can I disable and remove form my web page the message "Log in to post comments"
thanks
Comments
=-=
display none in css
PHP
If you create your own module you MIGHT be able to get rid off it by using hook_link_alter(&$links, $node, $comment = NULL) . I havent tried it yet, but im pretty sure it would work. It might be an overkill tho.
using views
Yo can also use views or page display or both to determine how your content will show and decide what links to display.
Raul
raulcaceres.me
^
If you don't want to have comments for any node of this type, simply Disable comments in node type's settings page.
else, try
What's new and changing in PHP 8
simple
simple way ?