1. 修改class/summary/action/doblogregistration.class.php文件:
在$this->setCommonData();後面加入
SummaryController::setForwardAction( "RegisterStep5" );
變爲如下這樣:
function perform()
{
// validated values
$tf = new Textfilter();
// create the new view and clean the cache
$this->_view = new BlogTemplateChooserView();
$this->setValues();
$this->setCommonData();
SummaryController::setForwardAction( "RegisterStep5" )
}
2.修改class/summary/action/dofinishregister.class.php文件:
把$this->templateId = $this->_request->getValue("templateId");
改爲直接給變量賦值,就是你要默認的那個模版比如 blueish
$this->templateId = "blueish";
3.最後再修改一下語言包文件讓步驟順序顯示正確。
在$this->setCommonData();後面加入
SummaryController::setForwardAction( "RegisterStep5" );
變爲如下這樣:
function perform()
{
// validated values
$tf = new Textfilter();
// create the new view and clean the cache
$this->_view = new BlogTemplateChooserView();
$this->setValues();
$this->setCommonData();
SummaryController::setForwardAction( "RegisterStep5" )
}
2.修改class/summary/action/dofinishregister.class.php文件:
把$this->templateId = $this->_request->getValue("templateId");
改爲直接給變量賦值,就是你要默認的那個模版比如 blueish
$this->templateId = "blueish";
3.最後再修改一下語言包文件讓步驟順序顯示正確。