Text shows strange characters after saving slides

david's picture
david
Thu, 02/06/2014 - 07:59
#1
Text shows strange characters after saving slides

Hi.

We have a strange problem when editing slides.

He have a slide with and image and also a text. When we open slides to edit them, we se the text correctly writed and also the slide shows the text without problems in the site. But if we save or save&continue then we load the slider again and it shows strange characters. So saving again will write the slides with wrong characters. I give you an example:

The text showing correctly:

número fantástico

Text after loading again the slides for editing:

número fantástico

Can you help us with this?

I can give you access to a development drupal instance if you want to try it by yourself.

Thanks

cindy's picture
cindy
Thu, 02/06/2014 - 22:36

Hi,
Please send us your site and log-in account via [email protected] so that we can check and fix your problem.
Regards,

david's picture
david
Fri, 02/07/2014 - 19:08

Hi.

I found a solution to both issues.

Regarding the wrong characters, it's because in the line 62 of the file "templates/admin/them.admin.inc" there is a line saying

$value = htmlentities($value, ENT_QUOTES);

in order to allow using UTF-8 encoding it should be replaced by

$value = htmlentities($value, ENT_QUOTES, "UTF-8");

The other issue about the shadows is that in the stylesheets css/md-slider-style.css the lines that provide styles for the shadows are considering that the text is always inside a

tag. But the truth is that text in slides are not between

tags by default.

I added the same style without p to each of the stylesheet lines for text shadows.

You will find

.text-white-shadow p {

I added a new line without p

.text-white-shadow,
.text-white-shadow p {

Hope you find it useful.

Thanks for this great module.

David.

cindy's picture
cindy
Sat, 02/08/2014 - 01:48

Hi,
Thanks for choosing our product as well as your great feedback.
The ideas and suggestions of innovative, thinking people are always welcome.
Regards,

mirko's picture
mirko
Tue, 06/10/2014 - 16:09

thx david - we had the same issue with spec. characters, but worked it out.

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.