-
AuthorPosts
-
July 10, 2009 at 6:16 pm #142678
I am using mod_ja_contentslide as a banner module but I am not able to use my pictures as direct external links to my partners’ website. The link works only after opening the full article that contains only this linked picture. Is there a way to change that?
Thanks…:)
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
July 14, 2009 at 7:21 am #311003Hi fcasports
Open modulesmod_ja_contentslidetmpldefault.php, at about line 133, find following code:
<?php if( $params->get( ‘showimages’ ) ) { ?>
<div class=”ja_slideimages clearfix”>
<?php echo ‘<a href=”‘.$link.'” title=””>’.$image.'</a>’; ?>
</div>
<?php } ?>and change to:
<?php if( $params->get( ‘showimages’ ) ) { ?>
<div class=”ja_slideimages clearfix”>
<?php echo ‘<a href=”‘.$link.'” title=”” target=”_blank”>’.$image.'</a>’; ?>
</div>
<?php } ?>July 16, 2009 at 6:04 pm #311308Changed it but didn’t work. Remains the same.
Another idea? Thanks.
December 10, 2009 at 9:00 pm #326310Did anyone get this to work. I need this feature as well.
Thanks!
July 26, 2010 at 12:49 am #350684<em>@JA Developer 136696 wrote:</em><blockquote>Hi fcasports
Open modulesmod_ja_contentslidetmpldefault.php, at about line 133, find following code:
<?php if( $params->get( ‘showimages’ ) ) { ?>
<div class=”ja_slideimages clearfix”>
<?php echo ‘<a href=”‘.$link.'” title=””>’.$image.'</a>’; ?>
</div>
<?php } ?>and change to:
<?php if( $params->get( ‘showimages’ ) ) { ?>
<div class=”ja_slideimages clearfix”>
<?php echo ‘<a href=”‘.$link.'” title=”” target=”_blank”>’.$image.'</a>’; ?>
</div>
<?php } ?></blockquote>added only : target=”_blank”
how could ja_contentslider work with external links in article images -
AuthorPosts
This topic contains 6 replies, has 5 voices, and was last updated by Saguaros 14 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum