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.1.5, cn_address_options, cn_email_options, cn_phone_options, filter
- This topic has 1 reply, 2 voices, and was last updated 12 years ago by
Steven Zahm.
-
AuthorPosts
-
10/30/2014 at 9:29 am #308501
Jim Hayes
GuestWe are trying out Connection and really like what we see. We have a question. is there a easy way to add to the Default Address Values. We are a service club organization and the Default Address Values (Hone, Work, school, etc) will be confusing to our members. Can we add Club and Loc to the Address, Phone and email types. Club (Club’s name, address and email) Loc (Location of Club Meeting usually a Restaurant)
10/30/2014 at 11:35 am #308549Steven Zahm
Keymasterre: Jim
Yes, there are filters in place where additional types can be added.
function cn_add_address_types( $options ) { $options['club'] = 'Club'; $options['location'] = 'Location'; return $options; } add_filter( 'cn_address_options', 'cn_add_address_types' ); function cn_add_phone_types( $options ) { $options['club'] = 'Club'; $options['location'] = 'Location'; return $options; } add_filter( 'cn_phone_options', 'cn_add_phone_types' ); function cn_add_email_types( $options ) { $options['club'] = 'Club'; $options['location'] = 'Location'; return $options; } add_filter( 'cn_email_options', 'cn_add_email_types' );To use the filters install the Code Snippets plugin.
Create a new snippet with the code from above.
Save and activate the new snippet.
Hope that helps!
If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
