Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • dieudonne Friend
    #181285

    Hello,

    we have the same problem like “edroga”, but the solution is not working. See here :
    http://www.joomlart.com/forums/topic/ja-news-featured-problem-with-displaying-image/

    <blockquote>Hi, I have a problem with JA News Featured module. When the article I have a few pictures, unfortunately, JA News Featured module displays the one that is last in the article. I would like to show you the one who is first in the article. Why is this happening? </blockquote>

    We have the lastest version (JA News Featured Module 2.5.2).
    We changed the code in modules/mod_janews_featured/helpers/jaimage.php like this :
    [PHP]else {
    $regex = ‘/<img.+srcs*=s*”([^”]*)”[^>]*>/’;
    $text = ”;
    $text .= (isset($row->introtext))?$row->introtext:”;
    $text .= (isset($row->fulltext))?$row->fulltext:”;
    preg_match($regex, $text, $matches);
    $images = (count($matches)) ? $matches : array();
    $image = count($images) > 1 ? $images[1] : ”;
    }
    return $image;[/PHP]

    All caches are cleared, but nothing change. The second image of the article still appears in JA News Featured…

    Do you have a idea to fix this ?

    Thank in advance.

    HeR0 Friend
    #469610

    Hi Dieudonne
    Pls follow thread http://www.joomlart.com/forums/topic/ja-news-featured-problem-with-displaying-image/ to get it solved,

    If the issue still persists, pls get back to me for instant check.

    Regards,

    dieudonne Friend
    #469653

    Hello,

    the problem still persists.
    I just PM you with access code.

    Thank in advance.

    HeR0 Friend
    #469707

    Hi

    Would you mind send me your FTP access info as well? I need to check in the code files as well!

    Regards,

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

This topic contains 5 replies, has 2 voices, and was last updated by  dieudonne 12 years, 1 month ago.

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