move k2 Module

GK User
Mon Aug 20, 2012 6:43 pm
hello together

I have another problem.
I want to push the framed red behind the K2 Gallery ....

Image

i am not a programmer and can only very little.

I think I have something here again enter into override.css.

Who can help me here?

I would like to do it myself, but I fail already at the basics

thank you for tips and tricks, or even code

ralf
User avatar
Junior Boarder

GK User
Mon Aug 20, 2012 8:57 pm
Hi again

That needs different approach.
Open ../templates/gk_boutique/html/com_k2/templates/default/item.php

and find this fragment

Code: Select all
<?php if($this->item->params->get('itemImageGallery') && !empty($this->item->gallery)): ?>
      <!-- Item image gallery -->
      <a name="itemImageGalleryAnchor" id="itemImageGalleryAnchor"></a>
      <div class="itemImageGallery">
            <h3><?php echo JText::_('K2_IMAGE_GALLERY'); ?></h3>
            <?php echo $this->item->gallery; ?>
      </div>
      <?php endif; ?>


Cut & paste on into line 229 (just before this line)

Code: Select all
<?php if($this->item->params->get('itemRating') || ($this->item->params->get('itemDateModified') && intval($this->item->modified)!=0)): ?>


After paste the code, add the following line at the end of the fragment:

Code: Select all
<div class="clr"></div>


So it should looks like this:

Code: Select all
<?php if($this->item->params->get('itemImageGallery') && !empty($this->item->gallery)): ?>
            <!-- Item image gallery -->
            <a name="itemImageGalleryAnchor" id="itemImageGalleryAnchor"></a>
            <div class="itemImageGallery">
            <h3><?php echo JText::_('K2_IMAGE_GALLERY'); ?></h3>
            <?php echo $this->item->gallery; ?>
            </div>
         <?php endif; ?>
            <div class="clr"></div>


I didn't test it, but it should work.

Cheers
User avatar
Platinum Boarder

GK User
Wed Aug 22, 2012 10:11 am
many many thanks

it worked great.

and as I have understood it, I could still change a little piece of yourself.

thanks for all the support.

Ralf
User avatar
Junior Boarder


cron