Login
·
Signup
Home
»
XtGem
»
Coding help
»
GuruzLord
» View post
Graham
GuruzLord
custom pagination is a special xtscript function
this creates a basic prev/next pagination you just add it above the filelist function
you will need to set your own css classes to this
!--parser:xtscript--> function paging_template $url;$page;$active_page;$total_pages; if $total_pages == 1 goto @end endif if $page == 1 print <div class=""> endif if ($page+1) == $active_page print <a href="$url">« Prev</a> elseif ($page-1) == $active_page print <a href="$url">next »</a> endif if $page==$total_pages print </div> endif @end endfunction <!--/parser:xtscript-->
#
2017-02-17 09:29 ·
(0)
Home
»
XtGem
»
Coding help
»
GuruzLord
» View post
Online: Guests: 1
Log in