mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-24 12:52:19 +09:00
issue 2569, Beginning page after installed be shown wiget type
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12295 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
76ceeabb95
commit
5a4d3326f2
1 changed files with 3 additions and 3 deletions
|
|
@ -116,7 +116,7 @@ $page_args->module = 'page';
|
|||
$page_args->mid = 'welcome_page';
|
||||
$page_args->module_category_srl = 0;
|
||||
$page_args->page_caching_interval = 0;
|
||||
$page_args->page_type = 'ARTICLE';
|
||||
$page_args->page_type = 'WIDGET';
|
||||
$page_args->skin = 'default';
|
||||
$page_args->use_mobile = 'Y';
|
||||
|
||||
|
|
@ -151,8 +151,8 @@ if(!$output->toBool()) return $output;
|
|||
// save PageWidget
|
||||
$mdocument_srl = $output->get('document_srl');
|
||||
$module_info = $oModuleModel->getModuleInfoByModuleSrl($module_srl);
|
||||
$module_info->document_srl = $document_srl;
|
||||
$module_info->mdocument_srl = $mdocument_srl;
|
||||
$module_info->content = '<img hasContent="true" class="zbxe_widget_output" widget="widgetContent" style="width: 100%; float: left;" body="" document_srl="'.$document_srl.'" widget_padding_left="0" widget_padding_right="0" widget_padding_top="0" widget_padding_bottom="0" />';
|
||||
$module_info->mcontent = '<img hasContent="true" class="zbxe_widget_output" widget="widgetContent" style="width: 100%; float: left;" body="" document_srl="'.$mdocument_srl.'" widget_padding_left="0" widget_padding_right="0" widget_padding_top="0" widget_padding_bottom="0" />';
|
||||
$output = $oModuleController->updateModule($module_info);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue