test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Greg Banig Friend
    #150662

    Hi,

    When I add text with a apostrophe to the JA SLides 2 description the character of “/” is added to the text.

    Example:

    If I enter text of “…Ray Lucia’s Buckets of Money…” it gets displayed as “…Ray Lucia/’s Buckets of Money…”

    How do I get rid of the /

    Saguaros Moderator
    #341764

    Dear gregbanig!
    Please open the file: modulesmod_jaslideshow2helper.php and find codes:
    at line 383:
    [PHP] $data[‘captionsArray’][] = (isset($descriptionArray[$img]) && isset($descriptionArray[$img][‘caption’])) ? str_replace(“‘”, “‘”, $descriptionArray[$img][‘caption’]) :”;[/PHP]

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

    Good luck

    Greg Banig Friend
    #341814

    Thanks, I located the code. But it was in a different location for me.

    File:

    modules/ mod_jaslideshow2/mod_jaslideshow2.php

    Find (around line 223):

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

    Replace with:

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

    Saguaros Moderator
    #341996

    Dear gregbanig!

    Oh you are using the old version of the module

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

This topic contains 4 replies, has 2 voices, and was last updated by  Saguaros 14 years, 8 months ago.

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