Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • vlester Friend
    #146404

    Hello,
    How could I add a Read more link to my “normal” articles ?
    In the back-end, it’s possible to configure the readmore link but only for the feature article.
    Thanks

    Saguaros Moderator
    #325362

    Hello vlester!

    You must to fix the problem on your module, you open the file: “modulesmod_janews_fptmpldefault.php” and try to find a section code at line 50:

    [PHP]<?php echo $smallmaxchar?$news->introtext1:$news->introtext;?>[/PHP]

    and replace them :

    [PHP]
    <?php echo $smallmaxchar?$news->introtext1:$news->introtext;?>
    <?php if ($showhlreadmore) {?>
    <a href=”<?php echo $link;?>” class=”readon”><?php echo JText::_(‘Read more…’);?></a>
    <?php } ?>

    [/PHP]

    vlester Friend
    #325374

    Thanks a lot Tienhc, It works great !
    I tried that except I place the code in another file telineiifp.php which is the lay out I had chosen.

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

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

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