Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » Help text task_id
Re: Help text task_id [message #1647 is a reply to message #1645] Mon, 15 September 2008 11:34 Go to previous messageGo to previous message
gpatti is currently offline  gpatti
Messages: 283
Registered: August 2008
Senior Member
Did you mean in the std.help.inc rather than in help.php?

This works, although it would then look for a text name using the description rather than the task_id - and I agree with you that this would then be very confusing for the person maintaining the system.

I chose to modify the std.help.inc with two lines:

$help_desc = getLanguageText($help_id);
$title = getLanguageText('sys0099', $help_desc); // "Help text for '$help_desc'"

This way the translation only appears on the text on the screen rather than the help text file itself. I like this approach because then the help screen uses the language translations in exactly the same way as all your other translations.

I'm not comfortable that I've modified std.help.inc though as this change will presumably get overwritten if/when I upgrade?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Condition in $where string is being lost
Next Topic: Borders in a PDF body
Goto Forum:
  


Current Time: Mon Nov 18 13:17:17 EST 2024

Total time taken to generate the page: 0.00999 seconds