[Vtigercrm-developers] Project Module Unable to Change Display Name In Summary View

Uma S uma.s at vtiger.com
Wed Dec 31 06:18:14 GMT 2014


Hi,

For editing or changing field label in any UI, modifying table data is not
a good approach because data stored in database will be utilized at many
places in different scenarios which will get disturbed.

>From above given snap-shots file responsible for Project-Milestone widget
is ProjectMilestoneSummaryWidgetContents.tpl in
(layouts/vlayout/modules/Vtiger) and translations for headers is looked
into Project.php file of languages/en_us folder.

In this file while translating header, we are
using {vtranslate($HEADER->get('label'),$MODULE_NAME)} instead this should
be used {vtranslate($HEADER->get('label'),$MODULE)}. Because $MODULE is
passed from relative php.

We will be fixing this part through this reported trac
<http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8377> ticket.

So to get your translations working, please do place relevant translations
in file Project.php file of languages/en_us folder.

On Wed, Dec 31, 2014 at 3:11 AM, Rebecca Stanek <rlstanek at gmail.com> wrote:

> I'm trying to customize the Projects module in 6.1. Going through the
> Language files I can successfully changes the display names of fields and
> labels like normal. However, I am not locating where I can change the
> display labels for the Summary View for the Widgets for Milestone and
> Tasks.  Instead of saying "Project Milestone Name" I want it to be the name
> of the customized module for example: "Custom Milestone Name".
>
> I've also tried changing the field label name in the table vtiger_field
> but when I do it actually removes the field from the widget. I've attached
> a screenshot showing where I'm looking to change.
>
> Any guidance will be appreciated.
>
> Thanks!
>
> _______________________________________________
> http://www.vtiger.com/
>



-- 
With
Best Regards
Uma.S
Vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20141231/9a35f64e/attachment.html>


More information about the vtigercrm-developers mailing list