ページネーション

&paginate

Purpose :Dittoで取得する複数のリソースを数件ごとにページを分けて表示します。この後に説明するページングテンプレートが使えるようになります。
Values : 0,1
Default : 0
Notes : MODXはリソースID単位でキャッシュを管理するため、キャッシュを有効にしていると、次のページのリンクを開いても同じ内容が表示されます。スニペットコールをキャッシュ無効形式で記述する必要があります。

&paginateAlwaysShowLinks

Purpose : 「次へ」「前へ」のページスイッチを常に表示します。
Values : 0,1
Default : 0

&paginateSplitterCharacter

Purpose : Character to split 'previous' and 'next' links when &paginateAlwaysShowLinks is off and both links are there
Values : Character (or string)
Default : `|`
Notes : Prevents links showing as '< Previous Next >' when [+pages+] is not being used

&tplPaginateCurrentPage

Purpose : Template for the current page link
Values : Chunk name, tpl file name or HTML string
Default : Language-dependent
Notes : Default output template is defined in active language file. A chunk, external file or inline HTML can also be used

&tplPaginateNext

Purpose : Template for the next link
Values : Chunk name, tpl file name or HTML string
Default : Language-dependent
Notes : Default output template is defined in active language file. A chunk, external file or inline HTML can also be used

&tplPaginateNextOff

Purpose : Template for the inside of the next link
Values : Chunk name, tpl file name or HTML string
Default : Language-dependent
Notes : Default output template is defined in active language file. A chunk, external file or inline HTML can also be used

&tplPaginatePage

Purpose : Template for the page link
Values : Chunk name, tpl file name or HTML string
Default : Language-dependent
Notes : Default output template is defined in active language file. A chunk, external file or inline HTML can also be used

&tplPaginatePrevious

Purpose : Template for the 'previous' link
Values : Chunk name, tpl file name or HTML string
Default : Language-dependent
Notes : Default output template is defined in active language file. A chunk, external file or inline HTML can also be used

&tplPaginatePreviousOff

Purpose : Template for the previous link when it is off
Values : Chunk name, tpl file name or HTML string
Default : Language-dependent
Notes : Default output template is defined in active language file. A chunk, external file or inline HTML can also be used

PR

  • KAGOYA
  • ASP at AKIHABARA Japan
  • CMS AWARDS 2007 Winner
ページトップへ