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

swentel’s picture

Status: Active » Fixed

'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.

knalstaaf’s picture

Ok, thanks for that.

I solved it by modifying the title in my node.tpl.php (with the method you advised in the README.txt):

<?php if (!$page && $title && !(isset($node->nodesinblock))): ?>
  	<h2 <?php print $title_attributes; ?>><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
    <?php elseif (!$page && $title && (isset($node->nodesinblock)) ): ?>
    <h3 <?php print $title_attributes; ?>><?php print $title ?></h3>    
<?php endif; ?>

Works fine!

Status: Fixed » Closed (fixed)
Issue tags: -Nodes in Block, -title linked to node

Automatically closed -- issue fixed for 2 weeks with no activity.

Reis Quarteu’s picture

Issue summary: View changes

Hi.
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.

Reis Quarteu’s picture

Sorry 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! :)