| Project: | Help Tip |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Dave Cohen |
| Status: | closed (fixed) |
Issue Summary
I've successfully used help tips to assign a single tip to a single page. However, now I wish to use help tips in two different blocks (one in right sidebar and one in left sidebar). In settings, I set helptips to show 2 blocks. And, 2 blocks do show up ('help tip' and 'help tip 1'). However, tips created are automatically assigned to the original helptip block, and there doesn't seem to be a way for me to assign a tip to the other help tip block ("help tip 1"). Am I missing something?
Also, it is my understanding that a help tip should be able to be assigned to multiple pages ('paths'). But, the 'create help tip' form only provides a form field for one 'path' (ie, assigning contextually to one page). I see that in the blocks admin, I can tell the block to display on certain pages, but I've tried everything and can't get that to make a difference. I've tried the 'node/number' and also tried the clean urls and even the entire path to the pages I wish the block to display on and no go. It only displays on the one page I set the 'path' to when I originally created the tip.
Ultimately, I want to create contextual sidebar content (assign a given piece of content to appear only when certain pages are loaded and be able to assign multiple bits on content to each page) and am trying to use helptips to do this because of the contextual feature. If there is a better module to accomplish this, I'm open to suggestions.
Thanks!
Comments
#1
A while ago I had an idea to solve this problem. I would do this by giving each block a configuration where you could control which weights it would display. So one block would only display tips with weight 1-5, while another weights 6-10. Then you assign weights to the tips to control which block it shows up in. This is far from intuitive, I know. But it seems an effective way to do this and I don't have any better idea.
The funny thing is, I thought I had made that very change and checked it in, but now I can't find it anywhere. I'll try to track it down.
This could also help with your second issue. It would allow you to make use of the more sophisticated controls that a block has over whether it appears or not. With helptip, the only way to make it appear on more than one page is to use a wildcard. For example, use "node/%/edit" to make a tip appear on all node edit pages.
#2
Thanks so much for the quick response! :) Yeah, I did see your mention of the "weights" work-around on another post, but wasn't sure if that was something I could utilize with the current version (couldn't see a way to do it). Let me know if you find the workaround you already created, otherwise any tips you have for me on implimenting that change would be great. Keep in mind that I am not a 'programmer' and can only really cut and paste php ;) , though i have done some basic Drupal customizations at the code level (like adding blocks--easy stuff).
Thanks for looking into it!
#3
Hi,
Wondering if you ever got this figured out. It sure would be nice to be able to associate a help tip with a particular block.
thanks,
blue
#4
Please apply this patch. If it works, I'll check into DRUPAL-4-7 and DRUPAL-5 branches. The patch is for 4.7.
#5
Awesome!
Thanks yogadex. The patch seems to work fine.
blue
#6
Checked into DRUPAL-4-7 and DRUPAL-HEAD.
#7