-
AuthorPosts
-
mebius srl Friend
mebius srl
- Join date:
- September 2014
- Posts:
- 89
- Downloads:
- 30
- Uploads:
- 10
- Thanks:
- 21
- Thanked:
- 1 times in 1 posts
June 9, 2010 at 2:06 pm #151692I need to have the images I put on the articles only after the read more link not showing in the module.
what can I do?Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 10, 2010 at 10:00 am #346634Dear all!
You replace all source inside the templates/ja_ores/html/mod_jaslideshow2/default_articles.php
[PHP]
<div class=”ja-slidewrap<?php echo $params->get(‘moduleclass_sfx’);?> ja-<?php echo $source;?>” id=”ja-slide-articles-<?php echo $module->id;?>” style=”visibility:hidden”>
<div class=”ja-slide-main-wrap<?php echo ($navAlignment == ‘vertical_left’ ? ‘ ja-slide-right’ : ” )?>”>
<div class=”ja-slide-mask”>
</div>
<div class=”ja-slide-main”>
<?php foreach( $list as $k=> $item ) :
// parse image in the article’s content.
$helper->parseImages( $item, $params );
$list[$k] = $item;
?>
<div class=”ja-slide-item”><?php if ( $showdescwhen == ‘always’ ):?>
<div class=”ja-slide-desc”>
<a <?php echo $target; ?> href=”<?php echo $item->link; ?>”>
<span><?php echo $helper->trimString( $item->title, $titleMaxChars );?></span>
</a>
<div><?php echo $helper->trimString( ($item->introtext), $descMaxChars ); ?></div>
<?php if ($showDescription==’desc-readmore’): ?>
<a <?php echo $target; ?> class=”readon readmore” href=”<?php echo $item->link; ?>”>
<?php echo $readmoretext;?>
</a><?php endif; ?>
</div>
<?php endif; ?>
</div>
<?php endforeach; ?>
</div><?php if ( $animation==’move’ && $container ) :?>
<div class=”but_prev ja-slide-prev”></div>
<div class=”but_next ja-slide-next”></div>
<?php endif; ?><!– JA SLIDESHOW 3 MARK –>
<div class=”maskDesc”>
<div class=”inner”></div>
</div>
</div>
<!– END JA SLIDESHOW 3 MARK –>
<?php if( $showDescription && $showdescwhen != ‘always’ ) : ?>
<div class=”ja-slide-descs”>
<?php foreach( $list as $item ) : ?>
<div class=”ja-slide-desc”>
<a <?php echo $target; ?> href=”<?php echo $item->link; ?>”>
<span><?php echo $helper->trimString( $item->title, $titleMaxChars );?></span>
</a>
<div><?php echo $helper->trimString( ($item->introtext), $descMaxChars ); ?></div>
<?php if ($showDescription==’desc-readmore’): ?>
<a <?php echo $target; ?> class=”readon readmore” href=”<?php echo $item->link; ?>”>
<?php echo $readmoretext;?>
</a><?php endif; ?>
</div>
<?php endforeach; ?>
</div>
<?php endif; ?><!– JA SLIDESHOW 3 NAVIAGATION –>
<?php if ( $navigation ): ?>
<div class=”ja-slide-thumbs-wrap<?php echo $classNav;?>”>
<div class=”ja-slide-thumbs”>
<?php foreach( $list as $key => $item ) : ?>
<div class=”ja-slide-thumb”>
<?php if ($navigation==’thumbs’){?>
<div class=”ja-slide-thumb-inner”>
<?php if( $navShowthumb ) : ?>
<?php // echo $helper->renderImage ( $item->title, $item->thumbnail, $params,
// $thumbWidth, $thumbHeight, ‘align=”left”‘ ); ?>
<?php endif; ?>
<h3><?php echo $helper->trimString( $item->title, $titleMaxChars );?></h3>
<?php if( $navShowDate ) : ?>
<span class=”ja-createdate clearfix”>
<?php echo JTEXT::_(“POSTED DATE”). ” “. JHTML::_(‘date’, $item->date, JText::_(‘DATE_FORMAT_LC4’)); ?>
</span>
<?php endif; ?>
<?php if( $navShowdesc ): ?>
<?php echo $helper->trimString( strip_tags($item->introtext), $navDescmaxlength ); ?>
<?php endif; ?>
</div>
<?php }else{?><span><?php echo ($key+1);?></span><?php } ?>
</div>
<?php endforeach; ?>
</div><div class=”ja-slide-thumbs-mask” style=” display:none “>
<div class=”ja-slide-thumbs-mask-left”> </div>
<div class=”ja-slide-thumbs-mask-center”> </div>
<div class=”ja-slide-thumbs-mask-right”> </div>
</div><p class=”ja-slide-thumbs-handles”>
<?php foreach( $list as $item ) : ?>
<span> </span>
<?php endforeach; ?>
</p>
<!– JA SLIDESHOW 3 NAVIAGATION –></div>
<?php endif; ?>
<!– JA SLIDESHOW 3 BUTTONS CONTROL –>
<?php if ($control): ?>
<div class=”ja-slide-buttons clearfix”>
<span class=”ja-slide-prev”>« <?php echo JText::_(‘PREVIOUS’);?></span>
<span class=”ja-slide-playback”>‹ <?php echo JText::_(‘PLAYBACK’);?></span>
<span class=”ja-slide-stop”><?php echo JText::_(‘STOP’);?></span>
<span class=”ja-slide-play”><?php echo JText::_(‘PLAY’);?> ›</span>
<span class=”ja-slide-next”><?php echo JText::_(‘NEXT’);?> »</span>
</div>
<?php endif; ?></div>
[/PHP]
Good luck
1 user says Thank You to Saguaros for this useful post
mebius srl Friendmebius srl
- Join date:
- September 2014
- Posts:
- 89
- Downloads:
- 30
- Uploads:
- 10
- Thanks:
- 21
- Thanked:
- 1 times in 1 posts
June 11, 2010 at 10:29 am #346757You are the best.!THanks Thannks Thanks
I’ll be your customer forever! -
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by mebius srl 14 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum