Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • iaweb Friend
    #151996

    I would like that the RSS feed showing up in JA-Newsticker open in a new window instead of the current window.

    Anybody got an idea how to achieve this?

    Thanks

    Arvind Chauhan Moderator
    #347831

    Dear iaweb,

    Take backup of the file mentioned below, and try the following :

    Open your_site/modules/mod_janewsticker/tmpl/default.php and around line : 37, find this code

    [PHP]<a title=”<?php echo modJANewStickerHelper::trimString( trim(strip_tags($item->introtext) ), 300); ?>” <?php echo $aClass ;?> href=”<?php echo modJANewStickerHelper::getLink($item, $userRSS); ?>”><span><?php echo modJANewStickerHelper::trimString( $item->title, $titleMaxChars );?></span>
    </a>[/PHP]add target=”_blank” in the <a tag << here as below :

    [PHP] <a target=”_blank” title=”<?php echo modJANewStickerHelper::trimString( trim(strip_tags($item->introtext) ), 300); ?>” <?php echo $aClass ;?> href=”<?php echo modJANewStickerHelper::getLink($item, $userRSS); ?>”><span><?php echo modJANewStickerHelper::trimString( $item->title, $titleMaxChars );?></span> </a>[/PHP]

    That should work for you.

    Regards

    Arvind

    iaweb Friend
    #347849

    Thank you, worked like a charm …

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

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

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