묻고답하기



액티브박스 애드온 환경설정에서 두곳에 아이디를 적용해야합니다
그 파일은 view_document.htmlcomment.html 파일입니다. 제일 처음에 나오는
파일은 view_document.html 파일 내용이며 중간부분에 나오는 파일은 comment.html 파일 내용입니다.
각각의 설명대로 적용해야하는데 보고 또 봐도 이해할수가 없습니다.

[설명]
view_document.html 파일에서는 파일 내용중에서 아래 내용이 있는 부분의 DIV 객체의 ID를 적으면 됩니다.
마찬가지로 없다면 id="[아이디명]" 을 추가합니다.
아래 내용과 똑같지는 않더라도 {$oDocument->getContent()} 가 들어있는 DIV 객체의 ID를 적으면 됩니다.

예)<div id="DocumentContent" class="contentBody">
{$oDocument->getContent()}
</div>

............................................................................
아래 부터는 view_document.html 파일의 내용을 전체 붙여넣기한 것입니다.
위에 예)를 어디에 그대로 붙여넣고 적용 해야합니까.?

<!-- 글 내용 보여주기 -->
<!--@if(($document_srl || $rnd)&&count($document_list)==1)-->
{@ $block_class = "blog_not_fold"; }
{@ $display_style = "block"; }
<!--@else-->
{@ $block_class = "blog_auto_fold"; }
{@ $display_style = "none"; }
<!--@end-->

