I tried to use the feature: Disable Help on Specific Pages. I want to disable help on my home page, which is a page with the URL of "home." I inserted the following into the page: http://mysite.org/admin/contexthelp/url/mappings:
home
/home
http://mysite.org/home
http://mysite.org
but the help button still appears on the home page.
What is the syntax needed to disable help on a page?
Comments
Comment #1
tallsimon commentedhave you tried ?
Comment #2
darren.ferguson commentedContexthelp always users the underlying and not any re-written currently so for example /node will make it so the help button is not displayed on that page.
Comment #3
tallsimon commentedtry
<front>Comment #4
TechnoBuddhist commented@Darren,
So is there no way mod context help to look at the path?
so I can have different help for paths like;
user/43/notifications
user/43/notifications/taxonomy
user/43/messages
node-type1/group/node-id
node-type2/group/node-id
Comment #5
TechnoBuddhist commentedLooking at the code;
I can find out the aliased path(I use paths) but I just need to work out how to handle wildcards and I think we've cracked it!??
Comment #6
darren.ferguson commentedFor wild cards i went the easy approach right now and put the % in there since it is the sql wildcard for one or more in between.
Comment #7
TechnoBuddhist commentedOK. I think I got it. And I hope I'm not wasting time here, cos I couldn't see anything about this in the docs.
With my line of code in place:
I checked the code and where you enter the Url for the help, you can use '%' as a wildcard.
user/%/notifications
user/%/notifications/taxonomy
user/%/messages
node-type1/%/% - works because the 1st % could be any group and 2nd is a node id
node-type2/%/%
Still testing but seems to be ok so far!!
Thanks for Context Help guys!!!
Comment #8
darren.ferguson commentedComment #9
Morn commentedPlease include the use of the URL Wildcard (%) in the description of the URl field
Comment #10
darren.ferguson commented