logo

  • 로그인
  • 회원가입
  • 페이스북 트위터 블로그

  • HOME
    • 메인페이지
    • link
  • 교무업무자료
    • 교무업무자료
      • 교무업무유틸
      • 교무업무 PPT
    • 학습지도안
    • 브로슈어
    • 교육정보자료
    • 제작영상
  • 수능학습자료
    • 수능기출문제
    • 모의수능기출
    • 학력평가기출
    • 인터넷 강의
      • 인터넷 강의2
      • my_vod
      • 해설강의와이드
      • 해설강의
    • 자기소개서
    • 학교생활종합
    • 세특참고자료
    • 자율활동기록
  • 교육 과정 자료
    • 교육과정자료
      • 수학
      • 수학1
      • 수학2
      • 미적분
      • 단원별기출문제
      • 기하 와 벡터
    • 학력평가1학년
    • 학력평가2학년
    • 학력평가3학년
    • 영재교육
    • 수학교재
      • 플래시학습자료
  • 커뮤니티
    • 커뮤니티
    • 공지사항
    • 자료실
    • 멀티 포토
      • 갤러리
    • 홈페이지
      • 사용방법
    • 웹하드
  • 홈페이지 자료
    • 플래시 자료
    • 디자인 자료
    • PPT 자료
    • 학습하기(NEW)
    • 폰트소스
    • php java
      • 홈피update
    • sound 자료
  • goodnews
    • good news
    • 수화찬양
    • CCM찬양
    • 동영상
    • 동영상자료
      • 영어듣기
    • 교회자료실

브라우저를 닫더라도 로그인이 계속 유지될 수 있습니다. 로그인 유지 기능을 사용할 경우 다음 접속부터는 로그인할 필요가 없습니다. 단, PC방, 학교, 도서관 등 공공장소에서 이용 시 개인정보가 유출될 수 있으니 꼭 로그아웃을 해주세요.

  • 아이디/비밀번호찾기  신규회원가입
  • 인증메일재발송
  • 플래시 자료
  • 디자인 자료
  • PPT 자료
  • 학습하기(NEW)
  • 폰트소스
  • php java
    • 홈피update
  • sound 자료

홈페이지 수정내역

https://data.math4u.kr/fa_photo

1.  레이아웃 수정

 

처음  xe_official 레이아웃에다가  xgenesis_official 을 수정하여  상단메뉴, 하단메뉴, 전체 보기메뉴 추가 구성

 

2.  SyntaxHighlighter적용

 사용방법은  앞에 항목 참고....   스킨은 admin_syntax에 적용하였음, 다른 스킨을 사용하면 나타나지 않음.

사용할때,  아

게시판 작성시 html 로 인용문은 다음과 같이 입력한다.

<pre class="brush:php;">내용 </pre>

<pre class="brush:html;">내용 </pre>

둘 중에 하나를 사용함

brush:php 는 shBrushPhp.js 에 영향을 받으며

brush:html 은 shXml.js 에 영향을 받는다.

 

3. mp4 파일을 JW Media Player에 재생할 수 있도록 변경하기

 

xe/common/js/common.js  을 메모장으로 연후 

 

