Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Paul Wallen Friend
    #145040

    Is there a way to make all of the thumbnail images on the home page and in blog view links to the articles themselves instead of only having the text link?

    Thanks.

    hariorama Friend
    #320006

    hi, this is for mod_janews2

    open modulesmod_janewstmplblog_item.php file, at about line 57, find following code:

    Code:<?php echo $image; ?>

    and change to:

    Code:<a href=”<?php echo $link;?>” title=”<?php echo strip_tags($row->title);?>”><?php echo $image; ?>

    Paul Wallen Friend
    #320060

    Thanks, but that didn’t change anything, even with the closing > tag. This is JAnews2. Does that matter?

    hariorama Friend
    #320066

    it works on my site

    the whole code i use there is:

    [PHP]<?php if ($s_showimage && $image) : ?>
    <div class=”ja-zinimg” style=”width:<?php echo $img_w;?>px;height:<?php echo $img_h;?>px;”>
    <a href=”<?php echo $link;?>” title=”<?php echo strip_tags($row->title);?>”><?php echo $image; ?>
    </div>
    <?php endif; ?>
    [/PHP]

    then i found in the forum:

    http://www.joomlart.com/forums/topic/linked-imagelike-article-title-in-ja_news-and-ja_news_fp/
    http://www.joomlart.com/forums/showt…=ja+news+image
    http://www.joomlart.com/forums/showt…=ja+news+image

    cre8 Friend
    #326651

    Yeah but how about linking images in blog view?

    This is a bit more difficult I think…

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

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

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