seems odd, but i am seeing my helptips when i go to a system path but not when i go to its mapped alias path.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | helptip_alias.patch | 402 bytes | kahy |
seems odd, but i am seeing my helptips when i go to a system path but not when i go to its mapped alias path.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | helptip_alias.patch | 402 bytes | kahy |
Comments
Comment #1
Dave Cohen commentedIt's all based on $_GET['q']. Is there a better way?
I guess the answer is yes, it's ignorant of aliases. But if someone points me to the right API I'll make it smarter.
Comment #2
moshe weitzman commentedPerhaps related - when two helptips are valid for a given path (considering wildcards) i am see that a random one is shown instead of both. I can see a use case for random but thats not what the docs lead me to expect.
Comment #3
Dave Cohen commentedHave you configured the block to show more than one?
At the block level, you control how many are shown. If more than one, they are sorted by weight, then random.
Comment #4
kahy commentedI've hacked a piece of code which should add a support for aliases.
Comment #5
Dave Cohen commentedI just checked in a change to display the helptips whether a page is accessed by an alias or a default path. Thanks for pointing out the drupal_lookup_path function.
Checked in to DRUPAL-4-7 branch only.
Comment #6
(not verified) commented