플래쉬/동영상 주변에 점선 생김 방지용 아래 400 라인쯤에....아래수정

 || /\.mp4$/i.test(src)추가

} else if(/\.flv$/i.test(src) || /\.mov$/i.test(src) || /\.moov$/i.test(src) || /\.m4v$/i.test(src)) { } else if(/\.flv$/i.test(src) || /\.mp4$/i.test(src) || /\.mov$/i.test(src) || /\.moov$/i.test(src) || /\.m4v$/i.test(src)) {
 

4. xe.min.css 수정

 

XE가 설치된 폴더아래에 common > css > xe.min.css 라는 파일이 있습니다.해당 파일을 에디터에서 불러오기 하신후, img{border:0;max-width:100%;height:auto} 라는 구문을 찾으세요. 앞쪽에 있어서 쉽게 찾으실수 있습니다. img{border:0;} 로 수정하시면 됩니다. 즉, max-width:100%;height:auto 구문을 삭제하는 것입니다. XE 가 업데이트 되면서, max-width:100%;height:auto 가 새로 추가되었기 때문에 문제가 생긴것입니다. max-width:100%;height:auto 구문은 삭제해도 크게 문제가 되지 않습니다.

 

5. rewrite mod

 

 

 

 

 

웹서버에서 http://주소/?document_srl=123 같이 복잡한 주소를 http://주소/123과 같이 간단하게 줄일 수 있다는 점에서 rewrite mod를 사용하게 됩니다.

제로보드 XE도 mod_rewrite를 지원하는데 설치시 사용할지를 체크하게 됩니다.

사용하는 것을 체크로 권장

이것을 사용하는데 장점은

- 보안상(get parameter의 쓸데 없는 노출을 방지)
- 검색엔진에 더 잘 검색이 됨.

이 2가지 입니다.

XE를 설치해서 mod_rewrite가 잘 안먹는 경우가 많습니다.

이 경우 몇가지를 체크해서 확인해야 합니다.

아파치 설치시 mod_write 모듈이 설치 되었는지?

이것은 phpinfo에서 확인가능합니다.


사용자 삽입 이미지


 

mod_rewrite 모듈 설치 확인



설치가 확인되었다면 httpd.conf를 열어 활성화되었는지 체크 해봐야 합니다.

<Directory>
Options FollowSymLinks
AllowOverride None
</Directory>

으로 설정되어 있다면 아래와 같이 설정을 변경해 주시면 됩니다.

<Directory>
Options FollowSymLinks
AllowOverride FileInfo
</Directory>

위의 사항을 변경하여 아파치를 재시작하면 XE에서 mod_write가 작동할 겁니다.

위와 같이 체크했는데도 작동을 안하면 제로보드가 설치된 /에 .htaccess를 확인하여

RewriteEngine On

설정이 되었는지도 확인해 봐야 합니다. 대부분 설정이 되어 있음.

 

 

lighttpd 에 rewrite mod 추가성공
url.rewrite = (
  "^/([a-zA-Z0-9_]+)/files/attach/images/(.*)" => "./files/attach/images/$2",
  "^/([a-zA-Z0-9_]+)/modules/(.*)" => "./modules/$2",
  "^/([a-zA-Z0-9_]+)/common/(.*)" => "./common/$2",
  "^/([a-zA-Z0-9_]+)/([[:digit:]]+)page$" => "./index.php?mid=$1&page=$2",
  "^/rss/([[:digit:]]+){0,14}/([[:digit:]]+){0,14}/([[:digit:]]+)$" => "./index.php?module=rss&act=rss&start_date=$1&end_date=$2&page=$3",
  "^/rss/([[:digit:]]+)$" => "./index.php?module=rss&act=rss&page=$1",
  "^/rss$" => "./index.php?module=rss&act=rss",
  "^/admin$" => "./index.php?module=admin",
  "^/([a-zA-Z0-9_]+)/api$" => "./index.php?mid=$1&act=api",
  "^/([[:digit:]]+)$" => "./index.php?document_srl=$1",
  "^/([[:digit:]]+)/([a-zA-Z0-9_]+)$" => "./index.php?document_srl=$1&act=$2",
  "^/([[:digit:]]+)/([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)$" => "./index.php?document_srl=$1&act=$3&key=$2",
  "^/([a-zA-Z0-9_]+)/([[:digit:]]+)$" => "./index.php?mid=$1&document_srl=$2",
  "^/([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)$" => "./index.php?mid=$1&act=$2",
  "^/([a-zA-Z0-9_]+)/page/([[:digit:]]+)$" => "./index.php?mid=$1&page=$2",
  "^/([a-zA-Z0-9_]+)/category/([[:digit:]]+)$" => "./index.php?mid=$1&category=$2",
  "^/([a-zA-Z0-9_]+)/category/([[:digit:]]+)/page/([[:digit:]]+)$" => "./index.php?mid=$1&category=$2&page=$3",
  "^/([a-zA-Z0-9_]+)/([[:digit:]]+)/([[:digit:]]+)$" => "./index.php?mid=$1&search_target=regdate&search_keyword=$2$3",
  "^/([a-zA-Z0-9_]+)/([[:digit:]]+)/([[:digit:]]+)/([[:digit:]]+)$" => "./index.php?mid=$1&search_target=regdate&search_keyword=$2$3$4",
  "^/([a-zA-Z0-9_]+)/tag/(.*)$" => "./index.php?mid=$1&search_target=tag&search_keyword=$2",
  "^/([a-zA-Z0-9_]+)/writer/(.*)$" => "./index.php?mid=$1&search_target=nick_name&search_keyword=$2",
  "^/([a-zA-Z0-9_]+)(/){0,1}$" => "./index.php?mid=$1"
)

xe 아래에 설치할 경우
url.rewrite = (
  "^/xe/([a-zA-Z0-9_]+)/files/attach/images/(.*)" => "./xe/files/attach/images/$2",
  "^/xe/([a-zA-Z0-9_]+)/modules/(.*)" => "./xe/modules/$2",
  "^/xe/([a-zA-Z0-9_]+)/common/(.*)" => "./xe/common/$2",
  "^/xe/([a-zA-Z0-9_]+)/([[:digit:]]+)page$" => "./xe/index.php?mid=$1&page=$2",
  "^/xe/rss/([[:digit:]]+){0,14}/([[:digit:]]+){0,14}/([[:digit:]]+)$" => "./xe/index.php?module=rss&act=rss&start_date=$1&end_date=$2&page=$3",
  "^/xe/rss/([[:digit:]]+)$" => "./xe/index.php?module=rss&act=rss&page=$1",
  "^/xe/rss$" => "./xe/index.php?module=rss&act=rss",
  "^/xe/admin$" => "./xe/index.php?module=admin",
  "^/xe/([a-zA-Z0-9_]+)/api$" => "./xe/index.php?mid=$1&act=api",
  "^/xe/([[:digit:]]+)$" => "./xe/index.php?document_srl=$1",
  "^/xe/([[:digit:]]+)/([a-zA-Z0-9_]+)$" => "./xe/index.php?document_srl=$1&act=$2",
  "^/xe/([[:digit:]]+)/([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)$" => "./xe/index.php?document_srl=$1&act=$3&key=$2",
  "^/xe/([a-zA-Z0-9_]+)/([[:digit:]]+)$" => "./xe/index.php?mid=$1&document_srl=$2",
  "^/xe/([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)$" => "./xe/index.php?mid=$1&act=$2",
  "^/xe/([a-zA-Z0-9_]+)/page/([[:digit:]]+)$" => "./xe/index.php?mid=$1&page=$2",
  "^/xe/([a-zA-Z0-9_]+)/category/([[:digit:]]+)$" => "./xe/index.php?mid=$1&category=$2",
  "^/xe/([a-zA-Z0-9_]+)/category/([[:digit:]]+)/page/([[:digit:]]+)$" => "./xe/index.php?mid=$1&category=$2&page=$3",
  "^/xe/([a-zA-Z0-9_]+)/([[:digit:]]+)/([[:digit:]]+)$" => "./xe/index.php?mid=$1&search_target=regdate&search_keyword=$2$3",
  "^/xe/([a-zA-Z0-9_]+)/([[:digit:]]+)/([[:digit:]]+)/([[:digit:]]+)$" => "./xe/index.php?mid=$1&search_target=regdate&search_keyword=$2$3$4",
  "^/xe/([a-zA-Z0-9_]+)/tag/(.*)$" => "./xe/index.php?mid=$1&search_target=tag&search_keyword=$2",
  "^/xe/([a-zA-Z0-9_]+)/writer/(.*)$" => "./xe/index.php?mid=$1&search_target=nick_name&search_keyword=$2",
  "^/xe/([a-zA-Z0-9_]+)(/){0,1}$" => "./xe/index.php?mid=$1"
)
logo
  • 학습도움방
  • 주간계획
  • 각종통계조사
  • api 연동
  • 업로드
COPYRIGHT © ALL RIGHTS RESERVED.
관련사이트