test
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • hpeeters Friend
    #142171

    hello,

    I’m using ja_mageia template with ja_newsflash. I’m using images only in ja_newsflash but they are not linkable. When I add a link to the image it is not possible to click on it in the browser.

    You can check the website here: http://www.top-cool.nl

    Thanks for any helpfull answer in advance!

    Regards,

    Henry

    prakash Friend
    #308826

    Hi…
    can you please verity the link? seems you posted the wrong link

    hpeeters Friend
    #308849

    <em>@prbalge 133894 wrote:</em><blockquote>Hi…
    can you please verity the link? seems you posted the wrong link</blockquote>

    O yes, stupid :p The correct link is http://www.top-cool.nl/index.php

    prakash Friend
    #308893

    hi..
    this will involve modifying a few lines at mod_janewsflashja_newsflashja-newsflashloader.php

    find this line
    $img = count($matches) ? $matches[0] : “”;
    add a new line just after it…
    with link tags…and it should be done

    hpeeters Friend
    #308920

    Thanks, but can you help me with the line? I’m not so good with php.

    prakash Friend
    #308934

    <em>@hpeeters 134011 wrote:</em><blockquote>Thanks, but can you help me with the line? I’m not so good with php.</blockquote>

    sent you the pmb with the code…

    hpeeters Friend
    #309063

    i’ve added the line, the images are linked now but they link to http://www.top-cool.nl and not to the link i’ve set to the pictures… any idea? I want to link them to a link I set to them in the editor.

    cboiteau Friend
    #341426

    I just have the same need than hpeeters
    Please send me the code

    Saguaros Moderator
    #341621

    Dear cboiteau!

    I think that you are using a old version, can you pls re-download the last version and try to upgrade for yours, the lastest version supported disable or endable the link with image via the configuration

    Good luck

    cboiteau Friend
    #342742

    dear tienhc,

    my version is JA newsflash 1.0.2.
    I just want to make a link with a target=”_blank” on my images.
    I can do this now?

    Thanks

    Saguaros Moderator
    #342896

    Dear cboiteau

    Pls open the file: modulesmod_janewsflashhelper.php and find codea at line 261:
    [PHP]$img = “<a href=””.$this->getLink( $row ).”” title=””.$row->title.””>”.$img.”</a>”;[/PHP]
    [PHP]$img = “<a target=”_blank” href=””.$this->getLink( $row ).”” title=””.$row->title.””>”.$img.”</a>”;[/PHP]

    GOodluck

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

This topic contains 11 replies, has 4 voices, and was last updated by  Saguaros 14 years, 7 months ago.

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