Skip to content
This repository

ajaxify pagination (Trac #2596) #2596

Open
elgg-gitbot opened this Issue February 16, 2013 · 10 comments

2 participants

elgg-gitbot Evan Winslow
elgg-gitbot
Owner

Original ticket http://trac.elgg.org/ticket/2596 on 40830035-06-18 by ewinslow, assigned to unknown.

Elgg version: 1.7

With a few modifications to core, we could make this work via ajax.

1) an entity list (include navigation) would have to be wrapped in a div with a user-specified ID.

2) a handler is added using $('selector').live('click',...) to the pagination navigation links.

3) this handler calls $('#internalid').load(href + " #internalid") to refresh the contents of the entity list, including the navigation.

This requires some modifications to core so that ID's can be specified for these lists and so they can be wrapped in div's to sandbox the .load() call. On the upside, it degrades quite gracefully.

elgg-gitbot
Owner

Milestone changed to Elgg 1.9 by cash on 40918883-05-01

elgg-gitbot
Owner

trac user Purus wrote on 41816537-03-25

Isn't this to be covered by blacktooth's work on ajaxify?

Just curious to know.. :)

elgg-gitbot
Owner

brettp wrote on 41817164-02-06

His work included ajax pagination but hasn't been pulled into core yet.

elgg-gitbot
Owner

ewinslow wrote on 41819720-11-26

Ajaxify is not going to be pulled in for 1.8.2. blacktooth added a lot of great features, but I think we still need more clarity on The Right Way to do things before we pull all of that in.

elgg-gitbot
Owner

trac user Purus wrote on 41817234-09-24

If the target of blacktooth's ajaxify is 1.8.2, the milestone for this ticket can be changed to 1.8.2. Is that okay?

elgg-gitbot
Owner

ewinslow wrote on 42516853-04-01

Hey, sem. Thanks for being willing to take this on. I think I'd like to write a design doc so we can really figure out what the appropriate approach is. Care to start one?

elgg-gitbot
Owner

ewinslow wrote on 41819722-03-04

Also, we're trying to avoid adding new features in bugfix releases.

elgg-gitbot
Owner

trac user sembrestels wrote on 42521171-12-02

I began the page in the community, in the Elgg Feedback and Planning group.

http://community.elgg.org/pages/view/918176/ajax-pagination--bundled-plugin-in-19

I ask for access to repository to work in this plugin. Except on that, I will continue doing pull requests as usual.

elgg-gitbot
Owner

Milestone changed to Elgg 1.9.0 by trac user sembrestels on 42543877-11-06

elgg-gitbot
Owner

Milestone changed to Elgg 1.10.0 by cash on 43101274-02-05

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.