Hello!
To redirect while preserving material from the front end I had used my personal hack
administrator => components => com_k2=> models =>item.php
case 'save' :
default :
if ($front) {
$msg = JText::_('K2_ITEM_SAVED');
if ($row->catid == 2){$link = '/company/' .$row->id ;}
else {$link = '/index.php?option=com_k2&view=item&id=' .$row->id ;}
}
else {
$link = 'index.php?option=com_k2&view=items';
}
break;
Now I want to improve it so that when you add a redirect was one when you change the other. But I can come up with anything to tie him up.
I tried to tie him to itemid but at the moment there is a redirect from an item id
Tried to bind to the URL but failed.
Is there a variable that is responsible for adding or editing it was.