如何禁用结帐功能。在我的情况下,这是无用的,唯一的办法是从后端办理登机手续。 OpenGlobal无效。
答案 0 :(得分:1)
你可以在后端自己做:编辑文件库/ joomla / application / component / controllerform.php
按照我的方式说出以下几行:
// Attempt to check-out the new record for editing and redirect.
/* if ($checkin && !$model->checkout($recordId)) {
// Check-out failed, display a notice but allow the user to see the record.
$this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_CHECKOUT_FAILED', $model->getError()));
$this->setMessage($this->getError(), 'error');
$this->setRedirect('index.php?option='.$this->option.'&view='.$this->view_item.$this->getRedirectToItemAppend($recordId, $urlVar));
return false;
}
else {*/
// Check-out succeeded, push the new record id into the session.
$this->holdEditId($context, $recordId);
$app->setUserState($context.'.data', null);
$this->setRedirect('index.php?option='.$this->option.'&view='.$this->view_item.$this->getRedirectToItemAppend($recordId, $urlVar));
return true;
// }
}
答案 1 :(得分:0)
Joomla 2.5的Autocheckin插件怎么样?它似乎也适用于Joomla 3.0。也许是1.7。