[Vtigercrm-developers] Customize report´s header

Sutharsan Jeganathan ajstharsan at gmail.com
Wed Feb 7 09:42:39 GMT 2018


Hi iko

In modules/Reports/ReportRun.php near line 3045  remove line with ( -) and
add line starts with (+)

            if($moduleLabel != '') {
>                *-*   $headerLabel = $moduleLabel." ". $translatedLabel;
>                *+*             $headerLabel =  $translatedLabel;
>                         }
>

Note, this is a core code change. For non core change I am not sure whether
any straight methods


Cheers
Sutharsan Jeganathan

On Tue, Feb 6, 2018 at 3:34 PM, iko <irina_k6 at hotmail.com> wrote:

> Does anyone know how to customize the report's header (column names)?
>
> The report's header is a combination of:
> the module name + column name.
>
> I'd like to delete the module name and let the column name to be the
> header.
>
> P.S. I found this discussion for 5.4.0 and tried to apply the code snippet.
> But it didn´t work.
> https://discussions.vtiger.com/index.php?p=/discussion/
> comment/1213035#Comment_1213035
>
>
>
>
> --
> Sent from: http://vtiger-crm.2324883.n4.nabble.com/vtigercrm-
> developers-f4.html
>
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20180207/81192a71/attachment.html>


More information about the vtigercrm-developers mailing list