[Vtigercrm-developers] Project Module Unable to Change Display Name In Summary View
Rebecca Stanek
rlstanek at gmail.com
Thu Jan 1 18:33:21 GMT 2015
I'm not sure what you mean by "print" in this regard. I've attached the
file so that you can see the contents of the file.
Thank you for helping me with this. I really appreciate it.
On Wed, Dec 31, 2014 at 10:35 PM, Uma S <uma.s at vtiger.com> wrote:
> 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
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150101/de176696/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ProjectMilestoneSummaryWidgetContents (3).tpl
Type: application/octet-stream
Size: 2140 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150101/de176696/attachment.obj>
More information about the vtigercrm-developers
mailing list