<!-- 글 내용 보여주기 -->
<div class="boardRead">
    <div class="originalContent">
        <div class="readHeader">
  <div class="dateLabel"><span class="dateDay">{$oDocument->getRegdate('d')}</span><br />
                      <span class="dateMonth">{$oDocument->getRegdate('Y.m')}</span>
            </div>
            <div class="titleAndUser">

                <div class="title">
                    <h4><a href="{$oDocument->getPermanentUrl()}">{$oDocument->getTitle()}</a></h4>
     <span class="uri">// Document: <a href="{$oDocument->getPermanentUrl()}">{$oDocument->getPermanentUrl()}</a></span>
     <span class="date">{$oDocument->getRegdate('Y.m.d')} {$oDocument->getRegdate('H:i:s')} ({$oDocument->getIpaddress()})</span>
    
     <!--@if($module_info->use_category == "Y" && $oDocument->get('category_srl'))-->
     <span class="category">Category: <a href="{getUrl('category',$oDocument->get('category_srl'), 'document_srl', '')}"><strong>{$category_list[$oDocument->get('category_srl')]->title}</strong></a></span><!--@end--><br />
    
     <!--@if($grant->write_comment && $oDocument->allowComment()) -->
     <span class="replyCount"><a href="#" onclick="toggle_object('blog_comment_{$oDocument->document_srl}'); return false;" title="{$lang->comment}">{$oDocument->getCommentcount()} Comments</a></span><!--@end-->
     <!--@if($oDocument->allowTrackback() && $oDocument->getTrackbackCount() )-->
     <span class="trackbackCount"><a href="#" onclick="toggle_object('blog_trackback_{$oDocument->document_srl}'); return false;" title="{$lang->trackback}">{$oDocument->getTrackbackCount()} Trackback</a></span><!--@end-->
    
     <span class="readedCount">{$oDocument->get('readed_count')} Views</span>
    
     <!--@if($oDocument->get('voted_count')!=0 || $oDocument->get('blamed_count')!=0)-->
     <span class="votedCount">{$oDocument->get('voted_count')} Voted / {$oDocument->get('blamed_count')} Devoted</span><!--@end-->
                </div>

                <!--@if($module_info->display_author!='N'+ '+ ')-->
                <div class="userInfo">
                    <!--@if(!$oDocument->getMemberSrl())-->
                        <div class="author">
                        <!--@if($oDocument->isExistsHomepage())-->
                            <a href="{$oDocument->getHomepageUrl()}" onclick="window.open(this.href);return false;">{$oDocument->getNickName()}</a>
                        <!--@else-->
                            {$oDocument->getNickName()}
                        <!--@end-->
                        </div>
                    <!--@else-->
                        <div class="author"><span class="member_{$oDocument->get('member_srl')}">{$oDocument->getNickName()}</span></div>
                    <!--@end-->
                </div>
                <!--@end-->
            </div><!--titleAndUser out -->
        </div>

        <div class="clear"></div>

        <!--@if($oDocument->isExtraVarsExists() && (!$oDocument->isSecret() || $oDocument->isGranted()) )-->
        <table cellspacing="0" summary="" class="extraVarsList">
        <col width="150" />
        <col />
        <!--@foreach($module_info->extra_vars as $key => $val)-->
            <!--@if($val->name)-->
        <tr>
            <th scope="row">{$val->name}</th>
            <td>
                <!-- 확장변수(extra_var)의 type에 따른 값을 출력하기 위해서 특별히 제작된 파일을 include 한다 -->
                <!--#include("./extra_var_value.html")-->
            </td>
        </tr>
            <!--@end-->
        <!--@end-->
        </table>
        <!--@end-->

        <div class="readBody">
            <div class="contentBody">

                <!--@if($oDocument->isSecret() && !$oDocument->isGranted())-->
                    <!--%import("filter/input_password.xml")-->
                    <div class="secretContent">
                        <form action="./" method="get" onsubmit="return procFilter(this, input_password)">
                        <input type="hidden" name="mid" value="{$mid}" />
                        <input type="hidden" name="page" value="{$page}" />
                        <input type="hidden" name="document_srl" value="{$oDocument->document_srl}" />

                            <div class="title">{$lang->msg_is_secret}</div>
                            <div class="content"><input type="password" name="password" id="cpw" class="inputTypeText" /><span class="button"><input type="submit" value="{$lang->cmd_input}" accesskey="s" /></span></div>

                        </form>
                    </div>
                <!--@else-->
                    {$oDocument->getContent()}
                <!--@end-->

                <div class="toggleBox">
    <strong><a href="#" onclick="toggle_object('blog_comment_{$oDocument->document_srl}'); return false;" title="{$lang->comment}">댓글보기({$oDocument->getCommentcount()}개)</a> | <a href="#" onclick="toggle_object('blog_trackback_{$oDocument->document_srl}'); return false;" title="{$lang->trackback}">엮인글보기</a></strong>
    </div>
   
    <div class="clear"></div>
   
    <!-- 서명 / 프로필 이미지 출력 -->
                <!--@if($oDocument->getProfileImage() || $oDocument->getSignature())-->
                    <div class="memberSignature">
                    <!--@if($oDocument->getProfileImage())-->
                        <div class="profile"><img src="{$oDocument->getProfileImage()}" alt="profile" /></div>
                    <!--@end-->
                    <!--@if($oDocument->getSignature())-->
                        <div class="signature">{$oDocument->getSignature()}</div>
                    <!--@end-->
                        <div class="clear"></div>
                    </div>
                <!--@end-->
            </div>
        </div>

        {@ $tag_list = $oDocument->get('tag_list') }
        <!--@if(count($tag_list))-->
        <div class="tag">
            <ul>
                <!--@for($i=0;$i<count($tag_list);$i++)-->
                    {@ $tag = $tag_list[$i]; }
                    <li><a href="{getUrl('search_target','tag','search_keyword',$tag,'document_srl','')}" rel="tag">{htmlspecialchars($tag)}</a><!--@if($i<count($tag_list)-1)-->,&nbsp;<!--@end--></li>
                <!--@end-->
            </ul>
        </div>
        <!--@end-->

        <!--@if($oDocument->hasUploadedFiles())-->
        <div class="fileAttached">
            {@ $uploaded_list = $oDocument->getUploadedFiles() }
            <ul>
                <!--@foreach($uploaded_list as $key => $file)-->
                <li><a href="{getUrl('')}{$file->download_url}">{$file->source_filename} ({FileHandler::filesize($file->file_size)})({number_format($file->download_count)})</a></li>
                <!--@end-->
            </ul>
            <div class="clear"></div>
        </div>
        <!--@end-->
    </div>

    <!-- 목록, 수정/삭제 버튼 -->
    <div class="contentButton">

        <!--@if($module_info->default_style != 'blog')-->
        <a href="{getUrl('document_srl','')}" class="button"><span>{$lang->cmd_list}</span></a>
        <!--@end-->
        <!--@if($oDocument->isEditable())-->
        <a href="{getUrl('act','dispBoardWrite','document_srl',$oDocument->document_srl,'comment_srl','')}" class="button"><span>{$lang->cmd_modify}</span></a>
        <a href="{getUrl('act','dispBoardDelete','document_srl',$oDocument->document_srl,'comment_srl','')}" class="button"><span>{$lang->cmd_delete}</span></a>
        <!--@end-->
    </div>

