Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • cnwz Friend
    #123545

    JA-News adds a backslash to a Category Title that includes an apostrophe.

    For example, a Category title “Dont’ Miss” displays as “Don’t Miss” on the home page heading for JA-News. This additional “” does not display on the Category Page, or anywhere else ourtside of JA News.

    Can anyone tell me what to do to eliminate this unwanted extra character in JA-News/Quillaja?

    Michael Casha Friend
    #232073

    Have you got a live site url? Thanks.

    Jason Rhodes JA JobBoard
    #241544

    I am having this same issue on http://www.eyachtcharter.com .

    Was this issue ever addressed or resolved?

    Thanks

    bigrk Friend
    #241880

    URL’s Please.

    Sherlock Friend
    #241931

    Hi jrhodes78 !

    You can fix that bug by way :
    – open mod_janews.php file in modules folder
    change section code at about line 251 :

    if($catorsec && $showcattitle){
    echo "<a href="$link" class="ja-newscat" title="".trim(htmlentities($rows[0]->catdesc, ENT_QUOTES, $current_charset)).""><span>{$rows[0]->cattitle}</span></a>n";
    }
    else if($showcattitle){
    echo "<a href="$link" class="ja-newscat" title="".trim(htmlentities($rows[0]->secdescription, ENT_QUOTES, $current_charset)).""><span>{$rows[0]->sectitle}</span></a>n";
    }

    to

    if($catorsec && $showcattitle){
    echo "<a href="$link" class="ja-newscat" title="".trim(htmlentities($rows[0]->catdesc, ENT_QUOTES, $current_charset)).""><span>".stripslashes($rows[0]->cattitle)."</span></a>n";
    }
    else if($showcattitle){
    echo "<a href="$link" class="ja-newscat" title="".trim(htmlentities($rows[0]->secdescription, ENT_QUOTES, $current_charset)).""><span>".stripslashes($rows[0]->sectitle)."</span></a>n";
    }

    hope can help you !

    Jason Rhodes JA JobBoard
    #242231

    I do not have that exact code in my ja_news mod.

    Heres what I do Have.
    _________________________________________

    echo “<div class=”ja-newsitem{$modStyle[$l][‘class’]}” style=”width: {$modStyle[$l][‘width’]};”><div class=”ja-newsitem-inner” style=”width:{$modStyle[$l][‘subwidth’]};”>n”;
    echo “<a href=”$link” class=”ja-newscat” title=””.trim(htmlentities($rows[0]->catdesc, ENT_QUOTES, $current_charset)).””><span>{$rows[0]->cattitle}</span></a>n”;

    $hasul = true;

    for ( $i=0; $i<count($rows); $i++ ) {
    $row = $rows[$i];

    _______________________________________________________

    Also, Please take a look at http://www.eyachtcharter.com on the home page is Ja_news

    You will notice that a small symbol is replacing the apostrophe or commas. (((( haven�t))))

    The symbol only appears after the first content item is rotated.

    Please Advise,

    Thank You

    hieunt Friend
    #242246

    Hi jrhodes78,
    You can try replace $rows[0]->cattitle with stripslashes($rows[0]->cattitle)
    best regards.
    hieunt.

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

This topic contains 7 replies, has 6 voices, and was last updated by  hieunt 16 years, 8 months ago.

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