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.
Premium Support
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.
Free Support
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.
Tagged: 8.6.2, custom field
- This topic has 4 replies, 2 voices, and was last updated 9 years, 4 months ago by
Steven Zahm.
-
AuthorPosts
-
03/31/2017 at 11:05 pm #418421
Casper Blackwell
ParticipantHello,
I would like to add an “availability” text field to the template.
I was following the instructions here: https://connections-pro.com/2015/06/23/quicktip-custom-field-adding-a-text-field/, but the field is not showing up in Connections>Settings>Form>Fieldset. Also I saw a PHP error on the site – not sure what I got wrong in the snippet:
Please advise.
Thanks in advance,
Casper
03/31/2017 at 11:11 pm #418422Casper Blackwell
ParticipantPS: Meant to post in Cmap forum.
04/03/2017 at 10:00 am #418656Steven Zahm
Keymaster@ Casper
The issue that jumps out to me… you have
cn_register_custom_availibility_test_fieldas the function name, which is fine. But, in theadd_actionline, the second string does not match. Currently it iscn_register_custom_metabox_and_text_fieldit should match exactly the function name.Hope this helps! Let me know.
04/03/2017 at 6:51 pm #418825Casper Blackwell
ParticipantHi Steve,
Thank-You! I seem to have it working now! :)
Is there a way to have the additional field show with under the city/state, instead of at the bottom of the profile information?
Thanks in advance,
Casper04/04/2017 at 9:28 am #418875Steven Zahm
Keymaster@ Casper
re: Thank-You! I seem to have it working now! :)
Great to hear!
re: Is there a way to have the additional field show with under the city/state, instead of at the bottom of the profile information?
Sure, the code you added to the template file to display the custom field, move it to below the code which renders the addresses in the template file. Hope that makes sense and helps!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
