Multiple instances of Jpagination

20 views
Skip to first unread message

Misha

unread,
May 16, 2012, 11:50:34 AM5/16/12
to joomla-de...@googlegroups.com
Hi folks,

I'm currently working on sopme stuff for Joomla 2.5 that would involve two different instances of Jpagination. I'm under the impression that (among others) the variable limitstart can't take on separate values for each instance of the pagination. Am I correct? How should I juggle two (or more) instances of Jpag and simultaneously keep track of where each pagination currently is pointing?

br,

   Mike

Sam Moffatt

unread,
May 16, 2012, 1:28:57 PM5/16/12
to joomla-de...@googlegroups.com
JPagination as it stands now would require some re-thinking to get it
to work properly with more than one distinct paginated list. You would
have to override the default behaviour and also ensure that it doesn't
try to call the template pagination classes as well. Making it more
configurable would be a good idea however you will likely have to
redefine the interface for templates a little different.

Cheers,

Sam Moffatt
http://pasamio.id.au
> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! General Development" group.
> To view this discussion on the web, visit
> https://groups.google.com/d/msg/joomla-dev-general/-/idXJJrxPblEJ.
> To post to this group, send an email to joomla-de...@googlegroups.com.
> To unsubscribe from this group, send email to
> joomla-dev-gene...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomla-dev-general?hl=en-GB.
Reply all
Reply to author
Forward
0 new messages