Extra Form
PHP PHP 7.4
CMS Rhymix 2.x

2.0.6 인데 모든 모듈인지 모르겠으나 제가 사용하는 모듈 기준

( 거의 저는 한 개발자분 스킨만 사용해서 저만 해당되는 것일 수도 있어요)

상세설정에서 모바일 스킨을 넣어주지 않으면 사용자 스킨이 나오지 않거나, 모바일 스킨이 적용되지 않네요..

아이템샵, 출석부 두개 발견했는데.. 예전엔 메뉴에서 디자인 설정 사이트 기본으로 하면 됐는데

상세 설정 들어가야하는게 조금 불편하네요ㅠ

 

모바일 스킨 폴더에도 같은 스킨 업로드 하고 설정해주면 해결되는 것이라.. 질문글하고 거리가 멀 수도 있는데

토픽도 아닌거 같아서 여기 남겨봤어요. 혹시 다른 방법 있으시면 알려주세용..

  • profile
    반응형으로 사용하는 경우는 모바일스킨 경로에 올릴 필요 없고 라이믹스는 PC와 동일한 스킨 사용 이라는 설정도 있습니다.

    굳이 모바일용을 다르게 수정해서 내용을 추가하거나 할 것이라면 모바일쪽에 올릴 필요는 없죠. 모바일뷰를 사용하고 분리해서 관리한다면 모바일쪽에 업로드는 필히 해야 하구요.
  • profile ?
    기존에도 말씀하신대로 pc와 동일한 스킨 사용으로 잘 쓰고 있었어요. 근데 어제 보니까 다 모바일만 출석부는 기본스킨이 나오고, 아이템샵은 모바일 페이지가 아예 나오지 않고 있었더라고요. 문의하니까 모바일 스킨을 지정해보라고 하셔서.. 일단 각각 업로드해서 쓰고 있네요.
  • profile

    모듈의 attendance.mobile.php에 아래 함수 있죠?

    function init()
    {
        $template_path = sprintf("%sm.skins/%s/", $this->module_path, $this->module_info->mskin);
        if (!is_dir($template_path) || !$this->module_info->mskin)
        {
            $this->module_info->mskin = 'default';
            $template_path = sprintf("%sm.skins/%s/", $this->module_path, $this->module_info->mskin);
        }
        $this->setTemplatePath($template_path);
        $this->setTemplateFile('index');
    }

     

    저는 출석부 모듈을 안 써봐서 잘 모르지만, 혹시 시간되실 때 이렇게 바꿔보시겠어요?

    되는지 안 되는지 알려주시면 감사하겠습니다.

    function init()
    {
        $skin = $this->module_info->skin;
        $mskin = $this->module_info->mskin;
        if ( $mskin === '/USE_RESPONSIVE/' )
        {
            $template_path = sprintf('%sskins/%s/', $this->module_path, $skin);
            if ( !is_dir($template_path) || !$skin )
            {
                $template_path = sprintf('%sskins/%s/',$this->module_path, 'default');
            }
        }
        else
        {
            $template_path = sprintf('%sm.skins/%s/', $this->module_path, $mskin);
            if ( !is_dir($template_path) || !$mskin )
            {
                $template_path = sprintf('%sm.skins/%s/', $this->module_path, 'default');
            }
        }
    
        $this->setTemplatePath($template_path);
        $this->setTemplateFile('index');
    }

     

     

  • profile ?
    적용해봤더니 잘 됩니다!! 감사합니다. 아이템샵도 같은 증상인데 참고해서 한번 도전해봐야겠습니다!
  • ? profile
    다행입니다 ^^/
    아이템샵도 해보시고 말씀 부탁드려요~
  • profile ?

    아이템샵
    itemshop.mobile.php 에
    // 스킨 경로 설정
    $this->setTemplatePath(sprintf('%sm.skins/%s/', $this->module_path, $this->Amodule_info->mskin));

    이 부분에 복붙했더니 됐습니다!! 정말 감사드려요 ㅜㅜ

  • ? profile
    음, 역시 서드파티 모듈들이 전체적으로 점검이 필요하겠어요ㅠㅠ
  • profile ?
    아하... ㅠㅠ 저는 모듈을 별로 많이 쓰고 있지 않아서 두개만 발견했나보네요..