The multiple help tip blocks feature does not work

nevets - August 27, 2006 - 15:17
Project:Help Tip
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:minor
Assigned:Dave Cohen
Status:closed
Description

Even if you use the settings page to increase the number of blocks, the number of blocks shown on administer -> blocks is still one. This is causes by the for loop in helptip_block for the 'info' case. Inside the for loop is the line

$blocks[0]['info'] = t('Help tips %num', array('%num' => $i));

which should be
$blocks[$i]['info'] = t('Help tips %num', array('%num' => $i));

#1

nevets - August 27, 2006 - 16:12

So it turns out that is only part of the problem. There is no way to associate a particular help tip with a block.

#2

Dave Cohen - August 30, 2006 - 15:59
Assigned to:Anonymous» Dave Cohen

There is a way to make that association, using weights. Each block can filter to show helptips of only certain weights. Not perfect, but workable. If you have ideas I am all ears.

#3

bluecobalt - December 5, 2006 - 23:10

Just downloaded the latest version of help tip for 4.7 from cvs and see that you still have not fixed this problem. Wondering if you are planning on fixing this so that people who download the module are able to create more than one block?

thanks,
blue

#4

Dave Cohen - December 8, 2006 - 20:00
Status:active» fixed

Somehow I had checked this into DRUPAL-HEAD but not DRUPAL-4-7. Until today. Thanks bluecobalt.

#5

Anonymous - December 22, 2006 - 20:00
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.