Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • h2nation Friend
    #138572

    I have searched for this but have not found a solution. In mod_jaslideshow2, if you use an apostrophe in the text, you get a a forward slash before the apostrophe.
    Example: Tyler’s
    Results: Tyler’s

    Any Help would be GREATLY Appreciated.

    Anonymous Moderator
    #293723

    Please open modulesmod_jaslideshow2mod_jaslideshow2.php file, at about line 79, find following code:
    [PHP]$captionsArray[] = (isset($descriptionArray[$img]) && isset($descriptionArray[$img][‘caption’])) ? str_replace(“‘”, “‘”, $descriptionArray[$img][‘caption’]) :”;[/PHP]

    and change to:

    [PHP]$captionsArray[] = (isset($descriptionArray[$img]) && isset($descriptionArray[$img][‘caption’])) ? $descriptionArray[$img][‘caption’] :”;[/PHP]

    dric83 Friend
    #333125

    In my version it’s the line

    $data[‘captionsArray’][] = (isset($descriptionArray[$img]) && isset($descriptionArray[$img][‘caption’])) ? str_replace(“‘”, “‘”, $descriptionArray[$img][‘caption’]) :”;

    to change to

    $data[‘captionsArray’][] = (isset($descriptionArray[$img]) && isset($descriptionArray[$img][‘caption’])) ? $descriptionArray[$img][‘caption’] :”;

    in helper.php

    themandril2002 Friend
    #336340

    and it doesn’t contain this code or any of the other I’ve seen on the forums, but I do have the ugly appearing around my apostrophes.

    dric83 Friend
    #372332

    I’ve the same issue in JA slideshow 1.6 !!!!! Why this problem is still there ? Why it has not be corrected in the file !!

    (file is located in modules/mod_jaslideshow/helpers/helper.php)

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

This topic contains 5 replies, has 4 voices, and was last updated by  dric83 13 years, 10 months ago.

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