Page 1 of 1

Problems with html entities in page title

Posted: Sun Jun 13, 2010 4:52 am
by altralaser
Hi,
I've some problems to use several html entities in page title and/or menu text. I created a standard page and fill it with content. Then I set the page title for example to "Café" to use a french accent. Now I open the new page in my browser and the title is automatically changed to "Café" so not the expected character is displayed but only the html entity in "plain text".
Is it a bug of CMSms (1.5.3)? How can I solve this problem?
Thanks for help in advance

Re: Problems with html entities in page title

Posted: Sun Jun 13, 2010 5:06 am
by calguy1000
Please read forum rules BEFORE posting.

Re: Problems with html entities in page title

Posted: Mon Jun 14, 2010 6:17 am
by altralaser
I already searchd the forum but I found only threads with no replies or advices to change the charset. So I guess there's no possibility to use entities in page title.

Re: Problems with html entities in page title

Posted: Mon Jun 14, 2010 1:31 pm
by kermit
Peciura wrote: CMSms 1.5.3 is old release, in general you can not count on help simply because not a lot of people remember what was more than a year ago. But...

Special chars conversion to entities is default behavior of TinyMCE.
(snip)
true, old version should be upgraded.. but what does tiny have to do with cmsms menu text or page titles?


OP.. can you just use é in the menu text or page title fields?

Re: Problems with html entities in page title

Posted: Mon Jun 14, 2010 2:45 pm
by Peciura
but what does tiny have to do with cmsms menu text or page titles?
Sorry, obviously i was doing smth extra.

Re: Problems with html entities in page title

Posted: Tue Jun 15, 2010 9:00 pm
by altralaser
Is it possible to use entities or not? I found no solution. Is it possible in the current version of CMSms?

Re: Problems with html entities in page title

Posted: Wed Jun 16, 2010 5:42 am
by Peciura
It is not a bug just the way most of the users wants it to work.
To avoid double encoding - decode your text once.

Code: Select all

{title|html_entity_decode}

Code: Select all

{$node->menutext|html_entity_decode}