PlannerXE123 Q&A 게시판
叫 (부르짖을 규) · 糾 (살필 규) · 規 (법 규)
徹頭徹尾 철두철미
처음부터 끝까지 투철함. 처음부터 끝까지 철저하게.

수정버튼을 누르지 않고 글 보기에서 시작날자,시작시간,종료시간 바로 수정할 수 있을까요??

 

view.document.html 에서 아래와 같이 수정했는데 잘 안되네요. 도움 부탁드려요~

 


<!--//본문내 일정시작 선택-->
<block cond="$logged_info->member_srl==$oDocument->get('member_srl')||$grant->manager">
 <div>
 <block cond="$ext_v2">
 {@
 $oDB = &DB::getInstance();
 $sql = $oDB->_query('SELECT COUNT(*) as count FROM xe_document_extra_vars WHERE document_srl='.$document_srl.' and module_srl ='.$module_info->module_srl.' and eid="ext_plan_start"');
 $rec_count = $oDB->_fetch($sql);
 }
 <!--@if($rec_count->count==0)-->
 {@ 
 $query = $oDB->_query('INSERT INTO xe_document_extra_vars (module_srl, document_srl,var_idx,lang_code,value,eid) VALUES ('.$module_info->module_srl.','.$document_srl.',2,"ko","'.$ext_v2.'","ext_plan_start")');
 }
 <!--@else-->
 {@ $query = $oDB->_query('update xe_document_extra_vars set value = "'.$ext_v2.'" where document_srl = '.$document_srl.' and module_srl = '.$module_info->module_srl.' and eid = "ext_plan_start"');
 }
 <!--@end-->

 <!--@if($rec_count->count==0)-->
 {@ 
 $query = $oDB->_query('INSERT INTO xe_document_extra_vars (module_srl, document_srl,var_idx,lang_code,value,eid) VALUES ('.$module_info->module_srl.','.$document_srl.',2,"ko","'.$ext_v2.'","ext_plan_start")');
 }
 <!--@else-->
 {@ $query = $oDB->_query('update xe_document_extra_vars set value = "'.$ext_v2.'" where document_srl = '.$document_srl.' and module_srl = '.$module_info->module_srl.' and eid = "ext_plan_start"');
 }
 <!--@end-->

 <script>location.href="{str_replace('amp;', '', getUrl('ext_v2', ''))}"</script>
 </block>
 <script language="JavaScript" src="js/date_picker.js"></script>
 

  <!--//본문내 시작,종료시간 선택-->
  <!--//<block cond="$logged_info->member_srl==$oDocument->get('member_srl')||$grant->manager">-->
   <block cond="$ext_v3">
   {@
 $oDB = &DB::getInstance();
 $query = $oDB->_query('update xe_document_extra_vars set value = "'.$ext_v3.'" where document_srl = '.$document_srl.' and module_srl = '.$module_info->module_srl.' and eid = "ext_plan_time"');
 }
   <script>location.href="{str_replace('amp;', '', getUrl('ext_v3', ''))}"</script>
   </block>
   </block>

번호 제목 글쓴이 날짜 조회 수 최종 글
공지 PlannerXE123 Ver 5.12.0 배포 안내 (2024/02/12) 늘푸른나무2 2024.02.13 58  
94 비 로그인 일때 댓글창 나타나게 할려면 어떻게 해여 할까요 [3] 와사비 2022.05.04 73 2022.05.05 by 늘푸른나무2
93 댓글 알림 체크 자동 설정 하고 싶습니다. [3] 와사비 2022.04.26 65 2022.04.28 by 늘푸른나무2
92 라이믹스 이전시 달력 데이터만 옮기는법 문의 [3] 플래너 2022.04.22 85 2022.04.22 by 늘푸른나무2
91 일정시작 날짜와 등록되는 날짜가 맞지 않는 경우 [7] 와사비 2022.04.17 100 2022.04.28 by 늘푸른나무2
90 달이 넘어가는 일정 붙여서 표기 문의 [1] file Greg 2022.04.12 58 2022.04.12 by 늘푸른나무2
89 글 상태 표기될까요? [3] 밥탱 2022.04.07 76 2022.04.12 by 늘푸른나무2
88 이전달 다음달 날짜 일부표시 가능여부 문의 [7] file 플래너 2022.04.01 67 2022.04.13 by 늘푸른나무2
87 이전날짜에 일정쓸때 리스트에 안나오는문제 [1] 플래너 2022.03.29 61 2022.03.29 by 늘푸른나무2
86 월간일정 기능 문의입니다 [11] file 플래너 2022.03.15 84 2022.03.31 by 늘푸른나무2
85 상태변경 버튼 항목 추가 가능한가요 [6] file 플래너 2022.03.14 73 2022.03.15 by 늘푸른나무2
84 라이믹스 최신버전 php8.1에서 정상작동 확인 [1] 플래너 2022.03.14 62 2022.03.14 by 늘푸른나무2
83 파일첨부이미지를 가져와 표시하려고 하는데 뭐가 문제일까요? [5] 가을풍경 2022.03.10 68 2022.04.03 by 늘푸른나무2
82 문의입니다. [3] 이미래 2022.03.09 76 2022.03.11 by 늘푸른나무2
81 빨간날 (휴일) 등록시 노출 설정? [3] file jaylee_kr 2022.02.22 58 2022.02.23 by 늘푸른나무2
80 plannerxe123 달력 일정 게시판 글 등록시 글이 안보이네요.. [5] file jaylee_kr 2022.02.16 74 2022.02.21 by 늘푸른나무2
79 일정 볼때 지난 시간에 대한 글은 글자 흐리게 또는 배경색을 줄수 있을까요? [4] 밥탱 2022.01.26 94 2023.06.09 by 밥탱
78 수정 문의드립니다. [3] file 2021.12.28 76 2021.12.29 by 늘푸른나무2
» 글 보기에서 일자,시간 바로 수정할 수 있을까요?? [7] 밥탱 2021.12.22 84 2021.12.23 by 늘푸른나무2
76 안녕하세요 늘푸른나무님 [3] 레망 2021.12.19 75 2021.12.22 by 늘푸른나무2
75 글 보기 권한을 특정회원에게 부여할 수 있을까요? [5] 밥탱 2021.11.11 76 2021.11.28 by 늘푸른나무2
XE Login