Opened 3 years ago
Last modified 3 months ago
#2596 new Enhancement
ajaxify pagination
| Reported by: | ewinslow | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Elgg 1.10.0 |
| Component: | Core | Version: | 1.7 |
| Severity: | minor | Keywords: | |
| Cc: | brettp | Difficulty: | moderate |
Description (last modified by ewinslow)
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.
Change History (13)
comment:1 Changed 3 years ago by ewinslow
- Status changed from new to assigned
comment:2 Changed 2 years ago by ewinslow
- Owner ewinslow deleted
- Status changed from assigned to new
comment:3 Changed 2 years ago by cash
- Milestone changed from Elgg 1.8 to Elgg 1.9
comment:4 Changed 19 months ago by Purus
comment:5 Changed 19 months ago by brettp
His work included ajax pagination but hasn't been pulled into core yet.
comment:6 Changed 19 months ago by Purus
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?
comment:7 Changed 19 months ago by ewinslow
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.
comment:8 Changed 19 months ago by ewinslow
Also, we're trying to avoid adding new features in bugfix releases.
comment:9 Changed 11 months ago by sembrestels
- Owner set to sembrestels
- Status changed from new to assigned
comment:10 Changed 11 months ago by ewinslow
- Description modified (diff)
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?
comment:11 Changed 11 months ago by sembrestels
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.
comment:12 Changed 10 months ago by sembrestels
- Milestone changed from Near Term Future Release to Elgg 1.9.0
comment:13 Changed 3 months ago by cash
- Milestone changed from Elgg 1.9.0 to Elgg 1.10.0
- Owner sembrestels deleted
- Status changed from assigned to new

Isn't this to be covered by blacktooth's work on ajaxify?
Just curious to know.. :)