메인을 특정 페이지로 강제 이동 시키기 head 쪽 적당한 곳에 if (defined("_INDEX_")) { header("Location: "이동할 페이지 주소"); return; } [ Web 관련 ]/그누보드 관련 2023. 2. 9. 14:56
메인에서 사용하는 latest 스킨에서 그누보드 기본 여분필드 출력하기 /lib/latest.lib.php $config 추가 function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40, $cache_time=1, $options='') { global $g5, $config; . . . } 사용 [ Web 관련 ]/그누보드 관련 2022. 11. 30. 16:33
그누보드 커스텀 페이지 적용 관련 ~/skin/content/basic/content.skin.php $con_file = $_SERVER["DOCUMENT_ROOT"].'/pages/'.$co['co_id'].'/index.php'; if(is_file($con_file)) { include_once($con_file); }else{ echo '등록된 내용이 없습니다'; } [ Web 관련 ]/그누보드 관련 2022. 10. 25. 14:59
그누보드 내용 입력 안하고 저장하기 아래 두 곳 주석 처리 bbs/write.php //주석 처리 $editor_js .= chk_editor_js('wr_content', $is_dhtml_editor); bbs/write_update.php //주석 처리 $msg[] = '내용을 입력하세요.'; [ Web 관련 ]/그누보드 관련 2022. 9. 5. 13:48
그누보드 PC에서 모바일 확인 팁 개발자 모드에서 앱을 선택해도 모바일로 전환이 안되는 경우 https://주소/?device=mobile [ Web 관련 ]/그누보드 관련 2021. 9. 24. 17:05
(모바일) 내용 페이지에 테이블(table) 가로 사이즈 조절 방법1 skin의 style.css .view-mobile table { width: 100% !important; max-width: 100%; } 방법2 skin의 style.css .view-mobile .scroll{overflow-x:scroll; white-space:nowrap; } /js 에 파일 추가 [ Web 관련 ]/그누보드 관련 2019. 8. 19. 00:09
(모바일) 내용 페이지에 이미지, 유튜브 가로 사이즈 조절 skin의 style.css .view-mobile img, .view-mobile video { display: inline-block; width: auto\9 !important; /* ie8 */ width: auto !important; max-width: 100%; height: auto !important; } .view-mobile .video-container { position: relative; height: 0; padding-top: 30px; padding-bottom: 56.25%; overflow: hidden; } .view-mobile .video-container iframe,.video-container object,.video-container embed { posi.. [ Web 관련 ]/그누보드 관련 2019. 8. 18. 23:47
게시글 도메인 주소 한번에 바꾸기 (쿼리) update g5_write_게시판 set wr_content = replace(wr_content, 'http://old.com', 'http://new.com'); [ Web 관련 ]/그누보드 관련 2019. 7. 26. 15:36
그누보드 메시지 호출 후 페이지 이동(기본 함수) alert("메시지", $g5['path']."이동할 페이지"); [ Web 관련 ]/그누보드 관련 2018. 10. 31. 00:55