K2 image in category view
- GK User
- Fri Apr 25, 2014 10:33 pm
Hi, I have added some items in k2, but when they are displayed in category view the image is displayed below the ratings and cart button - I would like the image displayed with ratings and cart button below the image!
Please visit this page to see what I mean! http://treatsandtrinkets.net/index.php/earrings
Please help!
Thanks
Please visit this page to see what I mean! http://treatsandtrinkets.net/index.php/earrings
Please help!
Thanks
-
- Fresh Boarder
- GK User
- Sat Apr 26, 2014 3:24 am
I dont believe gavick supports k2 store with this template.
If you would like a quote contact me. Fairly cheap. If you want send me your ftp info. If I can finish within 5 minutes its free. If it takes longer I will give you a quote
If you would like a quote contact me. Fairly cheap. If you want send me your ftp info. If I can finish within 5 minutes its free. If it takes longer I will give you a quote
-
- Gold Boarder
- GK User
- Sat Apr 26, 2014 11:42 am
Hi, thanks for your reply. I installed using the quickstart package and it came with k2 store already installed. Hopefully gavick will resolve this issue for me - if not, I may be in touch.
Thanks
Thanks
-
- Fresh Boarder
- teitbite
- Sun Apr 27, 2014 9:20 am
Hi
@devsmi this part is presented by K2 and we have an override for it in template, so I have to answer since it's within support agreement.
@canavan please edit /html/com_k2/default/category_item.php find this code (lines 157-166):
cut it and paste to line 35 which should be an empty line between this 2:
@devsmi this part is presented by K2 and we have an override for it in template, so I have to answer since it's within support agreement.
@canavan please edit /html/com_k2/default/category_item.php find this code (lines 157-166):
- Code: Select all
<?php if($this->item->params->get('catItemImage') && !empty($this->item->image)): ?>
<!-- Item Image -->
<div class="catItemImageBlock">
<span class="catItemImage">
<a href="<?php echo $this->item->link; ?>" title="<?php if(!empty($this->item->image_caption)) echo K2HelperUtilities::cleanHtml($this->item->image_caption); else echo K2HelperUtilities::cleanHtml($this->item->title); ?>">
<img src="<?php echo $this->item->image; ?>" alt="<?php if(!empty($this->item->image_caption)) echo K2HelperUtilities::cleanHtml($this->item->image_caption); else echo K2HelperUtilities::cleanHtml($this->item->title); ?>" style="width:<?php echo $this->item->imageWidth; ?>px; height:auto;" />
</a>
</span>
</div>
<?php endif; ?>
cut it and paste to line 35 which should be an empty line between this 2:
- Code: Select all
<div class="catItemContent">
<div class="catItemHeader">
-
- Moderator
4 posts
• Page 1 of 1