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

    I only have an image showing for my featured article in the front page module. How can i have it so the the image is linked to the article? Thanks in advance.

    Saguaros Moderator
    #360874

    you open the file: modulesmod_janews2tmplblog_item.php and find the following code:

    [PHP]
    <?php echo $image; ?>
    [/PHP]

    [PHP]
    <a href=”<?php echo $link;?>” title=”<?php echo strip_tags($row->title);?>”>
    <?php echo $image; ?>
    </a>
    [/PHP]

    gsinkaos Friend
    #360966

    tienhc- you da man! Works great. Just for the record for other users- the solution above applies to the images in the JA NEWS 2 module (NOT FRONTPAGE). To do that I searched for the same code tien mentioned in “modulesmod_janews_fptmpltelineiii_fp.php” and replaced as instructed. So this solution will work for both janews2 module and the JAnews frontpage.

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

This topic contains 3 replies, has 2 voices, and was last updated by  gsinkaos 14 years, 1 month ago.

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