묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
자동 비밀글 체크 질문요....
2013.02.01 09:43
<!--@if(is_array($status_list))-->
<!--@foreach($status_list AS $key=>$value)-->
<input type="radio" name="status" value="{$key}" id="{$key}" <!--@if($oDocument->get('status') == $key || ($key == 'PUBLIC' && !$document_srl))-->checked="checked"<!--@end--> />
<label for="{$key}">{$value}</label>
<!--@end-->
!--@end--오피셜 V2 보드이고 게시판 설정에서 비밀글 체크를 했습니다.
글쓸떼 공개, 비밀 이렇게 나오는데 기본으로 공개로 체크되어있거든요
이걸 비밀로 항상체크되게 할려면 어떻게 해야되는지요??
write_form.html 파일중 그 부분만 가져왔습니다.
<!--@if($oDocument->get('status') == $key || ($key == 'PUBLIC' && !$document_srl))-->checked="checked"<!--@end-->를 아래걸로 바꾸시면 됩니다
<!--@if($oDocument->get('status') == $key || ($key == 'SECRET' && !$document_srl))-->checked="checked"<!--@end-->