N2CMS

Advanced Pager

There's no pager control at n2 and it's a big lack (for me) :o)
That'a why i've decided to create one.

Here is full specs (they are not big):
1) Unzip, copy files to project root.
2) Register in your *aspx/*.master template files, like here:

3) Insert some tags:
" PerPage="" PageKeyLiteral="p" MaxPagesBeforeTrimming="7" PageOffset="2" PagerStyle="range" CssClass="float-left" TotalClass="float-right total" TotalPreText="Pages total:"/>
Don't forget to provide this pager by Total and PerPage functions in page class, unfortunatly embedded classes like NewsContainer doesn't has ones.
PageKeyLiteral mean any literals combination in QueryString (like 'p' in 'p=0..x').

Hey guys, don't forget to say thanks to Libardo for great framework!
Enjoy!

2/11 10:19:38 PM

SerZH

Parts

4047

1.4.4

None

Download Homepage Source Code Edit Addon


« Back