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: 0.8.13, copy, edit, entry type
- This topic has 5 replies, 2 voices, and was last updated 8 years, 8 months ago by
Steven Zahm.
-
AuthorPosts
-
07/09/2014 at 10:11 am #296538
Len Johnson
GuestWe have family and individual entries for the same people for various reasons. That is, we have a ‘Family’, say, ‘Adams’, then separate individual entries for each member of the family, usually a couple. This allows us to display individuals in the Directory as ‘Officers’, ‘Male’, etc., but also to search for family units when that is more appropriate. This also allows us to distinguish group and individual photos in the proper context.
In order to enter the data, we typically added a family entry, then created copies for each couple’s individual entry. This saved us duplicative data entry. A recent change in ‘Copy Entry’ apparently means that copying a family entry does not give us the panel on the right that permits selecting ‘Individual’ or ‘Family’; the panel just isn’t there anymore. This means we have to use ‘Add Entry’ instead for the individual entries, and re-enter all the personal data rather than copy it.
Why is that functionality no longer available?
07/09/2014 at 10:22 am #296539Len Johnson
GuestThere was an additional change to ‘Family’ entries; the option to add ‘Organization’ has been removed, and is only available to ‘Individuals’. Why is that no longer an option? Can’t ‘Families’ belong to an ‘Organization”, as some of ours do?
07/15/2014 at 12:29 pm #297023Steven Zahm
Keymaster@ Len
The change was made for performance reason and to simplify the UI based on the action. This can be reverted. Here’s how…
Install the Code Snippets plugin:
https://wordpress.org/plugins/code-snippets/Add a new snippet.
Add the following code to the new snippet:
add_filter( 'cn_metabox_name_atts', 'cn_name_metabox' ); add_filter( 'cn_metabox_publish_atts', 'cn_publish_metabox' ); function cn_name_metabox( $atts ) { $atts['type'] = array( 'individual', 'organization', 'family'); return $atts; } function cn_publish_metabox( $atts ) { if ( isset( $_GET['cn-action'] ) && $_GET['cn-action'] == 'copy_entry' ) { unset( $_GET['cn-action'] ); $atts['action'] = NULL; } return $atts; }
Save and activate the new snippet.
Families could never be assigned to an org, officially, but since it is not enforced, you could toggle to entry type so the fields is visible and add the org.
There is one more issue with using the snippet when editing an entry, all the name fields will show and not toggle based on entry type since the entry type selector is not available. There might be other “gotchas” so use with care.
I’ll add to my issue log to allow the user to change the entry type when copying an entry.
I hope that helps!
08/29/2014 at 12:17 pm #302393Steven Zahm
Keymaster@ Len
This has been changed back in the upcoming 8.1 version. In order to deal with performance I’ve implement something called fragment caching instead.
10/02/2014 at 12:02 pm #305720Len Johnson
GuestThanks, Steve. I really appreciate your responsiveness.
10/02/2014 at 12:40 pm #305751Steven Zahm
Keymaster@ Len
No problem!
If I have not asked and you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
http://wordpress.org/support/view/plugin-reviews/connections -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.