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-->
Copy code