Q&A

타임라인 통합게시판 게시판, 분류 선택하여 글쓰기

2020.11.20 08:50
479
0
0
CMS/프레임워크 XE 1.x
개발 언어 PHP 5.x

https://xetown.com/tips/390922 의 글을 참고하여 글쓰기에서 게시판이 나오게 설정하였습니다.

 

<block cond="$timeline_info">
    <select name="module_srl">
        <option value="">게시판</option>
        <option loop="$timeline_info->attach_info => $val" value="{$val}" selected="selected"|cond="$val==$oDocument->get('module_srl')">{htmlspecialchars($modules_info[$val]->browser_title)}</option>
    </select>
</block>

 

<script cond="$timeline_info">
jQuery(function($){
jQuery('select[name="module_srl"]').change(function(){  
    var ms = jQuery('select[name="module_srl"] option:selected').val();
    if (ms == "원하는 모듈의 module_srl") {  
       ...
    }
}); 
});
</script>

 

 

여기서 어떻게 수정해야 해당 게시판의 카테고리까지 출력되게 할 수 있을까요?

댓글 0