Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • mageide Friend
    #153592

    Hi!

    When using jasidenews with joomfish the sidenews module displays the original sidenews intro in place of a translated version. When clicking on the news headling it links to the correct translation, but in the module it says “There are no translations available.” (The module name gets translated correctly by the way.)

    Any ideas on how to fix this?

    Magnus

    Saguaros Moderator
    #353151

    You open the file: modulesmod_jasidenewshelper.php and find code:
    [PHP]
    $rows = $this->getListArticles( $params );
    [/PHP]
    replace with:
    [PHP]
    $rows = $this->getListArticles( $params );

    foreach( $rows as $i => $row ){
    $rows [$i]->text = $rows [$i]->introtext;
    $result = $dispatcher->trigger ( ‘onPrepareContent’, array ( $rows [$i], $params, 0 ) );
    $rows [$i]->introtext = $rows [$i]->text;

    }
    [/PHP]

    Then, go to the cache manager to clear the cache before going on with translation testing

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

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

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