묻고답하기
소스 수정 문의 드립니다 혼자서 너무 어렵네요
2015.05.12 23:33
안녕하세요
레이아웃을 구매해서 사용중인데 업체에서 소스수정은 지원이 안된다고 해서 이렇게 질문드립니다.
감사합니다.
아래쪽에 굵게 표시된 "리스트형 위젯"부분을 웹진형과 이미지형을 대신하여
원래구성이 | 웹진형 | 이미지형 | 리스트형 | 이런식이 었는데
|리스트형 |리스트형 | 리스트형 | 이렇게 만들고 싶습니다.
단순히 소스를 지우고 붙여넣는 식으로는 안되서 질문드립니다.
html5를 쉽게 생각하였으나 생각보다 어렵네요 ㅠㅠ
<div class="footer_latest cameron-md-3 boxs">
<block cond="!$layout_info->webzine_title">{@ $layout_info->webzine_title = '웹진형 위젯'}</block>
<block cond="$layout_info->webzine_mid">
{@
$args=new stdClass();
$args->site_srl=$site_srl;
$args->mid=$layout_info->webzine_mid;
$msrlq_webzine=executeQueryArray('module.getModuleSrlByMid', $args);
$msrl_webzine=$msrlq_webzine->data;
}
<block loop="$msrl_webzine=>$key,$val">{@ $msrli_webzine[$key]=$msrlq_webzine->data[$key]->module_srl; }</block>
{@ $msrls_webzine=implode(',',$msrli_webzine)}
</block>
<img class="zbxe_widget_output" widget="content" skin="widein_footer_webzine" colorset="layout" content_type="document" module_srls="{$msrls_webzine}" list_type="normal" tab_type="none" markup_type="list" list_count="3" cols_list_count="1" page_count="1" subject_cut_size="16" content_cut_size="16" option_view="thumbnail,title,nickname,regdate" show_browser_title="N" show_comment_count="Y" show_trackback_count="N" show_category="Y" show_icon="N" duration_new="24" order_target="list_order" order_type="desc" thumbnail_type="crop" thumbnail_width="56" thumbnail_height="56" widgetstyle="widein_footer" ws_title="{$layout_info->webzine_title}" />
</div>
<div class="footer_latest cameron-md-3 boxs">
<block cond="!$layout_info->image_title">{@ $layout_info->image_title = '이미지형 위젯'}</block>
<block cond="$layout_info->image_mid">
{@
$args=new stdClass();
$args->site_srl=$site_srl;
$args->mid=$layout_info->image_mid;
$msrlq_image=executeQueryArray('module.getModuleSrlByMid', $args);
$msrl_image=$msrlq_image->data;
}
<block loop="$msrl_image=>$key,$val">{@ $msrli_image[$key]=$msrlq_image->data[$key]->module_srl; }</block>
{@ $msrls_image=implode(',',$msrli_image)}
</block>
<img class="zbxe_widget_output" widget="content" skin="widein_footer_image" colorset="layout" content_type="document" module_srls="{$msrls_image}" list_type="normal" tab_type="none" markup_type="list" list_count="9" cols_list_count="1" page_count="1" subject_cut_size="40" content_cut_size="40" option_view="thumbnail,title" show_browser_title="N" show_comment_count="Y" show_trackback_count="N" show_category="Y" show_icon="N" duration_new="24" order_target="list_order" order_type="desc" thumbnail_type="crop" thumbnail_width="64" thumbnail_height="64" widgetstyle="widein_footer" ws_title="{$layout_info->image_title}" />
</div>
<div class="footer_latest cameron-md-3 boxs">
<block cond="!$layout_info->list_title">{@ $layout_info->list_title = '리스트형 위젯'}</block>
<block cond="$layout_info->list_mid">
{@
$args=new stdClass();
$args->site_srl=$site_srl;
$args->mid=$layout_info->list_mid;
$msrlq_list=executeQueryArray('module.getModuleSrlByMid', $args);
$msrl_list=$msrlq_list->data;
}
<block loop="$msrl_list=>$key,$val">{@ $msrli_list[$key]=$msrlq_list->data[$key]->module_srl; }</block>
{@ $msrls_list=implode(',',$msrli_list)}
</block>
<img class="zbxe_widget_output" widget="content" skin="widein_footer_list" colorset="layout" content_type="document" module_srls="{$msrls_list}" list_type="normal" tab_type="none" markup_type="list" list_count="4" cols_list_count="1" page_count="1" subject_cut_size="24" content_cut_size="24" option_view="title,nickname,regdate" show_bser_title="N" show_comment_count="Y" show_trackback_count="N" show_category="Y" show_icon="N" duration_new="24" order_target="list_order" order_type="desc" thumbnail_type="crop" widgetstyle="widein_footer" ws_title="{$layout_info->list_title}" />
</div>
<div class="cameron-md-3 boxs">
<block cond="!$layout_info->contact_title">{@ $layout_info->contact_title = 'Cameron, Co.'}</block>
<h4 class="contact_title">{$layout_info->contact_title}</h4>
<address class="contact newclearfix">
<p cond="$layout_info->address" class="address">{nl2br($layout_info->address)}</p>
<p cond="$layout_info->tel" class="tel">{$layout_info->tel}</p>
<p cond="$layout_info->fax" class="fax">{$layout_info->fax}</p>
<p cond="$layout_info->email" class="email"> {$layout_info->email}</p>
</address>
<address class="contact newclearfix">
<p cond="$layout_info->other" class="other">{nl2br($layout_info->other)}</p>
</address>
</div>