In function uc_invoice_templates_help($path, $arg) ...
There's a switch on $path, and a single case (case "admin/help#uc_invoice_templates":).
Drupal wouldn't display the long help message in that case (it substituted the README.txt material) in my system. I got it to display by removing the switch statement. Once I did that, all the documentation in that function was displayed. However, it had the nasty side effect of also displaying that help page almost everywhere in the administrative back-end.
Looking at the case, I figure the # should actually be a /, as in "admin/help/uc_invoice_templates". However, that didn't work for me. Tried a couple of other constructs, and couldn't get them to work either. So I printed the help page out and put the switch back in ....
Comments
Comment #1
Dan Z commentedHmm. That "case" is the standard way to do it as described at http://drupal.org/node/1095546, and it works fine on my site.
Do similar help links work on your site? I.e., what happens if you go to the modules page and click on the help link for "Cart Links" or "Store"?
Are you using any modules that might affect how help is displayed? What version of Drupal are you using? Does flushing your cache help?
I'll have a look at the code and documentation. Meanwhile, could you put the following line before the "switch"?
Report the message you get at the top of the help page when you select the help for this module. This will give some debugging info and hopefully explain why it displays for me and not you.
Meanwhile, is the rest of the module working for registering your invoice templates?
Comment #2
Dan Z commentedI couldn't reproduce this, and other testers are not reporting this. Given that you haven't responded, I'm assuming that it was an issue on your site and you managed to fix it on your own.
Comment #3
DanZ commentedMoving issue to the new version of the project.
Comment #3.0
DanZ commentedAdded information to problem report - suggested solution isn't recommended