안녕하세욧^^
안개같은 남자 김안개입니다.
다름이 아니고...
이번에 스킨을 제작중인데 세로고정형 레이아웃을 제작하다보니 회원정보에서 작성글 보기를 하면
30개의 목록이 나와서 화면에 다 안보이더라구요
그래서 이 목록을 10개정도로 줄이고 싶은데..암만 소스를 찾아보고 또봐도 30이라는 숫자를 찾아볼수도 없거니와...
loop문에도
<tr loop="$document_list => $no,$oDocument">
<td>{$no}</td>
<td class="title">
<a href="{getUrl('','document_srl',$oDocument->document_srl)}" onclick="window.open(this.href);return false;">{$oDocument->getTitleText()}</a>
<!--@if($oDocument->getCommentCount())-->
[{$oDocument->getCommentCount()}]
<!--@end-->
<!--@if($oDocument->getTrackbackCount())-->
[{$oDocument->getTrackbackCount()}]
<!--@end-->
</td>
<td>{$oDocument->getRegdate("Y-m-d")}</td>
<td>{$oDocument->get('readed_count')}</td>
<td>{$oDocument->get('voted_count')}</td>
</tr>
이런형태로 갯수가 안나오더라구요..
그래서 혹시 30개의 목록을 10개만 출력되게 하는 방법이 없을까 해서 여쭤봅니다.
function dispDocumentAdminList()
{
// option to get a list
$args = new stdClass();
$args->page = Context::get('page'); // /< Page
$args->list_count = 30; // /< the number of posts to display on a single page