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 200  
80 plannerxe123 달력 일정 게시판 글 등록시 글이 안보이네요.. [5] file jaylee_kr 2022.02.16 101 2022.02.21 by 늘푸른나무2
79 일정 볼때 지난 시간에 대한 글은 글자 흐리게 또는 배경색을 줄수 있을까요? [4] 밥탱 2022.01.26 135 2023.06.09 by 밥탱
78 수정 문의드립니다. [3] file 2021.12.28 104 2021.12.29 by 늘푸른나무2
» 글 보기에서 일자,시간 바로 수정할 수 있을까요?? [7] 밥탱 2021.12.22 276 2021.12.23 by 늘푸른나무2
76 안녕하세요 늘푸른나무님 [3] 레망 2021.12.19 108 2021.12.22 by 늘푸른나무2
75 글 보기 권한을 특정회원에게 부여할 수 있을까요? [5] 밥탱 2021.11.11 896 2021.11.28 by 늘푸른나무2
74 매주 월요일 기념일을 지정할 수 있을까요? [9] 밥탱 2021.11.08 435 2021.11.30 by 늘푸른나무2
73 일정 표시 부분에 글쓴이(닉네임) 반영 방법 [3] file 가루가루 2021.11.02 277 2021.11.03 by 늘푸른나무2
72 위젯 링크를 글보기 링크로 수정하려면 어떻게 하면 되나요? [2] 인수 2021.10.28 311 2021.10.28 by 늘푸른나무2
71 견본에 위젯도 같이 추가해주실 수 있으신가요? [1] 이온디 2021.10.27 106 2021.10.27 by 늘푸른나무2
70 플래너 밑에 일정목록 표시-출력 선택 시 오류 문의 [3] 가루가루 2021.10.27 115 2021.10.28 by 늘푸른나무2
69 글 삭제할때, 글 등록할 때, 글 수정할 때 확인 팝업창 문의 [3] 밥탱 2021.10.13 121 2021.10.13 by 늘푸른나무2
68 주단위 플래너로 볼때 문의, 글수정 유저 정보 추가 문의 [3] 밥탱 2021.10.13 551 2021.10.13 by 늘푸른나무2
67 예약 클릭시 잘못된 요청 [9] file kc 2021.09.23 144 2021.09.29 by 늘푸른나무2
66 "글쓰기 재사용" 기능 추가 문의 [3] 밥탱 2021.09.13 136 2021.09.15 by 늘푸른나무2
65 위젯을 2개로 사용할 수 있을까요? [9] 밥탱 2021.09.07 140 2023.05.05 by 늘푸른나무2
64 spambot 최신버전은 어찌받나요? [1] 돈뿌 2021.08.12 286 2021.08.12 by 늘푸른나무2
63 일정내용이 출력되지 않습니다. [4] file soyiya 2021.08.03 442 2021.08.05 by 늘푸른나무2
62 문의드립니다. [3] file 춘천산소아빠 2021.07.18 363 2021.07.19 by 늘푸른나무2
61 PlannerXE123 Ver 5.10.1 배포 안내 (2021/07/17) [2] 늘푸른나무2 2021.07.17 564 2023.05.05 by 늘푸른나무2
XE Login