Edit k2 item

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
Tue Jul 14, 2015 10:21 am
Reply with quote
Report this post
Hi,

I can edit k2 items in front-end when in Blog mode, but not when you click an article. How can I enable this?

Tnx in advance
User avatar
Expert Boarder

GK User
Tue Jul 14, 2015 5:38 pm
Reply with quote
Report this post
never mind, already fixed it :)

i've just added
Code: Select all
<?php if(isset($this->item->editLink)): ?>
         <a class="catItemEditLink modal" rel="{handler:'iframe',size:{x:990,y:550}}" href="<?php echo $this->item->editLink; ?>">
            <?php echo JText::_('K2_EDIT_ITEM'); ?>
         </a>
         <?php endif; ?>


after <header> in the templates/gk_simplicity/html/com_k2/templates/default/item.php
User avatar
Expert Boarder

teitbite
Fri Jul 17, 2015 8:32 pm
Reply with quote
Report this post
Hi

Thank You for shearing this with us. I'll let programmers see this piece of code.
User avatar
Moderator


cron