묻고답하기

최근게시물을 만드는데요...
위젯부분에서

최근 문서 출력
(newest_document)
0.1 제로 2007-02-28 ./widgets/newest_document/ 코드생성
최근 문서 (document)를 출력하는 위젯입니다.

1. 코드생성을 눌러서 작성을 하는데
     다른 것은 다 이해를 하겠는데요

"지정된 시간동안 캐시된 데이터를 이용할 수 있습니다."
이것은 무슨말인지, 값을 얼마나 입력해야 하는지 모르겠습니다..


목록수:4
표시시간:48
제목글자수:26
대상모듈:공지사항을 체크함


이렇게 하고 코드생성을 눌렀습니다..

<img class="zbxe_widget_output" widget="newest_document" title="공지사항최근게시물" order_target="list_order" order_type="desc" list_count="4" duration_new="48" subject_cut_size="26" mid_list="notice" />


이렇게 나오는데요..

2. 설명에는 이것을 복사해서
   레이아웃에서 생성한다음 레이아웃 편집을 눌러 붙여넣기를 하라고 하는데 정확히 어디에다 붙여넣기를 하는지요.

   레이아웃편집을 누르면 아래 소스가 다음과 같이 나옴니다..
   그냥 아무곳에나 붙여넣기를 해도 되는지요


3. 저는 전에 제로보드처럼 게시판을 사용하는데요
   전에는 최근게시물 추출할때 메인에

<?
   $_zb_url = "http://www.herb-q.com/bbs/";
   $_zb_path = "/home/herbq/public_html/bbs/";
   include $_zb_path."outlogin.php";
?>
이렇게 입력하고 소스를 따로 또 입력했는데 xe버젼은 이런것이 따로 없는지요

그리고 최근 게시물 나오는 곳에는 어떻게 해야 하는지도 알려주시면 감사드리겠습니다..


<!--// 레이아웃과 연동될 css 파일 import -->
<!-- 컬러셋 체크 -->
    <!--@if(!$layout_info->colorset)-->
        {@$layout_info->colorset = "blue"}
    <!--@end-->

<!--// CSS 파일 로드 (컬러셋에 따라서) -->
    <!--%import("css/layout.css")-->
    <!--@if($layout_info->colorset == "gray")--> <!--%import("css/layout_gray.css")-->
    <!--@elseif($layout_info->colorset == "orange")--> <!--%import("css/layout_orange.css")-->
    <!--@elseif($layout_info->colorset == "violet")--> <!--%import("css/layout_violet.css")-->
    <!--@elseif($layout_info->colorset == "green")--> <!--%import("css/layout_green.css")-->
    <!--@else--> <!--%import("css/layout_blue.css")-->
    <!--@end-->

<!--@if($layout_info->background_image)-->
<style type="text/css">
    body { background-repeat:repeat-x; background-image:url({getUrl()}{$layout_info->background_image}); }
</style>
<!--@end-->

