묻고답하기

스케치북 스킨에 적용하려 하는데 잘모르겠네요

아래 부분을 수정하면 될것 같은데

제가 하려는 것은 비밀글 기능을 사용하면 

라디오버튼이 안보이게 하고 "비밀글로 작성 됨"이라고 표시하구요

무조건 비밀글이 작성 되게 하고 

사용하지 않으면 기존과 같이 라디오버튼을 표시하는거예여


skin.xml에 

        <var name="secret_document" type="select">
            <title xml:lang="ko">비밀글 작성</title>
            <description xml:lang="ko">모든 게시물이 비밀글로 작성됩니다.</description>
            <options value="N">
                <title xml:lang="ko">사용안함</title>
            </options>
            <options value="Y">
                <title xml:lang="ko">사용</title>
            </options>
        </var>

이렇게 추가 했구요


아래는 write_from.html에 비밀글 옵션 표시 원래 쏘스구요


<div cond="is_array($status_list)" class="section">
	<!--@foreach($status_list AS $key=>$value)-->
		<input cond="@!in_array(secret,$mi->wrt_opt)" type="radio" name="status" value="{$key}" id="{$key}" checked="checked"|cond="$oDocument->get('status')==$key || ($key=='PUBLIC' && !$document_srl)" />
		<input cond="@in_array(secret,$mi->wrt_opt)" type="radio" name="status" value="{$key}" id="{$key}" checked="checked"|cond="$oDocument->get('status')==$key || ($key=='SECRET' && !$document_srl)" />
		<label for="{$key}">{$value}</label>
	<!--@end-->
</div>


아래와 같이 수정 했습니다.

이상 없이 동작 하면 radio를 hidden으로 바꾸려고 합니다.


<div cond="is_array($status_list)" class="section">
	<!--@if($module_info->secret!="Y")-->
		<!--@foreach($status_list AS $key=>$value)-->
			<input cond="@!in_array(secret,$mi->wrt_opt)" type="radio" name="status" value="{$key}" id="{$key}" checked="checked"|cond="$oDocument->get('status')==$key || ($key=='PUBLIC' && !$document_srl)" />
			<input cond="@in_array(secret,$mi->wrt_opt)" type="radio" name="status" value="{$key}" id="{$key}" checked="checked"|cond="$oDocument->get('status')==$key || ($key=='SECRET' && !$document_srl)" />
			<label for="{$key}">{$value}</label>
		<!--@end-->
	<!--@else-->
		<input type="radio" name="status" value="PUBLIC" id="PUBLIC"/>
		<label for="PUBLIC">공개</label>
		<input type="radio" name="status" value="SECRET" id="SECRET" checked="checked"/>
		<label for="SECRET">비밀</label>
		이글은 비밀글로 작성됩니다.
	<!--@end-->
</div>

그런데 동작 시켜서 글을 써보니 작성글 제목이 게시판 리스트에 나오지 않네요..

어떻게 수정 해야 할까요?


글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
팝스애플 메뉴 위젯 속 게시물 추출.  
자야2 알림센터에서 해당 글을 잘 못찾아가네요. [7] 2015.04.24 by 자야2
또별 php5.4 와 php5.5 차이점 많은가요? [5] 2015.04.24 by 또별
노선채123 안녕하세요. FTP요청 관련 문의드립니다. [1] file 2015.04.24 by 키스투엑스이
킷캣 네이버아이디로그인 오류질문입니다.  
시와별1 게시판,갤러리의 파일업로드시 오류 file  
화랑529 이 에러 도와주세요.  
슈퍼맨0670c 모바일 뷰 홈페이지를 만들고 싶은데, 참고할만한 서적이나 사이트가 있나요?  
omgna 자동폭파형 게시판 구할수 있을까요?? [2] 2015.04.24 by omgna
SamD XE 1.8.1업뎃 이후 트래픽이 계속 발생됩니다. [12] 2015.04.24 by BJ람보
cydog '안전하지 않은 PHP 버전 경고' 이런 매시지 왜 나타나죠? [2] file 2015.04.24 by BJ람보
Novelic 마켓플레이스 모듈은 XE 개발진에서 유지보수 하는 건가요? [2] 2015.04.23 by Novelic
T3RR3T 스케치북5에서 섬네일질문 [2] 2015.04.23 by 마래바
멀라나더 xe공홈같은 푸터 구성 어려울까요? [4] 2015.04.23 by 멀라나더
nonserial xe 업데이트 후 이런 에러가 [1] 2015.04.23 by BJ람보
T3RR3T 배경음질문 [1] 2015.04.23 by refresh
엑스이짱짱 글쓰기만 가능하고 수정/삭제 금지 하려면? [2] 2015.04.23 by refresh
Felicity 방명록 게시판 .. [1] 2015.04.23 by refresh
네이츠 xe 외부에서 회원가입 질문 합니다.  
XE모듈 게시물에 시간까지 나오게 하는거 왜이런가요? [2] 2015.04.23 by XE모듈