test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Henning Friend
    #198471

    Hi,

    Is it possible to remove the a href link to the full article from the titles on JA Newsticker?

    Regards,
    Henning

    pavit Moderator
    #537745

    Hi

    Open this file templatesja_muzichtmlmod_janewstickerdefault.php and find this code

    <div class="ja-headlines-item <?php echo 'jahl-'.$animationType ;?>" style="visibility:<?php echo ($index !=0) ?'hidden':'visible' ?>">
    <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>

    You can remove the part in RED so the new code will be :

    <div class="ja-headlines-item <?php echo 'jahl-'.$animationType ;?>" style="visibility:<?php echo ($index !=0) ?'hidden':'visible' ?>">
    <a title="<?php echo modJANewStickerHelper::trimString( trim(strip_tags($item->introtext) ), 300); ?>" <?php echo $aClass ;?> <span><?php echo modJANewStickerHelper::trimString( $item->title, $titleMaxChars );?></span>
    </a>

    First to make this change take a backup copy of the file default.php

    Henning Friend
    #537747

    Hi Pavit,

    Thank you very much, worked like a charm.

    Regards,
    Henning

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

This topic contains 3 replies, has 2 voices, and was last updated by  Henning 10 years, 7 months ago.

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