<div id="blog">

    <div class="blogNavigation">
        <ul class="blogGlobal">
            <!--@if(!$is_logged)-->
            <li><a href="{getUrl('mid',$layout_info->target_mid,'act','dispMemberSignUpForm')}">{$lang->cmd_signup}</a></li>
            <li><a href="{getUrl('act','dispMemberLoginForm')}">{$lang->cmd_login}</a></li>
            <!--@else-->
                <!--@if($grant->is_admin)-->
                <li><a href="{getUrl('mid', $layout_info->target_mid, 'act','dispBoardWrite','document_srl','')}">{$lang->cmd_write}</a></li>
                <!--@end-->

                <!--// 최고관리자이면 관리자 페이지 버튼 출력 -->
                <!--@if($logged_info->is_admin == 'Y')-->
                <li><a href="{getUrl('+ '+ '','module','admin')}" onclick="window.open(this.href); return false;">{$lang->cmd_management}</a></li>
                <!--@end-->
                <!--@if($grant->is_admin)-->
                <li><a href="{getUrl('act','dispBoardAdminBoardInfo')}">{$lang->cmd_setup}</a></li>
                <li><a href="{getUrl('','mid',$layout_info->target_mid,'act','dispLayoutAdminModify','layout_srl',$layout_info->layout_srl)}">{$lang->cmd_layout_setup}</a></li>
                <li><a href="{getUrl('','mid',$layout_info->target_mid,'+ 'act','dispLayoutAdminEdit','layout_srl',$layout_info->layout_srl)}">{$lang->cmd_layout_edit}</a></li>
                <!--@end-->
                <li><a href="{geturl('act','dispMemberInfo')}">{$lang->cmd_view_member_info}</a></li>
                <li><a href="{getUrl('act','dispMemberLogout')}">{$lang->cmd_logout}</a></li>
            <!--@endif-->

                <li class="skin_info"><a href="{getUrl('','module','layout','+ 'act','dispLayoutInfo','selected_layout','xe_blog')}" onclick="popopen(this.href,'layoutSkinInfo'); return false;"><img src="./images/buttonHelp.gif" alt="Skin Info" width="13" height="13"/></a></li>

            <!--@if($mid == $layout_info->target_mid)-->
                <li><a href="{getUrl('act','dispBoardTagList')}"><img src="./images/iconAllTags.gif" alt="Tag list" width="13" height="13"/></a></li>
                <!--@if($rss_url)-->
                    <li><a href="{$rss_url}"><img src="./images/{$layout_info->colorset}/btn_rss.gif" alt="rss" width="36" height="12" /></a></li>
                <!--@end-->
            <!--@endif-->
        </ul>
        <div class="clear"></div>
        <ul class="blogMenu">
            <!--@foreach($top_menu->list as $key => $val)--><!--@if($val['link'])-->
            <li><a href="{$val['href']}"<!--@if($val['selected'])--> class="on"<!--@endif--><!--@if($val['open_window']=='Y')--> onclick="window.open(this.href);return false;"<!--@endif-->>{$val['link']}</a></li>
            <!--@endif--><!--@endforeach-->
        </ul>
    </div>

    <!-- 내용 -->
    <div class="contentBox">
        <div class="topBg"></div>
        <div class="centerBg">
            <div class="contentArea">
                {$content}
                <div class="clear"></div>
            </div>
        </div>
        <div class="bottomBg"></div>
    </div>

    <!-- 위젯들 -->
    <div class="blogWidgetAreaBox">

        <!-- 프로필 -->
        <div class="blogProfile">
            <!--@if($layout_info->profile_image)-->
            <img src="{$layout_info->profile_image}" border="0" alt="my profile image" class="iePngFix" width="170" />
            <!--@else-->
            <img src="./images/{$layout_info->colorset}/@blog_image.gif" alt="profile" class="iePngFix" width="170" />
            <!--@end-->
            <!--@if($layout_info->profile)-->
                <h1>{$layout_info->profile}</h1>
            <!--@end-->

            <!-- 검색 폼 출력 -->
            <div class="blogSearch">
                <form action="{Context::getRequestUri()}" method="post">
                    <fieldset>
                        <legend>{$lang->cmd_search}</legend>

                        <input type="hidden" name="mid" value="{$layout_info->target_mid}" />
                        <input type="hidden" name="search_target" value="title_content" />
                        <input name="search_keyword" type="text" class="inputTypeText w110" value="<!--@if($search_keyword)-->{htmlspecialchars($search_keyword)}<!--@end-->" />
                        <a href="#"><img src="./images/{$layout_info->colorset}/btn_search.gif" alt="{$lang->cmd_search}" width="45" height="20" /></a>
                    </fieldset>
                </form>
            </div>
        </div>

        <!-- 카테고리 -->
        <div class="blogTitleBox">
            <h2>category</h2>
        </div>
        <div class="widgetBox ">
            <img class="zbxe_widget_output" widget="category" body="" skin="default" colorset="normal" mid_list="{$layout_info->target_mid}" />
        </div>

        <!-- 달력 출력 -->
        <div class="widgetBox ">
            <img src="./images/common/blank.gif" class="zbxe_widget_output" widget="calendar" skin="blog_calendar_list" colorset="layout" mid_list="{$layout_info->target_mid}" />
        </div>

        <!-- 최근 글 출력 -->
        <div class="widgetBox">
            <img src="./images/common/blank.gif" class="zbxe_widget_output" widget="newest_document" skin="blog_newest_document" colorset="layout" title="recent posts" order_target="list_order" order_type="desc" subject_cut_size="26" list_count="5" mid_list="{$layout_info->target_mid}" />
        </div>

        <!-- 최근댓글 출력 -->
        <div class="widgetBox">
            <img src="./images/common/blank.gif" class="zbxe_widget_output" widget="newest_comment" skin="blog_newest_comment" colorset="layout" title="recent comments" subject_cut_size="26" list_count="5" mid_list="{$layout_info->target_mid}" />
        </div>

        <!-- 엮인글 출력 -->
        <div class="widgetBox">
            <img src="./images/common/blank.gif" class="zbxe_widget_output" widget="newest_trackback" skin="blog_newest_trackback" colorset="layout" title="recent trackbacks" subject_cut_size="26" list_count="5" mid_list="{$layout_info->target_mid}" />
        </div>

    </div>
