When going to any page and clicking the main "Help" button and then clicking the "Create Help" link, it seems the page URL should be appended to the node/add url in the form:
http://example.com/node/add/contexthelp?url=node/2
On my test site the link just looks like this:
http://example.com/node/add/contexthelp?url=
Thus on the node/add page, the URL field isn't populated. I've tried entering a manual url in there such as "node/2" but the context sensitive help doesn't show when clicking the "Help" button/link.
Comments
Comment #1
ChrisBryant commentedI just tested this further on another site (different environment/modules) and the problem is the same.
Comment #2
darren.ferguson commentedCan you please try this with the development branch since changes to the module have been made that made it more stable.
Comment #3
ChrisBryant commentedThanks for the quick reply! I changed to the dev version and now the "Help" link on the pages doesn't show at all.
I started with a new site/db install, using garland theme & don't have any modules enabled other than the ones required for Context Help. If I disable all the styles on the page I see this:
Seems like a javascript error of some sort? The only thing I can this is that I'm testing with Drupal 6.10. I can test with 6.12 and post back if anything is different.
Comment #4
darren.ferguson commentedDid the views and cck nodes get created correctly for the system and is the module configured with the correct node types?
Comment #5
sarasioux commentedI finally got the URL to show up in the link by enabling Internationalization.
Also, the content types weren't created successfully. I tried several different ways but I couldn't figure it out, and ended up importing manually.
Once I got the URL to show up in the link, the nodes I created still didn't show up proper. Eventually discovered that it requires them to be in language English, instead of Language Neutral.
Comment #6
darren.ferguson commentedNot sure why it would need internationalization but will check the code to make sure i did not create an issue
The English piece is because the context help node should have a language incase your using them in different ones that could be the issue for the internationalization also.
Will check before final rc possibly then full 1.0 release
Comment #7
ptoly commentedI found two places where there is are internationalization dependencies:
1. In the .module file, line 417
$query .= " AND node.language = '%s' AND '%s' LIKE {%s}.field_url_value";In a Drupal site that has not been set up for internationalization the node.language column is empty.
2. Also in the .module file, line 329
if (!function_exists('locale_language_list'))This function only exists if the locale module is activated.
Great module!
Hope this helps.
Comment #8
tannerjfco commentedTested against current dev release and the error still occurs. Is this issue still under review?
Great module by the way, from the looks of it this will address a site my project is in dire need of.
Thanks!
Comment #9
darren.ferguson commentedThe issue is because locale and translation were not dependencies, they now have been made dependencies of the module and this should now work correctly for you.