EllisLab text mark

This is an archived forum and may no longer be relevant. The active forums are here.

Advanced Search
Filter weblog entries by category ajax?
Posted: 17 June 2010 03:18 PM
Joined: 2009-07-07
28 posts

I’ve been scouring the web with a lot of losses, or I’m not comprehending what I’m wanting to do programming-wise with EE.

I’m wanting to filter weblog entries by category using checkboxes. I would also like for it to remain on the same page.

I’m assuming that this filter would be requiring jquery / javascript and “something else.”

I’ve checked FF_matrix, some Solspace plugins. But I’m lacking direction.

Is there anybody that has tried something like this:

Page brings up total list of weblog entries.
We have a checkbox form that allows filtering of this master weblog entries reoccurring on the same page.
Form filters results.

Any form of help would be appreciated. I’m lost.

Posted: 17 June 2010 03:42 PM   [ # 1 ]
Joined: 2008-12-18
1644 posts

I did something like this here.  You can click on the legend items in the left column (below the accordion) to filter the entries shown.

if you are going to load all of your entries on the page then you don’t need AJAX (because you have all the data already)... just store the data in a javascript array and filter it there to determine what to show.

it’s hard to show snippets of code that will do this in the general case (and when I wrote the code on that page I wasn’t thinking about its reuse value) so I guess just ask if you need more advice or direction.


EE Pro Network
eMarketSouth - full service web design, development, and SEO
ExpressionEngine consulting services - SQL queries, .htaccess rewrites, template optimization, jQuery/AJAX, and more!
our add-ons - please “favorite” and rate our products on devot:ee if you like our work. smile