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.5.15, checkbox, custom field
- This topic has 4 replies, 2 voices, and was last updated 10 years, 2 months ago by
Steven Zahm.
-
AuthorPosts
-
05/26/2016 at 11:39 am #377661
Campbell Boyer
ParticipantSteven,
Thank you for your quick response to my last question. I really thought I’d deactivated it on the other site.
On to fresh questions.
I have link, form, log-in, connections-pro, CSV Import and slim-plus activated on my site http://www.ferncreekalumni.com/alumni-directory/.
I have followed your excellent instructions and added some custom entry check boxes. But I can not get them to display.
I set up a connections-template folder in wp-content and Ftped a copy of card.php to a slim-plus folder I put there. but still nothing.
I do now have a “Custom Fieldsfield_id_CA: 1" that will come up and not go down even if I remove the card et al.Help?
05/26/2016 at 12:39 pm #377682Steven Zahm
Keymaster@ Campbell
I can not see the page, I get “Oops! That page can’t be found.” I’m guessing the page is either a draft or private.
I’m assuming the checkbox fields display fine in the admin and you can use them. Is that correct?
The issue is that you are unable to get them to display text, yes? If that is, can you please share the code that you added to the template so I can take a look?
05/26/2016 at 12:53 pm #377687Campbell Boyer
ParticipantThanks for your reply – It is now set to public.
Yes – in the admin sign up section they look fine and they show that they take my entries,
All I get under someone’s entry out on the site are:
Name, street address, email, class year all of which are on the standard entry form (changed Date to class.
But the check boxes for class agent and deceased etc do not show up.“$checked = $entry->getMeta(
array(
‘key’ => ‘field_id_ca’, // This should match exactly the field id used when registering the custom field.
‘single’ => TRUE // Do not change this.
)
);
echo if ( $checked ) ‘Checkbox was checked.’;”was inserted into the card.php in the wp-content/connections-template/slim-plus file.
05/26/2016 at 12:55 pm #377688Campbell Boyer
ParticipantThis reply has been marked as private.05/27/2016 at 10:24 am #377842Steven Zahm
Keymaster@ Campbell
Ok, the issue… YOu have WP Super Cache installed and activated. You were not seeing your changes because WP Super Cache was displaying the old page without the change. Pro Tip: always deactivate your cache when making changes ;)
So, clear that cache and deactivate it and you will see your changes.
Hope that helps!
ps. A couple issues I did see and fixed. The folder was named
connections-templateinstead ofconnections-templates. There was also a coding error in thecard.phptemplate override file. -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
