Opened 14 years ago
Closed 14 years ago
#14936 closed task (blessed) (fixed)
Improve theme searching/browsing
Reported by: | ryan | Owned by: | |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Themes | Keywords: | has-patch |
Focuses: | Cc: |
Description
Lift some of the search and browse ideas from the wordpress.com themes.php.
Attachments (4)
Change History (37)
#7
@
14 years ago
Rough, first pass of feature filter. It needs to be hooked into the search, paging, AJAX loading stuff.
Vision: Have theme-install.php look and behave the same as themes.php.
#8
@
14 years ago
The Details disclosures in theme-install.php don't work. Looks like theme-install.js was never added and no one noticed?
#9
@
14 years ago
Looks like theme-install.js was collapsed into theme-preview.js. The enqueue for theme-install is dead and can be removed.
#10
@
14 years ago
If we move theme-install to do search and filter like themes.php does, the loop that builds the filter could be stuck in a display_theme_feature_filter() func and shared by both.
#12
@
14 years ago
The options list for the current theme (added in r15645 and r15646) seems to include all items from the Appearance menu, but not all of those are theme-specific, since plugins can add items there too.
Here is an example, for Twenty Ten:
OPTIONS: Widgets | Menus | Lightbox Plus | Background | Header
Here the list also includes the Lightbox Plus screen, since the Lightbox Plus plugin adds its menu item under Appearance. But Lightbox Plus is not theme-specific.
#14
follow-up:
↓ 18
@
14 years ago
Todo:
- Have Apply Filters do an AJAX submit.
- Look into options issue demetris notes above.
#19
@
14 years ago
Found a problem with 14936.ajax.filter.patch:
- Check one or more filters and click Apply (rows are updated)
- Uncheck all filters and click Apply (nothing happens)
#20
@
14 years ago
- Keywords needs-patch added
theme-install.php returns no themes if you check more than one feature.
#25
@
14 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
This needs some no-js love, ?filter=1 is present in the Link, however it doesn't have any PHP handler for it.
See Patch.
Note: The patch moves </form>
to encompass the table, This is to allow the pagination to be changed by typing a number in, At present, the list table is not within a form element, so typing a number into the pagination option and hitting enter results in.. well.. nothing, Moving the form element corrects this.
#27
@
14 years ago
note on that patch: <input type="hidden" name="filter" value="1" />
needs to be wrapped in a if ( !empty($_GET['filter']) )
as it's for non-js mode only, and with it in there like that, causes the filter to display every time a search/manual pagination is executed.
#28
@
14 years ago
Rather than re-opening this ticket we should really raise a new one to trac the no-js issues
(In [15644]) Theme searching. First pass. see #14936