Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
05/06/2016 at 3:01 pm #375465
We have a very complex and long directory form and instead of adding Custom Fields to the Form were hoping to use Custom Post Types and Advanced Custom Fields to create this elaborate sign-up form.
Will this work with the directory? We know we may have to customize template to display all the extra fields on the public side.
John05/06/2016 at 3:20 pm #375466
I forgot to clarify that Advanced Custom Fields is a plugin.05/06/2016 at 5:40 pm #375482Steven ZahmKeymaster
I do not believe this will work because Connections does not use a CTP. You’ll likely better off using a form builder plugin to create your form then use actions/filters to add the entry programmatically.
Hope that answers your question.05/06/2016 at 5:50 pm #375483
Ah thanks. I use Gravity forms a lot so that will be pretty easy to do.
Is there any FAQ or How-to in Connections Pro discussing actions/filters? I’m wondering how to get all the extra fields into the directory to be populated? Would that be adding custom fields/metabox?05/09/2016 at 11:57 am #375641Steven ZahmKeymaster
Is there any FAQ or How-to in Connections Pro discussing actions/filters?
Sorry, no there is not. Here’s a list of Gravity Forms hooks I used on a custom project:
_npart of the hook name is the Gravity Form ID. The above hooks were used to populate the Connections Categories in a Gravity Forms checklist form field. You would use the
cnTerm::getTaxonomyTerms()function to retrieve them.
You would use this action to insert a Connections entry. You would use the
cnEntry_Action::add()method to insert an entry and after a successful insert you would set the category relationships using
_npart of the hook name is the Gravity Form ID. You would use this hook to populate the Gravity Form with the entry details. To get the entry detail you would use the
You would use this action to edit a Connections entry. To update an entry you would use the
I’ve glossed over a lot of details but digging into the code you can likely figure it out.
Hope that helps!
ps. I am working on a new class of addons for Connections called Connectors. The first of which is a Gravity Forms Connector. What I have done, works very well is is completely compatible with other Gravity Forms addons such as User Registration, MailChimp and PayPal Gateway using Gravity Forms Feed API. When will this be done, unfortunately this is unknown and will likely be quite a while. Thought I’d mention as it may be useful in future projects.
You cannot reply to this support topic. Please open your own support topic.