Graham
Waplocus Standard filelist pagination uses
.filelist_paging {}
.filelist_paging span {}
.filelist_paging a {}
Copy code Custom pagination uses the same xtscript as the blog
Waplocus
Graham Will this pagination go with the filelist...? syntax.xtgem.com/manual/basics/default?func=custom_paging
Graham
Waplocus The same custom pagination can be used for blog guestbook filelist or paged content tags
all the functions use the same values
Waplocus
Graham Should i set the below in the custom pagination?.
.filelist_paging {}
.filelist_paging span {}
.filelist_paging a {}
Copy code
Graham
Waplocus Nope those are the classes for the
standard filelistpagination
That custom script uses
.custom_paging {}
.custom_paging span {}
.custom_paging a {}
Copy code Which are the blank classes to set in your css file
Waplocus
Graham plz graham how can i get the the current pagination number. e.g in the url below how can i get 3 ?. sitename.cf/Images/BGI/ Footer_Background_Images? __xt_content_page=3
Graham
Waplocus .custom_paging span {} is the class
its also the class for the inactive arrows
you can add a class yourself if you want to differentiate between the two
# Current page button
if $page == $active_page
print <span class="active_page">$page</span>
endif
Copy code
and add
.custom_paging .active_page {}
to your css
Waplocus
Graham I Mean how to get the number. on my page
Graham
Waplocus its right there in the url
?__xt_content_page=3
so
{_$__xt_content_page|1} (1 is the default value)