사용자 도구

사이트 도구


dokuwiki

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
다음 판 양쪽 다음 판
dokuwiki [2010/11/25 22:07]
kwon37xi
dokuwiki [2017/06/22 20:28]
kwon37xi [Template Hook]
줄 35: 줄 35:
 ====== 예쁜 URL 만들기 ====== ====== 예쁜 URL 만들기 ======
   * http://www.dokuwiki.org/rewrite 참조   * http://www.dokuwiki.org/rewrite 참조
 +  * .htaccess에서 주석 풀어주고,
 +  * conf/local.php 파일에서
 +  * <code>
 +$conf['userewrite'] = 1;
 +$conf['useslash'] = 1;
 +</code>
  
 +====== Template Hook ======
 +  * 템플릿 코드 변경없이 특정 위치에 HTML을 삽입할 수 있게 해줌.
 +  * [[https://www.dokuwiki.org/template:dokuwiki#supported_include_hooks|;Dokuwiki Supported include hooks]]
  
 +the template directory (''lib/tpl/dokuwiki/'') or your ''conf/'' directory.
 +
 +^ Filename               ^ Position of included HTML                                                ^
 +| ''meta.html''          | Inside the HTML <head>, use this to add additional styles or metaheaders |
 +| ''sidebarheader.html'' | At the top of the sidebar (if any) |
 +| ''sidebarfooter.html'' | At the bottom of the sidebar (if any) |
 +| ''pageheader.html''    | At the top inside the content box, above the actual content |
 +| ''pagefooter.html''    | At the bottom inside the content box, below the actual content |
 +| ''header.html''        | At the top of the page, above the logo and wiki title |
 +| ''footer.html''        | At the very end of the page after all other page content |
 +====== Plugins ======
 +  * 플러그인은 ''dokuwiki/lib/plugins/'' 에 플러그인 이름을 가진 디렉토리로 저장된다.
 +  * 플러그인 관리자에서 직접 다운로드해 설치할 수도 있고, 파일을 받아서 해당 디렉토리에 압축을 풀어도 된다.
 +
 +===== 현재 적용된 플러그인 =====
 +  * [[https://www.dokuwiki.org/plugin:changes|changes]]
 +  * [[https://www.dokuwiki.org/plugin:command|command]]
 +    * 사용자 정의 명령 추가.
 +    * ''dokuwiki/plugins/command/ext''에 추가할 명령 PHP 파일을 넣는다.
 +    * [[https://www.dokuwiki.org/plugin:gist|gist]]
  
  
dokuwiki.txt · 마지막으로 수정됨: 2021/12/04 15:17 저자 kwon37xi