Re: [Dolibarr-dev] How to display error message using jnotify

2012-11-08 Par sujet Régis Houssin
hi, since version 3.3, it is no longer necessary to use these functions. you can replace: $mesg = "". $langs->trans('xxx').""; .. dol_htmloutput_errors ($mesg); by just : setSeventMessage($langs->trans('xxx'), 'errors'); // for error or setSeventMessage($langs->trans('xxx')); // for ok or

Re: [Dolibarr-dev] How to display error message using jnotify

2012-11-08 Par sujet Florian Henry
Hello Marc Henri, The common functions to call for this is located in core/lib/function.lib.php /** * Print formated error messages to output (Used to show messages on html output). * * @paramstring$mesgstring Error message * @param array$mesgarray E

[Dolibarr-dev] How to display error message using jnotify

2012-11-08 Par sujet Marc-Henri Pamiseux
Hi, In some case, i can see an error message on the top of the page, in a red/pink box. This box is an html using the CSS class "jnotify-message". Ok, but what is the name of the function that can display such a message ? I can't find it as easily than i would believe. Best regards -- Marc-Henr