Please Log in or Create an account to join the conversation.
Die EInstellungen sollten dann wie folgt aussehen<?php
/**
* @version $Id: item.php 27448 2015-03-06 21:03:26Z reggie $
* @author RocketTheme www.rockettheme.com
* @copyright Copyright (C) 2007 - 2015 RocketTheme, LLC
* @license www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
/**
* @var $item RokSprocket_Item
*/
?>
<li class="sprocket-features-index-<?php echo $index;?>">
<div class="sprocket-features-img-container sprocket-fullslideshow-image<?php if ($image = $item->getPrimaryImage()== FALSE): echo ' sprocket-none'; endif;?>" data-slideshow-image>
<?php
if ($image = $item->getPrimaryImage()):
?>
<?php if ($item->getPrimaryLink()) : ?>
<a href="<?php echo $item->getPrimaryLink()->getUrl(); ?>"><img src="<?php echo $image->getSource(); ?>" alt="<?php echo $item->getPrimaryImage()->getAlttext(); ?>" style="max-width: 100%; height: auto;" /></a>
<?php else: ?>
<img src="<?php echo $image->getSource(); ?>" alt="<?php echo $item->getPrimaryImage()->getAlttext(); ?>" style="max-width: 100%; height: auto;" />
<?php endif; ?>
<?php endif; ?>
</div>
<div class="sprocket-features-content uk-container uk-container-center<?php if (($parameters->get('features_show_title') && $item->getTitle() == FALSE) && ($parameters->get('features_show_article_text') && $item->getText() == FALSE)) : echo ' sprocket-none'; endif; ?>" data-slideshow-content>
<?php if ($parameters->get('features_show_title') && $item->getTitle()) : ?>
<h2 data-uk-scrollspy="{cls:'uk-animation-slide-top', delay:600, repeat: true}" class="sprocket-features-title">
<?php echo $item->getTitle(); ?>
</h2>
<?php endif; ?>
</div>
</li>
Please Log in or Create an account to join the conversation.