Exemple #1
0
            if ($options->nav_title_display == 1) {
                ?>
									<div class="slide-title">
										<?php 
                echo modSjK2SlideShowiiHelper::truncate($item->title, $options->nav_limit_title, '...');
                ?>
									</div>
									<?php 
            }
            ?>
									<?php 
            if ($options->nav_desc_display == 1) {
                ?>
									<div class="slide-desc">
										<?php 
                echo modSjK2SlideShowiiHelper::truncate($item->displayIntrotext, $params->get('nav_limit_desc', 50), '...');
                ?>
									</div>
									<?php 
            }
            ?>
								</div>
								<?php 
        }
        ?>

							</div>
						</div>
						<?php 
    }
    ?>
<?php

/**
 * @package SJ K2 SlideShow II
 * @version 2.5
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 * @copyright (c) 2012 YouTech Company. All Rights Reserved.
 * @author YouTech Company http://www.smartaddons.com
 * 
 */
defined('_JEXEC') or die;
// include jQuery.
require_once dirname(__FILE__) . '/core/helper.php';
modSjK2SlideShowiiHelper::include_js('slideshowii/jquery.cycle.all.js');
modSjK2SlideShowiiHelper::include_css('slideshowii/slideshowii.css');
$list = modSjK2SlideShowiiHelper::getList($params);
$layout_name = $params->get('layout', 'default');
//if( count($list) ) {
require JModuleHelper::getLayoutPath($module->module, $layout_name);
//}