Why is this a problem?
Because when a frontend editor saves an article without publishing it, the only way to later edit it/publish it is through his k2 user page on the list of last articles.
On gavick publisher template the edit button is unavailable, so I've modified this file
templates\gk_publisher\html\com_k2\templates\default\user.php
in the following way:
After row 60
- Code: Select all
<?php if($this->params->get('userItemTitle')): ?>
Insert this code:
- Code: Select all
<?php if(isset($item->editLink)): ?>
<!-- Item edit link -->
<span class="userItemEditLink">
<a class="modal" rel="{handler:'iframe',size:{x:990,y:550}}" href="<?php echo $item->editLink; ?>">
<?php echo JText::_('K2_EDIT_ITEM'); ?>
</a>
</span>
<?php endif; ?>
And off you go!!!
Please, moderators, include this alteration in a later version of this template.
Thanks in advance