Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • olivier34 Friend
    #158849

    Hello, I am trying to modify the comments is JaSlideshow in JA_Social template and it turns out that each time I try to use an apostrophe character in the module description field (‘) in the back end, it appears with as ‘ (a sign followed by the apostrophe character) in the front end;

    How can I solve this issue ?

    John Wesley Brett Moderator
    #372112

    What WYSIWYG editor are you using?
    Consider switching to a different one, or turning it off completely.

    In some 3rd party editors, what you are running into is a setting – as that is exactly how you indicate an apostrophe in PHP code.

    olivier34 Friend
    #372133

    JCE is the default Editor on the site but the point is that in the administration back end the JAslideshow module administration does not use a WYSIWYG to update the “Description for each Item” field. And I undestand that it must follow a specific format : example :

    <blockquote> <p> Avec <span class=”blue”>lesRadiologues.com</span> vous pouvez commentez les actualités de la médecine et de la radiologie. <br> </p> <p> C’est très simple, il vous suffit de vous inscrire sur le site. <span class=”black”> <br> Commentez, Partagez, Discutez</span> <br> lesRadiologues.com permait à la communauté d’ échanger librement ! </blockquote>
    </p>
    <a href=”#” class=”readmore”>+ d’information</a>

    Hence my issue with the apostrophe.

    thuanlq Friend
    #372562

    Hi @olivier34,

    Your issues are fixed in latest version, or you can quick fix as following:

    – Open “Helper.php” file located at “modules/mod_jaslideshow2/”.

    – Find “trimString()” function, edit lines code:
    change


    return $title2;

    To


    return stripslashes($title2);

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  thuanlq 13 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum