-
AuthorPosts
-
hpeeters Friend
hpeeters
- Join date:
- January 2008
- Posts:
- 70
- Downloads:
- 0
- Uploads:
- 19
- Thanks:
- 15
- Thanked:
- 2 times in 1 posts
June 23, 2009 at 3:27 pm #142171hello,
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 Friendprakash
- Join date:
- October 2008
- Posts:
- 439
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 146 times in 115 posts
June 23, 2009 at 3:58 pm #308826Hi…
can you please verity the link? seems you posted the wrong linkhpeeters Friendhpeeters
- Join date:
- January 2008
- Posts:
- 70
- Downloads:
- 0
- Uploads:
- 19
- Thanks:
- 15
- Thanked:
- 2 times in 1 posts
June 23, 2009 at 6:14 pm #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 Friendprakash
- Join date:
- October 2008
- Posts:
- 439
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 146 times in 115 posts
June 24, 2009 at 2:35 am #308893hi..
this will involve modifying a few lines at mod_janewsflashja_newsflashja-newsflashloader.phpfind this line
$img = count($matches) ? $matches[0] : “”;
add a new line just after it…
with link tags…and it should be donehpeeters Friendhpeeters
- Join date:
- January 2008
- Posts:
- 70
- Downloads:
- 0
- Uploads:
- 19
- Thanks:
- 15
- Thanked:
- 2 times in 1 posts
June 24, 2009 at 8:17 am #308920Thanks, but can you help me with the line? I’m not so good with php.
prakash Friendprakash
- Join date:
- October 2008
- Posts:
- 439
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 146 times in 115 posts
June 24, 2009 at 10:04 am #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 Friendhpeeters
- Join date:
- January 2008
- Posts:
- 70
- Downloads:
- 0
- Uploads:
- 19
- Thanks:
- 15
- Thanked:
- 2 times in 1 posts
June 25, 2009 at 11:17 am #309063i’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.
April 24, 2010 at 7:41 pm #341426I just have the same need than hpeeters
Please send me the codeSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
April 26, 2010 at 10:26 am #341621Dear 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
May 5, 2010 at 6:11 pm #342742dear 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 7, 2010 at 8:30 am #342896Dear 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
-
AuthorPosts
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