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.
- This topic has 5 replies, 3 voices, and was last updated 11 years, 11 months ago by
Steven Zahm.
-
AuthorPosts
-
12/04/2013 at 5:40 pm #274784
paul
GuestWe run a website for the chamber. Many of our users don’t use Home or even Work. They prefer selections like “Office Phone” rather than “Work Phone” and “Mail Phone” or “Message Phone” rather than “Home Phone”. Is that an easy add? I could change the external display but that’s just a wrong hack.
Your suggestions are welcome.
Paul
12/05/2013 at 11:57 am #274804Steven Zahm
Keymaster@ paul
Actually simply changing the external display is fine. Here’s my recommended method:
To change field names. Install the Say What? plugin.
It’ll add a new Text Changes menu item. Click Add New, enter the string exactly as shown in Connections, enter connections [notice the lack of capitalization, that's important!] as the domain and then enter your new text.
The great thing about using this plugin is that it will be update safe and you can use it on any other plugin that has been properly internationalized. Hope that helps.
12/06/2013 at 12:30 am #274850paul
GuestWow, code that changes the code that is used by a different core code. Say What?
Thanks, Steven!
I still recommend adding a couple more phones :-)
You make a good product!
12/06/2013 at 1:42 pm #274888Steven Zahm
Keymaster@ paul
Nifty, how a plugins can be made to work together when following best practices when coding for WordPress.
On my todo list is to add a filter that can be hooked into that will allow any arbitrary phone type to be added. Same for the other data types too.
08/28/2014 at 11:27 am #302297Richard Pyne
ParticipantAny update on this? I would really like to be able to add more phone, email, and address types.
09/02/2014 at 12:22 pm #302588Steven Zahm
Keymaster@ Richard
In the soon to be released 8.1 version you can use the following filters to add new meta data types:
cn_family_relation_options cn_address_options cn_phone_options cn_social_network_options cn_instant_messenger_options cn_email_options cn_link_options cn_date_optionsTwo caveats…
If a new type is added and later removed, there is no code to handle the display of the missing type.
Even though there is a filter for
cn_social_network_optionsit is almost useless because any newly added types will not have icons unless they are added to the plugin’s icons folder.This is a first step. What I really need to do is add “registration” helper functions that hook into these filters to make it easier to deal with from a dev standpoint.
Any way, this should be enough to let you do what you want to do.
-
AuthorPosts
- You must be logged in to reply to this topic.
