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.2.5, code snippets
- This topic has 2 replies, 2 voices, and was last updated 11 years, 3 months ago by
Charles McPadden.
-
AuthorPosts
-
04/27/2015 at 5:20 pm #332615
Charles McPadden
ParticipantI would like to suggest the following enhancements if possible:
Default Email Domain: It would be nice if Connections would allow me to configure a default email domain for my users. Then, when adding new users, when it comes to entering his/her email address the email domain portion is already configured (pre-populated).
Defaults for Address, Phone Number, Email: I use the Connections Plugin exclusively in a work environment. As such, I would never enter an employee’s personal (home) Address, Phone Number or Email. For efficiency, it would be nice if I could set these values to default to WORK. Then, when entering new employees, the default of “Work” could be set, eliminating my need to have to manually select them.
Thanks for considering these enhancements. I love Connections. It makes my life soooo much better.
Charles
04/28/2015 at 9:21 am #332713Steven Zahm
Keymaster@ Charles
Thanks for the suggestions. I can actually let you know how to set most of the defaults. Here’s how:
Install the Code Snippet plugin.
Add a new snippet with the following code:
function cn_add_address_types( $options ) { unset( $options['home'] ); unset( $options['school'] ); unset( $options['other'] ); return $options; } add_filter( 'cn_address_options', 'cn_add_address_types' ); function cn_add_phone_types( $options ) { unset( $options['homefax'] ); unset( $options['workfax'] ); return $options; } add_filter( 'cn_phone_options', 'cn_add_phone_types' ); function cn_add_email_types( $options ) { unset( $options['personal'] ); return $options; } add_filter( 'cn_email_options', 'cn_add_email_types' );Hope that helps!
04/28/2015 at 10:31 am #332755Charles McPadden
ParticipantWow, this is awesome. Not only did this achieve exactly what I wanted, but you also educated me on something new.
Thank you!
Charles
-
AuthorPosts
- You must be logged in to reply to this topic.