</div>

<!-- 엮인글 -->  
<div id="blog_trackback_{$oDocument->document_srl}" style="display:none">  
    <!--@if($oDocument->allowTrackback())-->  
        <!--#include("./trackback.html")-->  
    <!--@end-->  
</div>

<!-- 댓글 -->  
<div id="blog_comment_{$oDocument->document_srl}" style="display:none">  
<a name="comment"></a>  
<!--#include("./comment.html")-->   
</div>

<!-- 댓글 입력 폼 -->
<!--@if($grant->write_comment && $oDocument->isEnableComment() )-->
    <!--%import("filter/insert_comment.xml")-->
    <form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="boardEditor" >
    <input type="hidden" name="mid" value="{$mid}" />
    <input type="hidden" name="document_srl" value="{$oDocument->document_srl}" />
    <input type="hidden" name="comment_srl" value="" />
    <input type="hidden" name="content" value="" />
        <div class="boardWrite commentEditor">
  <div class="outterGlow">
   <div class="alertBox_reply">{$lang->comment}</div><!--alertBox out -->
            <div class="userNameAndPw">
                <!--@if(!$is_logged)-->
                <label for="userName">{$lang->writer}</label>
                <input type="text" name="nick_name" value="" class="userName inputTypeText" id="userName"/>

                <label for="userPw">{$lang->password}</label>
                <input type="password" name="password" value="" id="userPw" class="userPw inputTypeText" />

                <label for="emailAddress">{$lang->email_address}</label>
                <input type="text" name="email_address" value="" id="emailAddress" class="emailAddress inputTypeText"/>

                <label for="homePage">{$lang->homepage}</label>
                <input type="text" name="homepage" value="" id="homePage" class="homePage inputTypeText"/>
                <!--@else-->
                <input type="checkbox" name="notify_message" value="Y" id="notify_message" />
                <label for="notify_message">{$lang->notify}</label>
                <!--@end-->

                <input type="checkbox" name="is_secret" value="Y" id="is_secret" />
                <label for="is_secret">{$lang->secret}</label>

            </div>

            <div class="editor">{$oDocument->getCommentEditor()}</div>
        </div><!--outterGlow out -->
    </div><!--boardWrite out -->

        <div class="commentButton tRight">
            <span class="button"><input type="submit" value="{$lang->cmd_comment_registration}" accesskey="s" /></span>
        </div>
    </form>
<!--@end-->
..............................................

이번엔 두번째 파일 comment.html 파일입니다
..............................................................................................................
[설명]
comment.html 파일은 코멘트 목록을 출력하는 스킨파일인데, 이곳에서 제일 처음 나오는 DIV 객체의 ID를 적으면 됩니다.
없다면 id="[아이디명]" 을 추가합니다. 이게 무슨말인지 이해할수가 없습니다
아래 comment.html 내용중에 ID를 어디에 어떻게 적으라는건가요.? 그대로 사용할테니 답변좀 달아주세요

.................................................................

