NewPath-Consulting / wap-addon-member-directory

Member Directory block add-on for Wild Apricot Press (WAP)
https://newpathconsulting.com/wap
GNU General Public License v3.0
2 stars 1 forks source link

Creating a UI for the selection of fields to populate into the wa_contact short code #1

Closed asirota closed 3 years ago

asirota commented 3 years ago

This is the main improvement over @poxrod's code for the wa_contact and wa_profile short codes implemented on v.0.10.6

Currently the short codes allow

2 API calls are used: https://gethelp.wildapricot.com/en/articles/503-contactfields-admin-api-call - gets the contact field meta data

Here's an example JSON structure from production

https://gethelp.wildapricot.com/en/articles/502-contacts-admin-api-call - gets the contact/members data

The additional feature would be to construct a block with a UI to configure the underlying short code for inclusion in any page/post. The features are:

All fields marked as Access: Nobody should never be displayed in a directory or a profile view, but should be available for filtering.

Access control is a v2 implementation and can be left out for now.

asirota commented 3 years ago

let's used Saved Searches instead of building filters...

asirota commented 3 years ago

implemented in beta 1, short code is assembled based on various options