묻고답하기

1.jpg

 

 나라디자인의 스킨입니다.

 여기에서 단편 게시판 / 환상회랑 작품 / 초청 단편 과 같이

 상단 탭에 지정되는 게시판의 mid 값을 변수로 지정하는 방법을 좀 알고 싶습니다.

 

 상단 탭의 경우

 _tab_top.html 인데요.

 

<ul class="ncwTabContainer ncwTabHr">
{@$i=0}
<!--@foreach($widget_info->tab as $module_srl => $tab)-->
    <li class="ncwTab <!--@if($i==0)-->active<!--@end-->">
    {@$b='short'}
    <button type="button" class="ncwTabButton" ondblclick="goURL('http://fangal.org/xe/{$b}')" onclick="content_widget_tab_show(jQuery(this),jQuery(this).parents('ul.ncwTabContainer').next('div.ncwListContainer'),{$i})"><span>{$tab->title}</span></button>
  <div class="ncwListContainer">
   {@$widget_info->content_items = $tab->content_items}
   <!--#include("_tab_none.html")-->
  </div>
 </li>
{@$i++}
<!--@end-->
</ul>

 

로 되어있는데요. 빨간색으로 칠해진 부분의 변수가 지금은 'short'으로 지정되어 있으나,

$b를 각 탭에 연동하는 mid 값으로 지정해주고 싶습니다.

 

한편, 최근 게시물 출력 부분 파일인 normal.html의 코드는 다음과 같습니다.

 

