Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • nefar Friend
    #140274

    Just started a project using Rutile and I noticed that the images that are showing up in JA News FP are not showing their links. IE>. I made a new article which is really nothing more then an image. I linked the image which is fine in the “article” but the link does not follow through to the front page inside of JA News FP.

    Is there any way to make the images that JA News FP pulls to front page linkable?

    Anonymous Moderator
    #301530

    Hi,

    Please open modulesmod_janews_fptmplheadline_fp.php file, at about line 48, find following code:

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

    and change to:

    [PHP]<a href=”<?php echo $link;?>”><?php echo $image; ?> </a>[/PHP]

    nefar Friend
    #303064

    Well this did work if you want the image to “Link” to the article not to what the “Image” itself is linked to.

    delliana Friend
    #315934

    in mod_janews module that comes w/ jaLead?

    scotty Friend
    #315942

    HI nefar, this is not possible without a major re-writing of helper.php.

    You see helper.php strips the image out of the article and places it in the image placeholder in JA News. It places ONLY the <img> in this placeholder and not any <a> (link) it may be in.

    monsterhunter Friend
    #356662

    <em>@JA Developer 124594 wrote:</em><blockquote>Hi,

    Please open modulesmod_janews_fptmplheadline_fp.php file, at about line 48, find following code:

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

    and change to:

    [PHP]<a href=”<?php echo $link;?>”><?php echo $image; ?> </a>[/PHP]</blockquote>

    This works for me.
    At least for the frontpage.
    How can I make the image linkable/clickable in Category Blog Layout.
    I think I have seen an extension for this but I cannot find it anymore 🙁
    It makes it more userfriendly when you click the image to go to the article IMO.

    Thanks
    Greetz

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

This topic contains 6 replies, has 5 voices, and was last updated by  monsterhunter 14 years, 1 month ago.

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