위젯 프로그램 자료실
글수 113
| 라이센스 | GPL2 |
|---|---|
| 기타 라이센스 | |
| 적용 버전 | 베타버전(1.0이전) |
받은 압축파일을 풀어서 zbxe가 설치된 폴더에 덮어 씌웁니다.
그럼 /zbxe/widgets/counter_status/skins/moon-flash 방이 생성되고,
그안에 count.cgi, count.swf, count.txt, counter_status.html, skin.xml 5개의 파일이 존재합니다.
count.txt 파일을 에디터프로그램으로 열면
| 000000,000000,000000,2007-8-23
|
counter_status.html 파일을 에디터프로그램으로 열면
|
여기서 zbxe부분은 자신의 zbxe가 설치된 경로를 입력해야 됩니다.
(보통 zbxe가 아닐까 쉽네요, 그리고 제가 cgi를 몰라서 이렇게 작성했습니다. cgi를 아시는 분이 변형해 주셨으면 하네요)
여기서 중요...
귀찮지만 퍼미션변경을 해 주어야지 정상적으로 작동이 됩니다.
1. moon-flash폴더를 777로 변경 2. moon-flash폴더안에 count.cgi 파일을 755로 변경 3. moon-flash폴더안에 count.txt 파일을 777로 변경 |
다 변경하셨다면
홈페이지 레이아웃편집에 가서 기본카운터위젯을 눌러보면 moon-flash카운터가 생겨 있을 것입니다.

http://jcas.co.kr 에 구경오세요.
2007.08.24 00:11:58 (*.25.236.167)
<p align="center"> <embed src="{$tpl_path}count.swf?cgi={$tpl_path}count.cgi&" type="application/x-shockwave-flash" width="160" height="70" bgcolor="#ffffff"></embed></p>
이렇게 변경을 하니 플래쉬카운트가 작동을 하지를 않는데 css전부를 적어 주실 수는 없는지요.
이렇게 변경을 하니 플래쉬카운트가 작동을 하지를 않는데 css전부를 적어 주실 수는 없는지요.
2007.08.24 00:28:31 (*.50.19.209)
경로 치환 과정에서 뭔가 이상한데...
결과 소스를 보면
<embed src="/zbxe/widgets/counter_status/skins/moon-flash/count.swf?cgi=./widgets/counter_status/skins/moon-flash/count.cgi&" type="application/x-shockwave-flash" width="160" height="70" bgcolor="#ffffff"></embed>
같은 {$tpl_path}인데 두번째 경로는 /zbxe가 붙지 않는군요...
결과 소스를 보면
<embed src="/zbxe/widgets/counter_status/skins/moon-flash/count.swf?cgi=./widgets/counter_status/skins/moon-flash/count.cgi&" type="application/x-shockwave-flash" width="160" height="70" bgcolor="#ffffff"></embed>
같은 {$tpl_path}인데 두번째 경로는 /zbxe가 붙지 않는군요...





위젯 스킨 폴더의 위젯명.html 파일 소스 중
XE, 위젯 경로 호환을 위하여 아래 경로를
../zbxe/widgets/counter_status/skins/moon-flash/count.swf
다음과 같이 변경하는 것을 권장합니다.
{$tpl_path}count.swf
역시 같은 방법으로
../zbxe/widgets/counter_status/skins/moon-flash/count.cgi
다음과 같이 변경하는 것을 권장합니다.
{$tpl_path}count.cgi