Hab schonmal die Stelle gefunden wo es hängt...
und zwar müsste ich an strUrl noch etwas anhängen.
PHP-Code:
elseif (isset($_POST['saveNcreate']))
{
\Message::reset();
\System::setCookie('BE_PAGE_OFFSET', 0, 0);
$strUrl = TL_SCRIPT . '?do=' . \Input::get('do');
if (isset($_GET['table']))
{
$strUrl .= '&table=' . \Input::get('table');
}
// Tree view
if ($this->treeView)
{
$strUrl .= '&act=create&mode=1&pid=' . $this->intId;
}
// Parent view
elseif ($GLOBALS['TL_DCA'][$this->strTable]['list']['sorting']['mode'] == 4)
{
$strUrl .= $this->Database->fieldExists('sorting', $this->strTable) ? '&act=create&mode=1&pid=' . $this->intId . '&id=' . $this->activeRecord->pid : '&act=create&mode=2&pid=' . $this->activeRecord->pid;
}
// List view
else
{
$strUrl .= ($this->ptable != '') ? '&act=create&mode=2&pid=' . CURRENT_ID : '&act=create';
}
$this->redirect($strUrl . '&rt=' . REQUEST_TOKEN);
Lesezeichen