<!--@if($oDocument->getCommentCount())-->
<div class="replyBox">
    <div class="outterGlow">

    {@ $_comment_list = $oDocument->getComments() }
    <!--@foreach($_comment_list as $key => $comment)-->

        <div class="replyItem <!--@if($comment->get('depth'))-->reply<!--@end-->">
            <!--@if($comment->get('depth'))-->
            <div style="margin-left:{($comment->get('depth')-1)*20}px" class="replyIndent">
            <!--@end-->

            <a name="comment_{$comment->comment_srl}"></a>

            <div class="replyOption">
                <!--@if($comment->isGranted() || !$comment->get('member_srl'))-->
                    <a href="{getUrl('act','dispBoardDeleteComment','comment_srl',$comment->comment_srl)}"><img src="./images/{$module_info->colorset}/buttonDeleteX.gif" alt="{$lang->cmd_delete}" width="14" height="14" /></a>
                    <a href="{getUrl('act','dispBoardModifyComment','comment_srl',$comment->comment_srl)}"><img src="./images/{$module_info->colorset}/buttonModifyE.gif" alt="{$lang->cmd_modify}" width="14" height="14" /></a>
                <!--@end-->
                    <a href="{getUrl('act','dispBoardReplyComment','comment_srl',$comment->comment_srl)}"><img src="./images/{$module_info->colorset}/buttonReply.gif" alt="{$lang->cmd_reply}" width="14" height="14" /></a>
            </div>

            <!--@if($comment->get('voted_count')!=0 || $comment->get('blamed_count') != 0)-->
            <div class="voted">
                ({$lang->voted_count}:
                <strong>{$comment->get('+ 'voted_count')?$comment->get('voted_count'):0}</strong> / <strong>{$comment->get('blamed_count')?$comment->get('blamed_count'):0}</strong>)
            </div>
            <!--@end-->

            <div class="clear"></div>

            <div class="avatar">
       <!--@if($comment->getProfileImage())-->
                    <img src="{$comment->getProfileImage()}" alt="profile" class="commentProfileImage" />
                    <!--@else-->
     <img src="./images/glossary/noimage.jpeg" width="25" height="25" alt="profile" class="commentProfileImage" />
       <!--@end-->
   </div>
  
   <div class="replyContent">
                <!--@if(!$comment->isAccessible())-->
                    <!--%import("filter/input_password.xml")-->
                    <div class="secretContent">
                        <form action="./" method="get" onsubmit="return procFilter(this, input_password)">
                        <input type="hidden" name="mid" value="{$mid}" />
                        <input type="hidden" name="page" value="{$page}" />
                        <input type="hidden" name="document_srl" value="{$comment->get('document_srl')}" />
                        <input type="hidden" name="comment_srl" value="{$comment->get('comment_srl')}" />
                            <div class="title">{$lang->msg_is_secret}</div>
                            <div class="content"><input type="password" name="password" class="inputTypeText" /><span class="button"><input type="submit" value="{$lang->cmd_input}" accesskey="s" /></span></div>
                        </form>
                    </div>
                <!--@else-->
    
     <div class="author">
                        <!--@if(!$comment->member_srl)-->
                            <!--@if($comment->homepage)-->
                            <a href="{$comment->homepage}" onclick="window.open(this.href);return false;">{$comment->getNickName()}</a>
                            <!--@else-->
                            {$comment->getNickName()}
                            <!--@end-->
                        <!--@else-->
                        <div class="member_{$comment->member_srl}">{$comment->getNickName()}</div>
                        <!--@end-->
                    </div>
  
                    {$comment->getContent(true)}
                <!--@end-->
                <div class="clear"></div>
   
    <div class="date">
                    <strong>{$comment->getRegdate('Y.m.d')}</strong> {$comment->getRegdate('H:i:s')}
                    <!--@if($grant->is_admin)-->
                    ({$comment->get('ipaddress')})
                    <!--@end-->
                </div><!--date out -->
  
            </div>

            <!--@if($comment->hasUploadedFIles())-->
                <div class="fileAttached">
                    <ul>
                        {@ $_uploaded_files = $comment->getUploadedFiles() }
                        <!--@foreach($_uploaded_files as $key => $file)-->
                        <li><a href="{getUrl('')}{$file->download_url}">{$file->source_filename} ({FileHandler::filesize($file->file_size)})({number_format($file->download_count)})</a></li>
                        <!--@end-->
                    </ul>
                    <div class="clear"></div>
                </div>
            <!--@end-->

            <!--@if($comment->get('depth'))-->
            </div>
            <!--@end-->
        </div>
    <!--@end-->

    <!-- 댓글 페이지 네비게이션 -->
    <!--@if($oDocument->comment_page_navigation)-->
    <div class="pageNavigation">
        <a href="{getUrl('cpage',1)}#comment" class="goToFirst"><img src="./images/common/bottomGotoFirst.gif" alt="{$lang->first_page}" width="7" height="5" /></a>
        <!--@while($page_no = $oDocument->comment_page_navigation->getNextPage())-->
            <!--@if($cpage == $page_no)-->
                <span class="current">{$page_no}</span>
            <!--@else-->
                <a href="{getUrl('cpage',$page_no)}#comment">{$page_no}</a>
            <!--@end-->
        <!--@end-->
        <a href="{getUrl('cpage',$oDocument->comment_page_navigation->last_page)}#comment" class="goToLast"><img src="./images/common/bottomGotoLast.gif" alt="{$lang->last_page}" width="7" height="5" /></a>
    </div>
    <!--@end-->
    </div><!--outterGlow out -->
</div>
<!--@end-->
.........................................................

원문이있는 게시물 엑티브박스 애드온
http://www.zeroboard.com/17006894

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
sakurastorm 제로보드 포인트시스템에 관한 질문  
한다 제로보드 xe의 출력 함수들을 보려면 ??  
컴터광 왜 메인홈에서 위젯으로 최근문서출력으로 할때 제목입력란이없어요? [7] 2009.04.05 by 컴터광
안나프르나 이런질문 해도 되나요? [1] 2009.04.05 by thejeon
CBM 엮인글 기능이 작동하지 않습니다. [1]  
크로라 최근이미지 코드생성 [3] 2009.04.05 by phiz
mjpooh 제로보드4사용하는데 글제목이 나오질 않습니다. [1] 2009.04.05 by SMaker
\제로보드/ 로그인하면 이동하는 홈페이지에대해.. [2] 2009.04.05 by \제로보드/
얄라뽕따이 설치 후 폴더 이동관련  
us마스터 제로보드 xe 설치시문제 해결해주세요 ㅜㅜ [1] 2009.04.05 by 백성찬
얄라뽕따이 rewrite mod 사용이 되지 않습니다. 서버에선 지원하구요. [1] 2009.04.05 by nala2sky.myid.net
snowmas 게시판에 글을 올리려고 하면 분류...값을 넣으라고 합니다. [1] 2009.04.05 by 감로수
오호라 파일첨부가 안되는데요..어찌.. [1] 2009.04.05 by 강타운
miso777 액티브박스 ID 환경설정 질문드립니다. [5] file 2009.04.05 by miso777
첼로스 왜 자동로그인 기능이 먹히지 않을까요?  
박토치 첨부파일 (대기) 계정 용량 차지 질문. [3] 2009.04.05 by 박토치
송혜교남펀 PHP 에서 이메일 보내는 폼에 사람 50명 넘게하면 오류남  
구윤모733 [질문] 3단 메뉴 수동으로 추가가능한가요? file  
수로 외부페이지에서 온전한php구문 사용하기 팁 & 질문이요..  
yujin. 스타일 편집기에 선택할 수 있는 글자 크기 늘리기 [2] 2009.04.05 by yujin.
ilemonkr 홈페이지 연결 & XE를 홈페이지 메인으로 연결 [2] 2009.04.05 by ilemonkr
ilemonkr 홈페이지 주소 고정 [2] 2009.04.05 by ilemonkr
Jini 복구후 관리자 로그인이 안됨  
최환희760 정말 어렵네요 ㅋ 몇 가지 없애는 방법을 모르겠습니다! [3] 2009.04.04 by 궁금이2
이동선 홈페이지 메뉴 다시한번 질문드립니다. [3] 2009.04.04 by 궁금이2
chin9 최신버전 설치 중인데요. 한글로 안되고 영문만 선택되던에요?? 왜그런거죠? [6] 2009.04.04 by chin9
sungjaeq **팝업창 위젯 설치후 게시판 생성이 안됩니다.ㅜㅜ** [1] 2009.04.04 by thejeon
첼로스 홈페이지 자동로그인이 되지 않습니다  
이동선 홈페이지 메뉴 답변 부탁드립니다. [1] 2009.04.04 by 감로수
이종흥 업글후 이상태인데 어케야할지 ..도움부탁드려요 [2] file 2009.04.04 by 이종흥