-
AuthorPosts
-
thkellmann Friend
thkellmann
- Join date:
- March 2014
- Posts:
- 75
- Downloads:
- 38
- Uploads:
- 32
- Thanks:
- 66
- Thanked:
- 3 times in 1 posts
July 9, 2015 at 7:09 pm #208485Hello everybody,
i want insert in the position from the ratings a image.
About support I would be very happy, I have no idea what i must do.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 10, 2015 at 3:32 am #576901Hi
You will need to customise the K2 item, it’s K2 item rating block: root/templates/ja_directory/html/com_k2/directory/item.php
look for this snippet of code:
<div class="col col-md-4 col-lg-3 k2rating">
<?php if($this->item->params->get('itemRating')): ?>
<!-- Item Rating -->
<div class="itemRatingBlock">
<span><?php echo JText::_('K2_RATE_THIS_ITEM'); ?></span>
<div class="itemRatingForm">
<ul class="itemRatingList">
<li class="itemCurrentRating" id="itemCurrentRating<?php echo $this->item->id; ?>" style="width:<?php echo $this->item->votingPercentage; ?>%;"></li>
<li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_1_STAR_OUT_OF_5'); ?>" class="one-star">1</a></li>
<li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_2_STARS_OUT_OF_5'); ?>" class="two-stars">2</a></li>
<li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_3_STARS_OUT_OF_5'); ?>" class="three-stars">3</a></li>
<li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_4_STARS_OUT_OF_5'); ?>" class="four-stars">4</a></li>
<li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_5_STARS_OUT_OF_5'); ?>" class="five-stars">5</a></li>
</ul>
<div id="itemRatingLog<?php echo $this->item->id; ?>" class="itemRatingLog"><?php echo $this->item->numOfvotes; ?></div>
<div class="clr"></div>
</div>
<div class="clr"></div>
</div>
<?php endif; ?>
</div>
and change as you wish.
1 user says Thank You to Saguaros for this useful post
thkellmann Friendthkellmann
- Join date:
- March 2014
- Posts:
- 75
- Downloads:
- 38
- Uploads:
- 32
- Thanks:
- 66
- Thanked:
- 3 times in 1 posts
July 10, 2015 at 1:35 pm #576972Hello Saguaros,
thats a request for a developer, my skills are not enough for this job.
Thanks for the info and have a good weekend.thkellmann Friendthkellmann
- Join date:
- March 2014
- Posts:
- 75
- Downloads:
- 38
- Uploads:
- 32
- Thanks:
- 66
- Thanked:
- 3 times in 1 posts
July 10, 2015 at 1:35 pm #643280Hello Saguaros,
thats a request for a developer, my skills are not enough for this job.
Thanks for the info and have a good weekend.thkellmann Friendthkellmann
- Join date:
- March 2014
- Posts:
- 75
- Downloads:
- 38
- Uploads:
- 32
- Thanks:
- 66
- Thanked:
- 3 times in 1 posts
July 10, 2015 at 1:35 pm #741934Hello Saguaros,
thats a request for a developer, my skills are not enough for this job.
Thanks for the info and have a good weekend. -
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by thkellmann 9 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum