[Vtigercrm-developers] Project Module Unable to Change Display Name In Summary View
Rebecca Stanek
rlstanek at gmail.com
Fri Jan 2 22:48:36 GMT 2015
Hi Uma,
I replaced the file with your file and unfortunately there is no change in
the Summary Widget.
I attached a new screen print for you.
I also have noticed that the same issue is occurring in this summary view
on the other widgets for Projects that if I change the Module name it isn't
reflecting in the Projects Summary view so its not just with Project,
Milestone and Project Tasks. For example: if I change Tickets module name
then in the Project Summary view widget it still says "No Related
HelpDesk".
This Module is being stubborn. :)
Thank you!
On Thu, Jan 1, 2015 at 9:33 PM, Uma S <uma.s at vtiger.com> wrote:
> Hi,
>
> I have modified file attached by you in previous thread to print module
> name, Please replace this file in your source and check the value of Module
> Name. So we can proceed to assist you better to resolve the issue.
>
> On Fri, Jan 2, 2015 at 12:03 AM, Rebecca Stanek <rlstanek at gmail.com>
> wrote:
>
>> 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/
>>>
>>
>>
>> _______________________________________________
>> 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/20150102/27b32e8d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Project Summary View 1_2_2015.jpg
Type: image/jpeg
Size: 128913 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150102/27b32e8d/attachment-0001.jpg>
More information about the vtigercrm-developers
mailing list