<!--// 테이블형 출력 -->
<!--@else-->
    <table class="ncwList" border="1" cellspacing="0">
        <tbody>
    {@$_idx=0}
    <!--@foreach($widget_info->content_items as $key => $item)-->
        <tr<!--@if($_idx >= $widget_info->list_count)--> style="display:none"<!--@end-->>
    <!--@foreach($widget_info->option_view_arr as $k => $v)-->
    <!--@if($v=='title')-->
        <td class="titleArea">

            <!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
       
                <a href="<domain">!--@if($item->contents_link)-->{$item->contents_link}<!--@else-->{getSiteUrl("$item->domain, ', 'mid', $item->get('mid'))}<!--@end-->" class="moduleTitle">{$item->getBrowserTitle()}</a>
            <!--@end-->
            <!--@if($widget_info->show_category=='Y' && $item->get('category_srl') )-->
                <a href="{getSiteUrl($item->domain,','mid',$item->get('mid'),'category',$item->get('+ '+ 'category_srl'))}" class="categoryTitle">{$item->getCategory()}</a>
            <!--@end-->
            <a href="{$item->getLink()}" class="documentTitle">{$item->getTitle($widget_info->subject_cut_size)}</a>

            <!--@if($widget_info->show_comment_count=='Y' && $item->getCommentCount())-->
                <sup class="replyNum" title="Replies"><a href="{$item->getLink()}#comment">{$item->getCommentCount()}</a></sup>
            <!--@end-->

            <!--@if($widget_info->show_trackback_count=='Y' && $item->getTrackbackCount())-->
                <sup class="trackbackNum" title="Trackbacks"><a href="{$item->getLink()}#trackback">{$item->getTrackbackCount()}</a></sup>
            <!--@end-->

            <!--@if($widget_info->show_icon=='Y')-->
                <span class="icon">{$item->printExtraImages()}</span>
            <!--@end-->
        </td>
    <!--@else if($v=='nickname')-->
        <td><span class="author">{$item->getNickName()}</span></td>
    <!--@else if($v=='regdate')-->
        <td class="time"><span class="date">{$item->getRegdate("Y-m-d")}</span> <span class="hour"></span></td>
    <!--@end-->
    <!--@end-->
        </tr>
    {@$_idx++}
    <!--@end-->
        </tbody>
    </table>
    <!--@if($widget_info->page_count > 1 && $widget_info->list_count<$_idx)-->
    <ul class="ncwListPagination">
        <li><button type="button" class="prev" title="{$lang->cmd_prev}" onclick="content_widget_prev(jQuery(this).parents('ul.ncwListPagination').prev('table.ncwList'),{$widget_info->list_count})"><span>{$lang->cmd_prev}</span></button></li>
        <li><button type="button" class="next" title="{$lang->cmd_next}" onclick="content_widget_next(jQuery(this).parents('ul.ncwListPagination').prev('table.ncwList'),{$widget_info->list_count})"><span>{$lang->cmd_next}</span></button></li>
    </ul>
    <!--@end-->
<!--@end-->
</div>

 

 제가 문외한이라 잘 모르겠으나 mid를 받아내는 방법은 get('+ 'mid'+ ') 정도가 되는 것 같은데,

 이게 normal.html에서만 변수로 지정이 되고, _tab_top.html 에서는 되질 않더라고요.

 어떻게 손을 대야 _tab_top.html에서 mid 값을 변수로 지정이 가능할지 답변을 좀 부탁드리겠습니다.

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
채경완576 최신 이미지 위젯이 작동은 안하는데 도와주세요 ㅠ  
보라^^ 게시판문제 [1] 2010.02.27 by 후즐구레
wushu 세션관리자 업데이트가 안됩니다 file  
검은고양이- 리퍼러referer관련 질문입니다. [1] file 2010.02.27 by 검은고양이-
머구리 로그인창의 디자인을 바꿀려면 어떤 파일을 손대야 하나요?  
탑엣지 글열람시 포인트 차감 알림창이 뜨게하려면? file  
노기욱 탭에 대응하는 mid 값 변수로 지정하는 방법 좀. file  
oO나쁜토끼Oo zero님 지식인 모듈 이전은 어떻게 하나요? [1] 2010.02.27 by oO나쁜토끼Oo
Hosting.ort 해킹툴관련... [1] 2010.02.27 by 휘즈
박정진닷컴 로그인이 되질 않아요  
geba 설문조사기능을 넣고 싶어요 [1] 2010.02.27 by SMaker
jazzyoon 게시판 첨부파일 용량 늘이는 방법 좀 알고 싶습니다. [1] 2010.02.27 by 휘즈
우울 xe 오류 문제를 선배분들께 여쭙니다. [1] file 2010.02.27 by 휘즈
이현근237 www로 접속시 언어변경 [2] 2010.02.27 by 슬픈동화
convoy 최신 댓글 아이콘을 넣고 싶습니다.  
시니시즘 파일 첨부 모듈 hide(); 하면 작동 안되는 문제  
비맞은돌 회원 아이디 변수명을 메인에서 배너를 클릭시 팝업창에 전달해 주고 싶은데 어떻게 해야하나요?^^;;  
꼬야꼬야제로보드달꼬야 위젯 코드 복사해서 삽입하는거요  
쿨키드 트랙백 보내기가 안됩니다..  
김상호 우분투 9.10, 각 계정(~사용자 id)에 rewrite mod 적용하기 [1] 2010.02.27 by ㎯하루€oz
천년후에 로그인창에 비번 문제요  
skfmeldps $content 의 알수 없는 공간 [2] file 2010.02.27 by skfmeldps
낯선그리움 분류가 보이지 않아요  
zeromania XE설치 화면에서 빠져나오지 못하고 있습니다.  
이와 게시판에 댓글 다는 것에 대해서..  
취무성 게시물 본문에 ul태그 적용 못하나요? file  
온에프디 XE홈페이지 화면 레이아웃은 어떻게 구할수 있나요? [1] 2010.02.28 by 휘즈
권기식 해상도가 큰 사진 업로드시 게시판 모듈과 페이지 모듈이 표시되지 않습니다. [1] file 2010.02.28 by 휘즈
skyli135 시작 모듈 설정 문제  
장대환 글 작성시 태그 입력 삭제