Hi, You want to add gallery module into K2 article or insert K2 gallery into K2 article ?
If second answer you have to modify (php/html) file from overwriten K2 template.
Because this part of code, K2 gallery default is on the bottom of article.
Try to edit this file: gk_restaurant\html\com_k2\templates\default\item.php
- Code: Select all
<?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; ?>
This is gallery code, so cut and paste in the top of file.