Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Eric RAMAHATRA Friend
    #130276

    When the Search Engine Friendly URL’s is activated, the JA NEWSFLASH module is unable to load properly the ##IMAGE##.

    I assume it’s because of how the urls are written with virtual directories, eg:
    mysite.com/category_alias/pageContent.html

    the ja newsflash is looking for pictures inside mysite.com/category_alias/images/stories

    instead of mysite.com/images/stories

    so it cannot display the picture.

    Any idea ?

    Eric RAMAHATRA Friend
    #256947

    solved by adding one line in file /modules/mod_janewsflash/ja_newsflash/ja_newsflashloader.php

    FIND the line below:
    $html = str_replace(“##IMAGE##”, $img, $html);

    Just before, add this line:
    $img = str_replace(“images/”,”/images/”,$img);

    may be something better could work but this assumes that your default images folder is this one.

    Works fine now.
    I hope this will help

    Sherlock Friend
    #257145

    Hi
    Thanks for your sharing, i will mark this topic is solved

    Eric RAMAHATRA Friend
    #257235

    it would be great to check if this is really a bug and correct the newer releases with the solution 😉

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

This topic contains 4 replies, has 2 voices, and was last updated by  Eric RAMAHATRA 16 years, 5 months ago.

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