Simple image gallery Pro under the main picture of K2 item?

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Feb 23, 2015 10:21 pm
Reply with quote
Report this post
Hi,

is it possible to have the simple image gallery pro just under the main picture on the top?
Now, i have the gallery on the bottom of the whole content.

Best regards
Justin

proneu.jpg
User avatar
Junior Boarder

GK User
Mon Feb 23, 2015 10:44 pm
Reply with quote
Report this post
Hi,
yes, I even done it in my private project 2 years ago.
You have to edit that file: templates\gk_simplicity\html\com_k2\templates\default\item.php
User avatar
Platinum Boarder

GK User
Mon Feb 23, 2015 10:47 pm
Reply with quote
Report this post
1) Open file in HTML editor
2) Find this code
<?php if($params->get('itemImageGallery') && !empty($this->item->gallery)): ?>
<div class="itemImageGallery" id="itemImageGalleryAnchor">
<h3><?php echo JText::_('K2_IMAGE_GALLERY'); ?></h3>
<?php echo $this->item->gallery; ?>
</div>
<?php endif; ?>


should be around line 355, cut and ...
3) paste before
<header>
(line ~47)
it should work :mrgreen:
User avatar
Platinum Boarder

GK User
Tue Feb 24, 2015 9:41 am
Reply with quote
Report this post
Many thanks, it works fantastic.
Thank You
User avatar
Junior Boarder


cron