Closed (fixed)
Project:
Block Title Link [D7]
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Dec 2009 at 16:04 UTC
Updated:
21 Apr 2010 at 21:03 UTC
First of all this module is a great idea. But for me it doesn't work.
Drupal 6.15 fresh install. After instaling your module I renamed example_block.tpl.php to block.tpl.php and put this file to my theme folder. I have Block Title Link settings section with "Title Path" field in block settings page. After I put url and hit save button, block's title becomes a link, but link is
mylocalsite/admin/build/<? print $block->title_link ?> if I on mylocalsite/admin/build/block
or
mylocalsite/node/<? print $block->title_link ?> if I'm on mylocalsite/node/2
tested on Garland - the same. Please help
Comments
Comment #1
AlexanderPop commentedI used code from http://drupal.org/node/662294 post and it works.
Comment #2
geoff3jones commentedyup, had this issue too but realise that the clue is in the error notice that it is thinking that
<? ....?>is the link it is meant to be linking to and is the same for all of the blocks you enable, this module on. Take a peak at the php of the example on line 5 the<? print $block->title_link ?>is slightly different to the other time that this command pops up (line 9)<?php print $block->subject; ?>now it should be easy to spot that the thing that is stopping the block working with it super desirable slickness is the missing letters 'php' after the initial<?that way the line is read as php instead of plain txt try the following snippet adjustmentthis fixed it for me hope it does for you too.
Comment #3
ngmaloney commentedNew release should resolve. Be sure to update tpl.php