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.

CommentFileSizeAuthor
#4 helptip_alias.patch402 byteskahy

Comments

Dave Cohen’s picture

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

moshe weitzman’s picture

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

Dave Cohen’s picture

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

kahy’s picture

Title: ignorant of aliases? » alias support patch
StatusFileSize
new402 bytes

I've hacked a piece of code which should add a support for aliases.

Dave Cohen’s picture

Version: master » 4.7.x-1.x-dev
Status: Active » Fixed

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

Anonymous’s picture

Status: Fixed » Closed (fixed)