묻고답하기



액티브박스 애드온 환경설정에서 두곳에 아이디를 적용해야합니다
그 파일은 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 남기남
kgan 도대체 알 수 없는 "Security Error" 해결방법 없을까요? [1] file 2011.04.06 by kgan
히타케카카시 explorer 9 에서  
머구리 쉬운설치 list.item에 관련된 문제는 아무도 해결해시지 못하는가요? ㅠㅠ;  
용이132 가끔 로그인이 안되는 문제. [1] 2011.04.06 by 카르마
머구리 게시판에 글을 작성해서 올리기를 하면 "error"메세지가  
정은미915 고수님들~ 다국어 홈페이지 제발요~ [1] 2011.04.06 by 제비 (_ _^)
nexonx xe에서 파일업로드시 error #2038 문제 를 이렇게 해결한다는데요... [1] 2011.04.06 by 카르마
mynation 모바일 페이지 에러 [1] 2011.04.06 by 카르마
예은이다 제로보드xe 가입할때 생일이 형식에 맞지않는다면서 가입이 안되는데요  
린독 배팅 모듈...에러  
철갑 SELECT태그를 여러개 사용하여 주소를 지정하는 폼을 만들고 싶습니다  
카이토리 게시판 글쓰기 하면 '내용을 입력하라며' 등록이 안됩니다.  
홍석철 글자가 너무 작게보여요  
2x 애드온 온/오프가 되지 않으며, 페이지 오류출력  
암호복호 홈페이지에서 책장 혹은 종이신문을 넘기는 듯한 효과를 내는 방법 [1] 2011.04.06 by 아아악내눈
가마우 모바일 접속시 주소창  
푸름빠 모바일에서 PC클릭하면 PC버전으로 반대로 가는경우는? [3] 2011.04.06 by 푸름빠
워나트 조회수, 추천수 처럼 다운로드수로 정렬을 하고 싶은데요. [1] 2011.04.06 by 카르마
pwdroom 원글 삭제 시 댓글포인트 삭감 안 되게 하는 법 [1] 2011.04.06 by 카르마
wordP 도움이 필요합니다.download가 안돼요. [1] 2011.04.06 by 백성찬