Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Matt
The fields you set up are a individual checkboxes. These are not saved in the db as an array, they are saved as individual unique rows in the db. A checkbox group, would be saved as a single unique row as a json encoded array in the db.
I think the confusion is that the fields are setup and registered using arrays which has no bearing on the date is saved and retrieved (well, in a way it does, based that is based on the field type).
re: How do I get it grab all the keys for each region_id_# (1-8)? Do I need to copy and paste the array 7 more times and customize each of them?
Yes, take the code I gave and change the
keyvalue to the registered field ID.re: I thought arrays had the ability to grab all the info and store it, so I can pull out what I need?
You can if you use a checkbox group
Hope that helps.
Steven Zahm
Keymaster@ Alfonso
That is indicative of a web host issue with sending email and this error that is being reported by WordPress. Try the Postman plugin to setup mail to be sent thru a service other than the webhost.
Steven Zahm
Keymaster@ David
re: When adding a new entry there are some sections which won’t be needed (either image or logo, Messenger IDs)
To hide fieldsets use the Screen Options.
re: all entries will be ‘Organisations’
Install the Code Snippets plugin and add a new snippet with the following code.
function cn_default_entry_type( $atts ) { $atts['default']['type'] = 'organization'; return $atts; } add_filter( 'cn_metabox_publish_atts', 'cn_default_entry_type', 11 );Save and Activate the snippet.
re: all details would be ‘work’ rather than home or something else.
Add a new Code Snippet with the following code:
function cn_change_address_types_order( $options ) { $options = array ( 'work' => $options['work'] ) + $options; return $options; } add_filter( 'cn_address_options', 'cn_change_address_types_order' ); function cn_change_phone_types_order( $options ) { $options = array ( 'workphone' => $options['workphone'] ) + $options; return $options; } add_filter( 'cn_phone_options', 'cn_change_phone_types_order' ); function cn_change_email_types_order( $options ) { $options = array ( 'work' => $options['work'] ) + $options; return $options; } add_filter( 'cn_email_options', 'cn_change_email_types_order' );re: Lastly, I looked at the option to ‘customise’ a template … it just takes me to the WP customisation of the Home Page
Make sure the directory home page is correctly set. Make sure the
[connections]shortcode is the only page contents on the page set as the directory home page.Hope that helps!
Steven Zahm
Keymaster@ Sherri
The first thing to try. Are you adding entries with images? If you are, try adding an entry without an image. What is the result?
Steven Zahm
Keymaster@ David
Great to hear that 8.5.14 worked for you! Seems my work arounds have worked!
Steven Zahm
KeymasterSteven Zahm
Keymaster@ gail
I just checked the site again and it seems to be working fine now. Please try force refreshing your browser. You’re likely viewing a locally cached version of the page.
Steven Zahm
Keymaster@ Lisa
From what I can see on the page, there appears to be an error in the form that submits the values to return. Maybe. It really depends on the code behind it. I can help and fix whatever is broken but there’ll be a fee. If you’re interested contact me using the contact link at the very bottom of the page.
Steven Zahm
Keymaster@ Leland
This is not a bug with Connections…
When you inserted the image in the notes field you did it setting the URL to start with
http. It should behttps. Notice the trailings. Edit the entries which you inserted an image and correct the URL and the mixed content errors will go away.Hope that helps!
Steven Zahm
Keymaster@ Saffron Quantrell
Great to hear it is resolved!
-
AuthorPosts
