Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • ryanpitt Friend
    #129254

    Hi,
    This is a great template!
    The mod_janewsmoo module looks really nice, but what I am trying to do is get the image itself to be a link to the page it represents.
    I have tried to make the image a link in the content item, but it doesnt seem to work.
    Anyone have any clues?
    I am using Joomla! 1.5.
    Thanks
    Ryan

    Sherlock Friend
    #251818

    Hi ryanpitt !
    You can do following way in modulesmod_janewsmoo folder :
    Open mod_janewsmoo.php find following code line at about line 117 :


    echo $img;

    replace it by :


    echo '<a href="'.$row->link_on.'" title="'.$row->link_text.'">'.$img.'</a>';

    good luck !

    Michael Casha Friend
    #251863

    <em>@hainn84 56889 wrote:</em><blockquote>Hi ryanpitt !
    You can do following way in modulesmod_janewsmoo folder :
    Open mod_janewsmoo.php find following code line at about line 117 :


    echo $img;

    replace it by :


    echo '<a href="'.$row->link_on.'" title="'.$row->link_text.'">'.$img.'</a>';

    good luck !</blockquote>
    Good hack!

    ryanpitt Friend
    #251906

    Thats great!
    Worked like a charm! It was line 233 for me though for those who may need to find it. Perhaps a new version of the module.
    Thanks Hainn84!

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

This topic contains 4 replies, has 3 voices, and was last updated by  ryanpitt 16 years, 5 months ago.

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