Settings metadata help_text parameter doesn't work and causes errors if you specify it but there's no .hlp file
Not sure if I'm going to follow this thru but am recording some findings. There's at least 3 things to deal with:
- There's no facility to specify the title of the help box. This is the easiest since it can compute it from the setting label.
- CRM.help does support passing a single string as the help content, but you get into quote-hell pretty quickly.
- The
{help}
plugin which is what generates the<a>
link that calls CRM.help doesn't have a way to accept a string as the help content, and{help}
is what SettingForm.tpl uses.
3.b Related note: the{help}
plugin behaves differently whether you pass it a title parameter or not. If there's no parameter it expects to find it inside an associated .hlp file.
Earlier related issue: #1920 (closed)