The Advanced help system is a pluggable system that provides advanced help facilities for Drupal and its modules. Although the advanced help does not provide general help by itself, it provides a powerful and easy framework that modules may use to provide their own help.
Modules utilizing Advanced help should create a 'help' subdirectory inside their module's directory. Place the file MODULENAME.help.ini in this subdirectory, formatted similar to the following example:
[buses] title = "How buses are tied into the system" file = buses [TOPIC_ID] title = "Title of topic". file = filename of topic, without the .html extension. weight = How important the topic is on the index page. parent = The optional topic parent to use in the breadcrumb, either topic or module%topic.
All topics are addressed by the module providing the topic, and by the topic id. To embed links, use the following format:
$output .= theme('advanced_help_topic', $module, $topic);
Inside your help file, link to other topics using the format <a href="&topic:module/topic&">. This format will ensure the popup status remains consistent when switching between links.
Use <a href="&path&example.jpg"> to reference items within the help directory, such as images you wish to embed within the help text.
Use <a href="&base_url&admin/settings/site-configuration"> to reference any normal path in the site.
If the search module is enabled, the contents of help system will be indexed on cron. If you enable new modules and wish to immediately index its help text, visit the "Administration -> Reports -> Status report" and click the "Run cron manually" link.
Example: Don't click this!
See: ini file format
NOTE: In previous versions Advanced Help did not require the &'s wrapped around the topic:, path:, and base_url: links. This is currently still supported, but may be removed in a future version. By adding the &'s these tokens are now not limited to href="" and src="" paramaters.