'Social button' code for k2

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
Wed Jan 27, 2016 7:26 pm
Reply with quote
Report this post
Hi there,
I fathom Social button code from k2 is not implemenet in this template at all. Could you give me a hint where and what should I insert in the code for that thing to appear?
Thank you. Victor
Live site link (if needed): http://bozhenko.guru/blogs/item/301-vinovaty-li-bogatye-v-tvoej-nishchete
User avatar
Platinum Boarder

teitbite
Mon Feb 01, 2016 10:00 am
Reply with quote
Report this post
Hi

This is a missing code:

Code: Select all
         <?php if($this->item->params->get('itemSocialButton') && !is_null($this->item->params->get('socialButtonCode', NULL))): ?>
         <!-- Item Social Button -->
         <li>
            <?php echo $this->item->params->get('socialButtonCode'); ?>
         </li>
         <?php endif; ?>


You need to place it /html/com_k2/templates/default/item.php in the list which starts at line 62.
User avatar
Moderator


cron