묻고답하기

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 남기남
이현근237 www로 접속시 언어변경 [2] 2010.02.27 by 슬픈동화
우울 xe 오류 문제를 선배분들께 여쭙니다. [1] file 2010.02.27 by 휘즈
jazzyoon 게시판 첨부파일 용량 늘이는 방법 좀 알고 싶습니다. [1] 2010.02.27 by 휘즈
geba 설문조사기능을 넣고 싶어요 [1] 2010.02.27 by SMaker
박정진닷컴 로그인이 되질 않아요  
Hosting.ort 해킹툴관련... [1] 2010.02.27 by 휘즈
oO나쁜토끼Oo zero님 지식인 모듈 이전은 어떻게 하나요? [1] 2010.02.27 by oO나쁜토끼Oo
노기욱 탭에 대응하는 mid 값 변수로 지정하는 방법 좀. file  
탑엣지 글열람시 포인트 차감 알림창이 뜨게하려면? file  
머구리 로그인창의 디자인을 바꿀려면 어떤 파일을 손대야 하나요?  
검은고양이- 리퍼러referer관련 질문입니다. [1] file 2010.02.27 by 검은고양이-
wushu 세션관리자 업데이트가 안됩니다 file  
보라^^ 게시판문제 [1] 2010.02.27 by 후즐구레
채경완576 최신 이미지 위젯이 작동은 안하는데 도와주세요 ㅠ  
수증기 mp3 파일 첨부, 본문삽입시 플레이어가 이상하게 뜹니다. file  
러뷰러뷰~ 제로보드 고수님들 답변부탁드려요..  
말라랑칼물렁컹이 회원 프로필 사진을 불러오고 싶은데요 [1] 2010.02.27 by xeworks
디하르트 apm + windows server2008에서 다운로드 속도가 너무 안나와요. [2] 2010.02.27 by 아련한추억
choi924 이모티콘 질문입니다. [1] 2010.02.27 by yohan666
당근28호 언어가 영어로만 나와요~ [1] 2010.02.27 by yohan666
꼬야꼬야제로보드달꼬야 가가채팅을 설치했는데 [1] 2010.02.27 by yohan666
_DeTecTiVe_ 데이터 베이스 비밀번호 변경후 접속 불가문제.. [1] 2010.02.27 by yohan666
꼬야꼬야제로보드달꼬야 위젯 사이즈 지정..  
미친 게시판모듈 ''스킨관리''설젱에 체크박스 추가  
임유진937 색바꾸는법좀요 ㅠㅠ file  
신난굴뚝 스킨 관련 질문요!!!  
이창호143 아이프레임을 사용해서 최신글을 끌어왔는데요 링크를 top으로 돌리는 방법있나요?  
가너외라 댓글 표시 문제 [1] file 2010.02.26 by chohee
바다잎새 phpmyadmin 잘못 건드리고 나니 관리창 접속이 안됩니다. 도와 주세요.  
복숭아캔 이미지 여러개를 올리는데 버튼으로 앞이미지, 뒷이미지를 볼수 있게끔..