-
AuthorPosts
-
wisdom114 Friend
wisdom114
- Join date:
- August 2014
- Posts:
- 105
- Downloads:
- 13
- Uploads:
- 18
- Thanks:
- 31
- Thanked:
- 2 times in 1 posts
March 20, 2015 at 1:02 pm #204862in the second slide for the Ja-neuvo demo, there is text with no pictures. The text is centred and drops from the top. How can I do that also for my second slide?
Here is my site: http://www.faatih.com
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
March 20, 2015 at 1:42 pm #563939please post your admin details via PM, we shall try it.
wisdom114 Friendwisdom114
- Join date:
- August 2014
- Posts:
- 105
- Downloads:
- 13
- Uploads:
- 18
- Thanks:
- 31
- Thanked:
- 2 times in 1 posts
March 20, 2015 at 2:00 pm #563944ok. Sent. Please reply quickly.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
March 20, 2015 at 2:15 pm #563946I think I have brought the solution.
this is the file modified /html/mod_jaslideshowlite/custom.php
[PHP]<?php
/**
* ————————————————————————
* JA Nuevo template
* ————————————————————————
* Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
* @license – Copyrighted Commercial Software
* Author: J.O.O.M Solutions Co., Ltd
* Websites: http://www.joomlart.com – http://www.joomlancers.com
* This file may not be redistributed in whole or significant part.
* ————————————————————————
*/
defined(‘_JEXEC’) or die(‘Restricted access’);// rebuild data
$imgtypes = array(‘bg’, ‘first’, ‘second’, ‘thumb’);
$items = array();for ($i = 0, $il = count($images); $i < $il; $i++) {
$iname = basename($images[$i]);
$itype = ‘img’;
$count = 0;
$ext = array(‘png’,’gif’,’jpg’,’jpeg’,’PNG’,’GIF’,’JPG’,’JPEG’);
//check if exist
str_replace($imgtypes, ”, $iname, $count);if ($count && ($match = preg_split (‘/[-_.]/’, $iname))) {
$iname = $match[0];
$itype = (!empty($match[1]) && in_array($match[1], $imgtypes)) ? $match[1] : ‘img’;
}if (!isset($items[$iname])) {
$items[$iname] = new stdClass;
$items[$iname]->caption = ”;
$items[$iname]->title = ”;
$items[$iname]->cls = ‘leftright’;
}$items[$iname]->$itype = $images[$i];
if(strlen(trim($captionsArray[$i]))) {
$items[$iname]->caption = trim($captionsArray[$i]);
}if($itype == ‘img’ || $itype == ‘bg’){
if(!empty($classes[$i])){
$items[$iname]->cls = $classes[$i];
}if(!empty($titles[$i])){
$items[$iname]->title = $titles[$i];
}
}
foreach($ext as $imgType){
if( file_exists(JPATH_SITE . ‘/’ . $params->get(‘folder’) . ‘/’ . $iname . ‘-first.’ . $imgType) ){
$items[$iname]->first = $params->get(‘folder’) . ‘/’ . $iname . ‘-first.’ . $imgType ;
break;
}
}foreach($ext as $imgType){
if( file_exists(JPATH_SITE . ‘/’ . $params->get(‘folder’) . ‘/’ . $iname . ‘-second.’ . $imgType )){
$items[$iname]->second = $params->get(‘folder’) . ‘/’ . $iname . ‘-second.’ . $imgType ;
break;
}
}if ($showThumbnail && ($itype == ‘img’ || $itype == ‘bg’)) {
$items[$iname]->thumb = $thumbArray[$i];
}
}?>
<div id=”ja-ss-<?php echo $module->id;?>” class=”ja-ss<?php echo $params->get( ‘moduleclass_sfx’ );?> ja-ss-wrap <?php echo $type; ?>” style=”visibility: hidden”>
<div class=”ja-ss-items”>
<?php foreach ($items as $item): ?>
<div class=”ja-ss-item <?php echo $item->cls; ?>”><?php if(isset($item->bg) || isset($item->img)) : ?>
<img class=”ja-ss-item-bg” src=”<?php echo (isset($item->bg)? $item->bg : $item->img);?>” alt=””/>
<?php endif; ?>
<?php $sFlag =0; ?>
<?php if(isset($item->first)): ?>
<?php $sFlag =1; ?>
<div class=”ja-ss-sprite first animate delay500 adelay1500 duration500″>
<img class=”ja-ss-item-img” src=”<?php echo $item->first;?>” alt=””/>
</div>
<?php endif; ?><?php if(isset($item->second)): ?>
<?php $sFlag =1; ?>
<div class=”ja-ss-sprite second animate delay500 adelay2000 duration500″>
<img class=”ja-ss-item-img” src=”<?php echo $item->second;?>” alt=”<?php echo str_replace(‘”‘, ‘”/’, strip_tags($item->caption) );?>”/>
</div>
<?php endif; ?><?php if($item->caption || $item->title): ?>
<div class=”ja-ss-desc animate delay500 adelay2500 duration500″ <?php if($sFlag == 0) echo ‘style=”width:100%; text-align:center;”‘ ?>>
<?php if($item->title) : ?>
<h3><?php echo $item->title ?></h3>
<?php endif; ?><?php echo $item->caption ?>
</div>
<?php endif; ?>
<div class=”ja-ss-mask”></div>
</div>
<?php endforeach; ?>
</div><?php if ($showThumbnail == 1) : ?>
<div class=”ja-ss-thumbs-wrap”>
<div class=”ja-ss-thumbs”><!–
<?php foreach ($items as $item): ?>
–><div class=”ja-ss-thumb”>
<img src=”<?php echo $item->thumb; ?>” alt=”Photo Thumbnail” />
</div><!– //ja-ss-thumb
<?php endforeach; ?>
–></div>
</div>
<?php endif; ?><?php if ($showNavigation): ?>
<div class=”ja-ss-btns clearfix”>
<span class=”ja-ss-prev”>« <?php echo JText::_(‘PREVIOUS’);?></span>
<span class=”ja-ss-next”><?php echo JText::_(‘NEXT’);?> »</span>
</div>
<?php endif; ?>
</div>[/PHP] -
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by chavan 9 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum