Pmwiki Comment Plugin for Diary Page
[ Plugin / Pmwiki Comment Plugin for Diary Page / Leave Comment ]
코멘트 박스 에드온 을 설치하고, Private 페이지에 글쓰기 폼을 다음처럼 삽입한다.
(:commentbox 페이지 이름:)
그럼 그 페이지로 코멘트를 보낼 수 있다.
그런데 항상 페이지 이름을 바꿀 수 없으므로 More CustomPage Variables 를 참고하여 Date 함수를 local/config.php 에 정의내린 후 다음처럼 사용하면 오케이~ (:commentbox DailyRecord.{$CurrentYear}-{$CurrentMonth0}:)
단, Diary 라고 이름지어진 페이지에서만 Diary가 기능하므로 local/config.php 에 다음처럼 삽입한다.
$thisgroup = FmtPageName('$Group', $pagename);
if ($thisgroup == '다이어리로 쓸 그룹 이름') {
SDV($MPDateFmt,"!!!\$Date\n");
SDV($MPTimeFmt,"!!!!!\$Time\n");
SDV($MPItemFmt,"");
SDV($MPItemEndFmt,'');
SDV($MPDateTimeFmt,
'');
}
SDV는 자기한테 맞게 작성하면 된다. 저건 내가 쓰는 대로 쓴 것.
Search
Recent Changes
Groups
Related pages
- Feed Filter
- Jump Page Link with page name Plugin
- Modifying Table of Contents Plugin for Webstandard
- Plugin
- Polyglot Plugin for WAI
- Simple Code Escape
- Star Rating Plugin for PNG-24 Alpha Transparency
- Subscribe to Comments
- Title Plugins for WAI and Convenience
- Xspf Player 비교와 임시 수정
- 구글 스프레드 시트를 위키에 가져오기
- 위키 액션에 권한주기
- 철저하게 웹표준을 지키는 방법
- 코멘트 Allow Tags
- 코멘트 타입 구분 나열
- 토글 플러그인