1. ./module/plusad/plusad.mobile.php 파일을 작성합니다.
<?php
/**
* @class plustadMobile
* @brief The mobile class of the plusad module
*/
require_once(_XE_PATH_ . 'modules/plusad/plusad.view.php');
class plusadMobile extends plusadView
{
function init()
{
$this->module_info->mlayout_srl = -1;
Context::set('config', $this->config);
// $this->setTemplatePath(sprintf('%sm.skins/%s/', $this->module_path, $this->config->mskin));
// 레이아웃
// if($this->config->mlayout_srl)
// {
// if($layout_info = getModel('layout')->getLayout($this->config->mlayout_srl))
// {
// $this->module_info->mlayout_srl = $this->config->mlayout_srl;
// $this->setLayoutPath($layout_info->path);
// }
// }
// 스킨 경로 설정
$template_path = sprintf("%sskins/%s/",$this->module_path, $this->module_info->skin);
$this->setTemplatePath($template_path);
}
}
해당 자료는 아래 링크에서 다운로드 가능합니다.
https://ssgroom.com/xecenter/7874?comment_srl=20706#comment_20706