우선 모바일게시판 _list_m.html부터 수정해서 디자인을 잡아 보고 싶은데

생각처럼 잘 안되네요..

 

 

        <div class="rt_area<!--@if($mi->list_m_tmb && $document->thumbnailExists())--> is_tmb<!--@end-->">
            <div cond="$mi->list_m_tmb" class="tmb_wrp">
                <!--// 썸네일 -->
                <img cond="$document->thumbnailExists()" class="tmb" src="{$document->getThumbnail($mi->zine_thumb_width,$mi->zine_thumb_height,$mi->zine_thumb_type)}" alt="" />
            </div>
 

 

여기 부분이 기존에 썸네일 출력할 부분으로 보이길래 우선 컨디션을 지워주고 썸네일로 되어있는 부분을 수정해주려고 하는데요.. 발품팔아보니 

 

            <div class="tmb_wrp">
                        {@
                        $oMemberModel = &getModel('member');
                        $profile_image = $oMemberModel->getProfileImage($item->get('member_srl'));
                        }                    
                        <img cond="$profile_image->src" src="{$profile_image->src}" alt="" />
                        <img cond="!$profile_image->src" src="noimg.jpg" />    
            </div>

 

요렇게 고치면 될것 같았는데 안되고 에러를 뿜네요 ^0^;;;; 왠지 느낌은 좋았는데 계속 실패해서..

 제대로 고치려면 어떻게 해야하는지 알 수 있을까요...?

  • profile

    저도 그 문제로 고심했던 적이 있는데, 그냥 {$document->getProfileImage()}로 하니까 출력되더군요.

    (참고로 웹진형 보기 모드에서였어요)

  • profile ?
    헐 진짜네요.........................이러케 하면 되는거였다니!! 뒓!! 감사합니다 ㅇ9ㅇ!!!
  • profile profile
    헐.. 저는 다른 방법으로 뽑아서 사용했는데
    충격이네요 ㄷㄷ
  • profile profile
    저도 검색질해서 그 방법으로 컬컬..
  • profile profile
    저 혹시 시간 되신다면 어느 부분에 넣어야 하는건지 알려주세요ㅠ 이렇게 저렇게 해봤는데 오류가.. 라이믹스 스케치북 쓰고 있습니다.
  • profile profile
    아이고 어쩌다가 됐네요ㅋㅋ 감사합니다.
  • profile profile
    네, $document_list의 반복문 안에 넣으시면 될 거예요 :)
  • profile profile

    Screenshot_20180626-190914_Chrome.jpg

    덕분에 해결했습니다 우헤헤