Post by Marco75 » Mon Jan 10, 2011 4:44 pm

hello

my site is in French and in an advanced search words in the accents of the descriptions are not taken into account, since the text editor converts them into HTML entities

In catalog/view/theme/default/template/product/search.tpl, I tried this:

Code: Select all

            <?php echo (html_entity_decode($entry_description, ENT_QUOTES, 'UTF-8')); ?></td>
but this does not

I do not know what to do.

Can you help me please

Sorry for my bad english.
Last edited by Marco75 on Tue Jan 18, 2011 9:13 am, edited 1 time in total.

My version > 1.4.9.3


Newbie

Posts

Joined
Thu Oct 28, 2010 6:48 pm

Post by Marco75 » Sun Jan 16, 2011 2:52 pm

I read in various forums that this problem affects many languages, Hungarian, Spanish, French, so it's an important topic and a real problem.

Nobody has found a solution?

My version > 1.4.9.3


Newbie

Posts

Joined
Thu Oct 28, 2010 6:48 pm

Post by OSWorX » Sun Jan 16, 2011 4:45 pm

Marco75 wrote:I read in various forums that this problem affects many languages, Hungarian, Spanish, French, so it's an important topic and a real problem.

Nobody has found a solution?
Well, for the german language (which has the same problem) I found a solution which is applicable also to all other languages.
I have included this in another framework which is based on OpenCart and public for all.
And because it is not only 1 line to change (8 at least at several positions because it does a few more) I do not post it here.
If you want to know more about, write me a pm.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by Marco75 » Tue Jan 18, 2011 9:16 am

In admin/view/javascript/ckeditor/config.js

Add this line:

Code: Select all

   config.entities = false;

My version > 1.4.9.3


Newbie

Posts

Joined
Thu Oct 28, 2010 6:48 pm
Who is online

Users browsing this forum: No registered users and 95 guests