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

Uma S uma.s at vtiger.com
Thu Jan 1 06:35:22 GMT 2015


Hi,

I hope you are looking for customizing translations of ProjectMilestone
widget in Project summary-view. File responsible for this widget is
ProjectMilestoneSummaryWidgetContents.tpl placed in
(layouts/valyout/modules/Vtiger).

Here you can find header label translation happening through this piece of
code {vtranslate($HEADER->get('label'),$MODULE)}. In this code please do
print and check what's the value of $MODULE?

On Thu, Jan 1, 2015 at 11:34 AM, Rebecca Stanek <rlstanek at gmail.com> wrote:

> Sorry for the question but what file location will I find what you are
> asking for?
> On Dec 31, 2014 9:58 PM, "Uma S" <uma.s at vtiger.com> wrote:
>
>> Hi,
>>
>> Can you please check what is the value of $MODULE in vtranslate api() of
>> your header? That will give you a proper value of in which file do you need
>> to place the translations.
>>
>> On Thu, Jan 1, 2015 at 12:46 AM, Rebecca Stanek <rlstanek at gmail.com>
>> wrote:
>>
>>> I followed the changes in the trac to both files but unfortunately it
>>> did not change. I did make the customizations to the language files for
>>> Projects, Milestones, Tasks as well and included a new screen shot showing
>>> the Summary Widgets are not being impacted by the changes.
>>>
>>> Thanks in advance for your assistance!
>>>
>>> On Tue, Dec 30, 2014 at 10:18 PM, Uma S <uma.s at vtiger.com> wrote:
>>>
>>>> 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
>>>>
>>>> _______________________________________________
>>>> http://www.vtiger.com/
>>>>
>>>
>>>
>>> _______________________________________________
>>> http://www.vtiger.com/
>>>
>>
>>
>>
>> --
>> With
>> Best Regards
>> Uma.S
>> Vtiger Team
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
> _______________________________________________
> 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/20150101/9ba3486c/attachment.html>


More information about the vtigercrm-developers mailing list