[Vtigercrm-developers] About helpinfo field into vtiger_field table
Prasad
prasad at vtiger.com
Thu Jan 22 00:33:45 PST 2009
Hi Roberto,
In the function vtlib_getFieldHelpInfo (include/utils/VtlibUtils.php)
Change:
$fieldhelpinfo[$fieldrow['fieldname']] = $helpinfo;
To:
$fieldhelpinfo[$fieldrow['fieldname']] = getTranslatedString($helpinfo,
$module);
getTranslatedString API will search for language translation for the given
content.
So if helpinfo for a field has language entry it should be displayed.
Let me know if it solves the issue raised. I will integrate it to vtlib in
next version.
Regards,
Prasad
On 1/21/09, Nablacom <info at nablacom.it> wrote:
>
> Hi Vtigers,
>
> the field 'helpinfo' added in the last release into the vtiger_field table
> is very usefull but I think it require an adjustment.
>
> The field contains directly the description (in English) for the tooltip
> help but in this way the help will support only one language.
> The solution can be to insert in the row of a tabel for the helpinfo (eg.
> LBL_HELP_DAYS) and then put the line
>
> 'LBL_HELP_DAYS'=>'This I sthe help',
>
> in the language files.
> It also require a change of the code…..
>
> Bye
> Roberto
>
>
>
> _______________________________________________
> Reach hundreds of potential candidates - http://jobs.vtiger.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20090122/a54a8c39/attachment-0003.html
More information about the vtigercrm-developers
mailing list