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.
Tagged: 0.8.9, custom field
- This topic has 16 replies, 2 voices, and was last updated 8 years, 10 months ago by Steven Zahm.
05/27/2014 at 3:19 pm #292172Annie DoneheyGuest
I’ve been trying to add custom fields to my entries but it seems to only work if I make a new entry. When attempting to add a custom field to an already existing entry, it doesn’t save when I update the record. If I make a new entry with a custom field, it works just fine.
Theme: ZeeDynamic05/28/2014 at 11:47 am #292297
Sorry, impossible to say without seeing the code that you’ve created to add the custom fields. The only thing I can say is the custom field API doesn’t really care if it is an existing entry or a new entry other than checking to see if it should add or update existing custom fields. And the primary difference is the database queries being made.
Throw you code up on Github, I’ll take a quick look to see if anything jumps out at me.05/28/2014 at 1:53 pm #292302Annie DoneheyGuest
I’m not using any custom code, just the “Add New Custom Field:” option that came with the recent updates to Connections.05/28/2014 at 3:23 pm #292303
Ahhh… ok, now I’m on the same page. Sorry about that!
That is off by default… Go to the Connections : Settings admin page and under the Display tab look for the Result List Content Block and Single Entry Content Block sections. You can optionally show it in either the list or the single entry or both as needed.
Hope that helps!05/28/2014 at 3:44 pm #292304Annie DoneheyGuest
I have the settings set to display, but the problem I’m encountering happens when I am editing the entry. I go into an existing entry to edit their information and scroll to the bottom to the Add Custom Fields portion. There I select the field name and value, then update the entry. After updating, if I return to the entry, the custom field is not listed under the Custom Fields subsection. It doesn’t seem to save to the record. When I tried this with a new entry, the custom field was listed.05/28/2014 at 4:37 pm #292307
Hmmm… I can not duplicate that. What are you entering for the name and value?06/03/2014 at 7:53 pm #292891Annie DoneheyGuest
I’ve tried a few different variations on the name “Board of Directors” such as “Board”, “BoD”, etc… with the value “President”.
When I tried adding the field with a new entry I used the name “BoardofDirectors” and value “President”. This worked, and now “BoardofDirectors” is available in the dropdown as a name. However, even selecting this as the Name for a preexisting entry does not stick.
What I’m doing:
I go to a preexisting entry in Connections
Click on the persons name (or ‘edit’ under their name)
Scroll to the bottom
Select “BoardofDirectors” from the Custom Fields Name dropdown
Type “President” for the Value
Click the “Update Entry” button
I get returned to the entries list with the successful update message
Return to the entry to see if it changed
Scroll down and see there are no custom fields set; it only shows the new custom field form.06/04/2014 at 10:16 am #292974
Peculiar… I followed your steps and it works fine for me. May I have a temp admin account so I can see?06/06/2014 at 4:37 pm #293198Annie DoneheyGuestThis reply has been marked as private.06/07/2014 at 10:55 am #293204
It can be safely posted here as a private reply.
You must be logged in to reply to this topic.