[Vtigercrm-developers] 回复: Customer Portal
Christophe Humbert
chrissc.humbert at gmail.com
Wed May 13 05:19:35 GMT 2015
Hello Sunny
I don't know why is that as for Olivier and I there was no such issue...
Which one did you try?
On May 13, 2015 1:36 AM, "sunny" <1250572980 at qq.com> wrote:
> I meet the same problem,language is chinese,zh_cn,like the following :
> When I patch your fix files,the log-in page become blank.
>
>
>
> ------------------ 原始邮件 ------------------
> *发件人:* "Christophe Humbert";<chrissc.humbert at gmail.com>;
> *发送时间:* 2015年5月11日(星期一) 晚上7:54
> *收件人:* "vtigercrm-developers"<vtigercrm-developers at lists.vtigercrm.com>;
> *主题:* Re: [Vtigercrm-developers] Customer Portal
>
> Hello Olivier,
>
> and with this one
>
> Kind Regards
>
> Christophe Humbert
> *IT Program Manager*
> *CoProcess S.A*
> +352 691 391 974
> +33 6 50 09 48 88
> Skype: chris.e.humbert
>
>
> On Mon, May 11, 2015 at 1:35 PM, Christophe Humbert <
> chrissc.humbert at gmail.com> wrote:
>
>> Yes it is shitty
>>
>> Christophe Humbert
>> *IT Program Manager*
>> *CoProcess S.A*
>> +352 691 391 974
>> +33 6 50 09 48 88
>> Skype: chris.e.humbert
>>
>>
>> On Mon, May 11, 2015 at 12:52 PM, Olivier Hallot <
>> olivier.hallot at libreoffice.org> wrote:
>>
>>> Oh that would be funny if that's wasn't a bug...
>>>
>>> Your fix now breaks another line headers that worked before. See image
>>> attached, compared to the previous.
>>>
>>> Kind regards
>>>
>>> Olivier
>>>
>>>
>>> On 10/05/2015 15:28, Christophe Humbert wrote:
>>> > Hello Olivier
>>> >
>>> > Please find my utils.php
>>> >
>>> > I think everything is covered (please validated)
>>> >
>>> > Christophe
>>> >
>>> >
>>> > On Sun, May 10, 2015 at 6:53 PM, Christophe Humbert
>>> > <chrissc.humbert at gmail.com <mailto:chrissc.humbert at gmail.com>> wrote:
>>> >
>>> > Olivier
>>> >
>>> > yes in the portal language file but all fields translation coming
>>> > from vtiger and not the portal are not in utf-8
>>> >
>>> > that are the ones to be encoded in the portal
>>> >
>>> >
>>> >
>>> > Christophe
>>> >
>>> > On Sun, May 10, 2015 at 5:52 PM, Olivier Hallot
>>> > <olivier.hallot at libreoffice.org
>>> > <mailto:olivier.hallot at libreoffice.org>> wrote:
>>> >
>>> > Yes it works, but IMHO it does not fix the issue. All strings
>>> > are in UTF-8 :
>>> >
>>> > ../language# file pt_br.lang.php
>>> > pt_br.lang.php: PHP script, UTF-8 Unicode text
>>> >
>>> > So, there must be something upstream that is changing the
>>> > codepage of
>>> > the strings.
>>> >
>>> > After applying your fix I stumbled into another codepage issue
>>> > as in the
>>> > image attached... line headers also have codepages issues,
>>> sometimes
>>> > yes, sometimes no...
>>> >
>>> > Kind regards
>>> >
>>> > Olivier
>>> >
>>> > On 10/05/2015 12:33, Christophe Humbert wrote:
>>> > > Ok maybe a little less aggressive
>>> > >
>>> > > remove what you have done before and replace line 194 with
>>> this one
>>> > > (still in utils.php in function
>>> getblock_fieldlistview($block_array,$block)
>>> > > $list .=
>>> > >
>>> "<th>".utf8_encode(getTranslatedString($header_arr[$i]['fielddata']))."</th>";
>>> > >
>>> > > Christophe
>>> > >
>>> > >
>>> > > On Sun, May 10, 2015 at 5:11 PM, Olivier Hallot
>>> > > <olivier.hallot at libreoffice.org
>>> > <mailto:olivier.hallot at libreoffice.org>
>>> > <mailto:olivier.hallot at libreoffice.org
>>> > <mailto:olivier.hallot at libreoffice.org>>>
>>> > > wrote:
>>> > >
>>> > > That fix the table headers but breaks the left side
>>> panel.
>>> > >
>>> > > On 10/05/2015 12:03, Christophe Humbert wrote:
>>> > > > Hello Olivier,
>>> > > >
>>> > > > I think I found it
>>> > > >
>>> > > > in include/utils.php of the portal modify line 104 to
>>> > > > return
>>> > > >
>>> (isset($app_strings[$str]))?utf8_encode($app_strings[$str]):utf8_encode($str);
>>> > > >
>>> > > > and it should work
>>> > > >
>>> > > > Christophe
>>> > > >
>>> > > >
>>> > > > On Sun, May 10, 2015 at 4:58 PM, Olivier Hallot
>>> > > > <olivier.hallot at libreoffice.org
>>> > <mailto:olivier.hallot at libreoffice.org>
>>> > > <mailto:olivier.hallot at libreoffice.org
>>> > <mailto:olivier.hallot at libreoffice.org>>
>>> > > <mailto:olivier.hallot at libreoffice.org
>>> > <mailto:olivier.hallot at libreoffice.org>
>>> > > <mailto:olivier.hallot at libreoffice.org
>>> > <mailto:olivier.hallot at libreoffice.org>>>>
>>> > > > wrote:
>>> > > >
>>> > > > AFAI remember, I also changed the coding of the
>>> language strings, to
>>> > > > check if it matters, but #fail.
>>> > > >
>>> > > > Language strings in UTF-8 have their codepage
>>> changed on building the
>>> > > > html content on these specific zones of the page.
>>> > > >
>>> > > > regards
>>> > > >
>>> > > > On 10/05/2015 11:51, Christophe Humbert wrote:
>>> > > > > Ok I have investigated and
>>> > > > > I f you put the UTF-8 encoding for you character
>>> in Vtiger (not portal)
>>> > > > > where you have field translation it appearing ok
>>> on the portal but not
>>> > > > > in Vtiger....so we should encode in utf-8
>>> somewhere to have both working...
>>> > > > >
>>> > > > > Christophe
>>> > > > >
>>> > > > > On Sun, May 10, 2015 at 4:43 PM, Christophe
>>> Humbert
>>> > > > > <chrissc.humbert at gmail.com <mailto:
>>> chrissc.humbert at gmail.com>
>>> > <mailto:chrissc.humbert at gmail.com
>>> > <mailto:chrissc.humbert at gmail.com>>
>>> > > <mailto:chrissc.humbert at gmail.com <mailto:
>>> chrissc.humbert at gmail.com>
>>> > <mailto:chrissc.humbert at gmail.com
>>> > <mailto:chrissc.humbert at gmail.com>>>
>>> > > > <mailto:chrissc.humbert at gmail.com <mailto:
>>> chrissc.humbert at gmail.com>
>>> > > <mailto:chrissc.humbert at gmail.com <mailto:
>>> chrissc.humbert at gmail.com>>
>>> > > > <mailto:chrissc.humbert at gmail.com <mailto:
>>> chrissc.humbert at gmail.com>
>>> > <mailto:chrissc.humbert at gmail.com
>>> > <mailto:chrissc.humbert at gmail.com>>>>> wrote:
>>> > > > >
>>> > > > > Hello Olivier,
>>> > > > >
>>> > > > > I you change the page character set with
>>> your bowser (chrome or
>>> > > > > Firefox) for me if I choose
>>> > > > >
>>> > > > >
>>> > > > > iso-8859-15 <tel:8859-15> <tel:8859-15
>>> <tel:8859-15>> <tel:8859-15
>>> > <tel:8859-15>
>>> > > <tel:8859-15 <tel:8859-15>>> <tel:8859-15 <tel:8859-15>
>>> > <tel:8859-15 <tel:8859-15>> <tel:8859-15 <tel:8859-15>
>>> > <tel:8859-15 <tel:8859-15>>>>
>>> > > > >
>>> > > > >
>>> > > > > That is working and the page is well encoded
>>> > in UTF-8 ....something
>>> > > > > weird
>>> > > > >
>>> > > > > Christophe
>>> > > > >
>>> > > > >
>>> > > > > On Sun, May 10, 2015 at 4:24 PM, Olivier
>>> Hallot
>>> > > > > <olivier.hallot at libreoffice.org
>>> > <mailto:olivier.hallot at libreoffice.org>
>>> > > <mailto:olivier.hallot at libreoffice.org
>>> > <mailto:olivier.hallot at libreoffice.org>>
>>> > > <mailto:olivier.hallot at libreoffice.org
>>> > <mailto:olivier.hallot at libreoffice.org>
>>> > > <mailto:olivier.hallot at libreoffice.org
>>> > <mailto:olivier.hallot at libreoffice.org>>>
>>> > > > > <mailto:olivier.hallot at libreoffice.org
>>> > <mailto:olivier.hallot at libreoffice.org>
>>> > > <mailto:olivier.hallot at libreoffice.org
>>> > <mailto:olivier.hallot at libreoffice.org>>
>>> > > > <mailto:olivier.hallot at libreoffice.org
>>> > <mailto:olivier.hallot at libreoffice.org>
>>> > > <mailto:olivier.hallot at libreoffice.org
>>> > <mailto:olivier.hallot at libreoffice.org>>>>> wrote:
>>> > > > >
>>> > > > >
>>> > > > >
>>> > > > > On 10/05/2015 10:48, Christophe Humbert
>>> wrote:
>>> > > > > > Hello
>>> > > > > >
>>> > > > > > I have a problem with the name of the
>>> > fields in
>>> > > the customer portal when
>>> > > > > > they are translated with accent
>>> > > > > > see
>>> > > > > > Inline image 1
>>> > > > > >
>>> > > > > > Anyone has an idea on how to correct
>>> that?
>>> > > > > > Christophe Humbert
>>> > > > > >
>>> > > > > >
>>> > > > > >
>>> > > > > >
>>> > _______________________________________________
>>> > > > > > http://www.vtiger.com/
>>> > > > > >
>>> > > > >
>>> > > > > I have the same issue in pt-BR, tried to
>>> > hack it,
>>> > > but gave up
>>> > > > > with not a
>>> > > > > clue on where this get messed.
>>> > > > >
>>> > > > >
>>> > http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8491
>>> > > > >
>>> > > > >
>>> > > > > --
>>> > > > > Olivier Hallot
>>> > > > > Comunidade LibreOffice
>>> > > > > http://ask.libreoffice.org/pt-br
>>> > > > >
>>> > _______________________________________________
>>> > > > > http://www.vtiger.com/
>>> > > > >
>>> > > > >
>>> > > > >
>>> > > > >
>>> > > > >
>>> > > > > _______________________________________________
>>> > > > > http://www.vtiger.com/
>>> > > > >
>>> > > >
>>> > > > --
>>> > > > Olivier Hallot
>>> > > > Comunidade LibreOffice
>>> > > > http://ask.libreoffice.org/pt-br
>>> > > > _______________________________________________
>>> > > > http://www.vtiger.com/
>>> > > >
>>> > > >
>>> > > >
>>> > > >
>>> > > > _______________________________________________
>>> > > > http://www.vtiger.com/
>>> > > >
>>> > >
>>> > > --
>>> > > Olivier Hallot
>>> > > Comunidade LibreOffice
>>> > > http://ask.libreoffice.org/pt-br
>>> > > _______________________________________________
>>> > > http://www.vtiger.com/
>>> > >
>>> > >
>>> > >
>>> > >
>>> > > _______________________________________________
>>> > > http://www.vtiger.com/
>>> > >
>>> >
>>> > --
>>> > Olivier Hallot
>>> > Comunidade LibreOffice
>>> > http://ask.libreoffice.org/pt-br
>>> >
>>> > _______________________________________________
>>> > http://www.vtiger.com/
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > http://www.vtiger.com/
>>> >
>>>
>>> --
>>> Olivier Hallot
>>> Comunidade LibreOffice
>>> http://ask.libreoffice.org/pt-br
>>>
>>> _______________________________________________
>>> http://www.vtiger.com/
>>>
>>
>>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150513/bf319a34/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: E24C3650 at 712E1607.B48D5255.jpg
Type: image/jpeg
Size: 121950 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150513/bf319a34/attachment-0001.jpg>
More information about the vtigercrm-developers
mailing list