Hello all,
I need help as the support team at rockettheme told me that this is out of their support area and its belong to joomla, but they were kind enough to tell me which file need to be adjusted
All I need is to make the image linkable to the article, now only the title and he read more are linked to the title. but I'm not sure how to do the image, and add the joomla php elements to it so the image also be a link to the article.
here is the extension:
http://demo.rockettheme.com/live/joomla-extensions/roksprocket/strips
Please see attached for more info.
http://i59.tinypic.com/dwujv7.png
here is the code that they told me needed to be edited:
<?php
?>
<li data-strips-item>
<div class="sprocket-strips-item" <?php if ($item->getPrimaryImage()) :?>style="background-image: url(<?php echo $item->getPrimaryImage()->getSource(); ?>);"<?php endif; ?> data-strips-content>
<div class="sprocket-strips-content">
<?php if ($item->getTitle()) : ?>
<h4 class="sprocket-strips-title" data-strips-toggler>
<?php if ($item->getPrimaryLink()) : ?><a href="<?php echo $item->getPrimaryLink()->getUrl(); ?>"><?php endif; ?>
<?php echo $item->getTitle();?>
<?php if ($item->getPrimaryLink()) : ?></a><?php endif; ?>
</h4>
<?php endif; ?>
<?php if ($item->getText()) :?>
<span class="sprocket-strips-text">
<?php echo $item->getText(); ?>
</span>
<?php endif; ?>
<?php if ($item->getPrimaryLink()) : ?>
<a href="<?php echo $item->getPrimaryLink()->getUrl(); ?>" class="readon"><span><?php rc_e('READ_MORE'); ?></span></a>
<?php endif; ?>
</div>
</div>
</li>