magnusn
Forum Replies Created
-
Forum: Plugins
In reply to: [JSON API] parse Advanced Custom Fields ACFHi Andres,
I’ve been having some issues with repeater fields and the JSON API plugin. You’re code seems to deal with this. My issue is that the nesting of the JSON object is a bit weird. When I finally got the ACF fields (with the right sorting), it looks like:
“multiple_galleries_1_case_gallery”: [
“a:4:{i:0;s:3:\”159\”;i:1;s:3:\”148\”;i:2;s:3:\”160\”;i:3;s:3:\”162\”;}”
]is this something you tried to fix? I’ve been spending all day trying to figure out how to get my ID’s out of this weird output.
Best regards
Forum: Themes and Templates
In reply to: AJAX driven category filterHi again,
by the way, I read some different tutorials to figure this out, so maybe you should read them too:https://www.tyssendesign.com.au/articles/cms/fetching-posts-in-wordpress-expressionengine-with-jquery-ajax/ – updating a page with ajax
https://digwp.com/2009/07/display-a-random-post-with-ajax-refresh/ – same thing just a bit more simple
https://www.blog.highub.com/javascript/javascript-core/javascript-get-form-checkbox-array-values/ – for check which checkboxes is checked
https://www.ads-software.com/support/topic/225224 – for the category part
Kind regards,
Magnus
Forum: Themes and Templates
In reply to: AJAX driven category filterHi All,
I am really sorry that I’ve forgotten about this post, but since nobody could answer, it seemed like it was no use asking..A nice fellow wrote me an e-mail asking if I’d found a solution, and this is actually the case ??
After alot of copy+pasting my way through I ended up with this.
The zip-file contains the necessary code snippets (for header, sidebar and a page template file, that has to be assigned to a page that calculates the new result.
I made the zip for the guy who mailed me, and I haven’t tested it, since it’s a stripped down version of my code that I’ve just done today.
Happy holidays,
Magnus