2013-10-31 20 views

回答

0

嘗試像

{exp:comment:entries channel="channelname" sort="asc" limit="4" paginate="bottom"} 
    {paginate} 
     {if previous_page} 
      <a href="{auto_path}">Previous Page</a> &nbsp; 
     {/if} 
     {if next_page} 
      <a href="{auto_path}">Next Page</a> 
     {/if} 
    {/paginate} 
{/exp:comment:entries} 
1

如果不是pagination你後,你專門希望有一個頁面4,和另一頁上的其餘部分,第一頁上。

{exp:channel:entries channel="news" limit="4"} 
<h2>{title}</h2> 
{body} 
{/exp:channel:entries} 

然後在第二頁上使用offset屬性顯示的條目其餘

{exp:channel:entries channel="news" offset="4"} 
<h2>{title}</h2> 
{body} 
{/exp:channel:entries}