</div>

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

<div class="zbXE"><a href="http://www.zeroboard.com/" onclick="window.open(this.href); return false;"><img src="./images/powerdByZeroboard.gif" alt="powered by zbXE" /></a></div>

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
궁금이 홈피에 사진 올리는 방법 [1] 2008.11.07 by 느까끼
마이무라 갤러리 게시판 제목색깔문제 [2] file 2008.11.07 by 마이무라
withover.com 스프링노트 연동 문제, 고수님들의 도움이 절실합니다.  
이재한744 가입폼에 추가로 입력을 받는 부분에 라디오버튼을 넣고 싶습니다. [1] file 2008.11.07 by ◀CGlink▶
차차의늑대 apm 버전 5와 같이 설치할경우 [1] 2008.11.07 by 네비™
이은호198 홈피 주소 변경했는데 메뉴에서 갱신이 안됩니다. [3] 2008.11.07 by 네비™
미눙 파폭에서 div가 밀려보이는 원인 해결해주실분.. [1] 2008.11.07 by e~세상쉼터
박은진 이미지메뉴 [1] file 2008.11.07 by 비나무
종필샘 업로드 버튼 관련... [2] 2008.11.07 by 종필샘
앤서니 제로보드 2. 대 게시판의 sql 파일 복원하려면.. [1] 2020.03.14 by BNU
김호균281 맞는 답을 해주실 때까지 - 최근게시물에 대한 질문입니다. [3] 2008.11.07 by 느까끼
묻어가는인생 게시판에 대해 질문.. [2] file 2008.11.07 by 비나무
NKing™ 게시판의 생성을 관리권한이 없어도 할 수 있게 하는 방법은 없을까요?? [1] 2008.11.07 by 비나무
표도기 엮인글로 글쓰기 [1] 2008.11.07 by 비나무
윤하♡ 음..이부분은 대체 뭐하는 부분이죠? [1] file 2020.03.14 by BNU
쿵푸팬더 백성찬님 감사드리며 질문입니다. [3] 2008.11.07 by 백성찬
Nzeus 사진 간격 띄우는 방법 알려주세요. [9] file 2008.11.07 by 마호로
실크마리 파일 첨부가 안되요 TOO!! [1] 2008.11.07 by 비나무
apollos 현재 위치 위젯이 안되네요 이거 아시는 분 ? [2] 2020.03.14 by BNU
daniel28 외부 이미지는 썸네일이 생성되지 않습니다. [7] 2008.11.07 by Vantom
maumplus zbxe 메뉴 관련.... [1] 2008.11.07 by 백성찬
서성진856 카페 & 블로그 [1] 2008.11.07 by 느까끼
김호균281 최근게시물을 제로보드4처럼은 할 수 없나요? [2] 2008.11.07 by 김호균281
묻어가는인생 css, 로그인폼에 대해 질문을 드려요 [5] 2008.11.07 by 느까끼
김호균281 최근게시물 작성시 문제점.. [1] 2008.11.07 by 느까끼
아침☆ 처음 제로보드 설치시 자꾸 오류가.. [3] 2008.11.07 by 연아
공기정화 게시판같은 블로그 스킨은 없을까요..? [1] 2008.11.07 by 느까끼
아름다운세상| 파일첨부에 관한 문제입니다. [2] 2008.11.07 by 백성찬
제니스〃장우승 게시판 컬러셋이 적용이 안되요 ㅠ [1] file 2008.11.07 by 느까끼
oh702 ftp파일 전송중..sessions만 전송안되는증상. [2] 2008.11.07 by 네비™