Page Navigation Helper |
[eluser]Adods[/eluser]
Page Navigation helper helps you to create Pagination or Page Navigation Download (v0.2) PageNav Parameters: Quote:curpage* = current page - default 1 Example : Controller : Code: class Home extends Controller { view : Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> If you find some bugs or errors, please feel free to post it ;-) comment please
[eluser]xwero[/eluser]
If i understand it the constants are url segement that identify the pagenumber and the offset. I think you better use a config array that way you can make multi language urls and they are only known in the scope of the helper.
[eluser]nearo[/eluser]
Thank you for this helpful bit of code. I did have to change Code: $segments = $CI->uri->segments; Code: $segments = $CI->uri->segment_array();
[eluser]Unknown[/eluser]
I have a problem when using function Page Navigation helper: Fatal error: Call to undefined function GetPageNLimitVar() Please help me. Thank so much! |
Welcome Guest, Not a member yet? Register Sign In |