Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The module is doing its job perfectly, except for one thing: my node titles are displayed as a link while they shouldn't. These blocks are just pieces of information on their own, so there's no need to click through (to their full node).
I've set "Full content without links" but with no result.
Is it possible to only show the title instead of a title linked to its node?
Comments
Comment #1
swentel CreditAttribution: swentel commented'without links' means that the 'links' variable at the bottom shouldn't be displayed. The easiest way to fix this is to open the node template file and use the $node->nodesinblock boolean to alter the title. There is really no other way to do that.
Comment #2
knalstaaf CreditAttribution: knalstaaf commentedOk, thanks for that.
I solved it by modifying the title in my node.tpl.php (with the method you advised in the README.txt):
Works fine!
Comment #5
Reis Quarteu CreditAttribution: Reis Quarteu commentedHi.
I've just done the changes suggested by knalstaaf, but it did not work.
What node.tlp.php file should I change? I think it would be the one in the templates folder of the current theme of my web site. I have also changed all the node.tlp.php files on my server, but I was not successful.
Where can I find the README.txt file you referred to?
Any help will be greatly appreciated.
Thanks in advance.
Comment #6
Reis Quarteu CreditAttribution: Reis Quarteu commentedSorry for my previous comment.
I've just found what was going wrong: I have forgotten to clean my web site's caches... :/
It's working fine now. Many thanks for all your help! :)