更新时间:2023-09-24 14:41:58
肯定是-只需将模板文件从缓存复制到模板后端的相关 module / templates
文件夹中,然后进行修改/扩展即可。
Sure is - just copy the template files from the cache to the relevant module/templates
folder in the backend for templates and then modify/extend.
对于操作,将相同的命名操作添加到 module / actions / actions.class.php
文件,并根据需要扩展它,例如:
For actions, add the same named action to the module/actions/actions.class.php
file, and extend it as necessary, e.g.:
apps / backend / modules / blah / actions / actions.class.php :
class blahActions extends autoBlahActions
{
public function updateBlahFromRequest()
{
//handle the form submission
parent::updateBlahFromRequest();
//do some custom tasks
$this->logMessage('Object updated');
}
}