Problems with html entities in page title

Discuss, ask and suggest about Usability and Accessability with CMS Made Simple
Locked
altralaser
Forum Members
Forum Members
Posts: 11
Joined: Sun Jun 13, 2010 4:28 am

Problems with html entities in page title

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Problems with html entities in page title

Post by calguy1000 »

Please read forum rules BEFORE posting.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
altralaser
Forum Members
Forum Members
Posts: 11
Joined: Sun Jun 13, 2010 4:28 am

Re: Problems with html entities in page title

Post 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.
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: Problems with html entities in page title

Post 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?
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Peciura

Re: Problems with html entities in page title

Post by Peciura »

but what does tiny have to do with cmsms menu text or page titles?
Sorry, obviously i was doing smth extra.
altralaser
Forum Members
Forum Members
Posts: 11
Joined: Sun Jun 13, 2010 4:28 am

Re: Problems with html entities in page title

Post by altralaser »

Is it possible to use entities or not? I found no solution. Is it possible in the current version of CMSms?
Peciura

Re: Problems with html entities in page title

Post 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}
Locked

Return to “[locked] Accessability and Usability”