Welcome Guest, Not a member yet? Register   Sign In
Can you add segments after the pagination page number? (uri_segment)
#2

[eluser]pickupman[/eluser]
Looking at the code in the pagination class, it appends the incrementing offset to the end of the uri string initialized as $config['base_url']. In order to change this behavior, you would need to extend the the Pagination class and rewrite the create_links() function to accept a parameter for before and after segment variable.

Wouldn't you be able to create a set of pagination links for each tab? If you have different segments to distinguish each page, I don't think it would matter if you append the offset at the end of each of them.


Messages In This Thread
Can you add segments after the pagination page number? (uri_segment) - by El Forum - 04-20-2010, 06:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB