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 3 replies, 2 voices, and was last updated 8 years, 6 months ago by
Steven Zahm.
-
AuthorPosts
-
02/13/2014 at 5:06 pm #280027
Tim Carpenter
ParticipantSteven,
Hope all is well.
My client requests having the drop down in add entry default to work instead of personal for all applicable fields to speed up data entry.
What is the best way to go about making this change?
I searched but could not find any similar support questions. If this has already been resolved, feel free to link the answer!
Best Regards,
Tim
-
This topic was modified 8 years, 6 months ago by
Tim Carpenter.
02/15/2014 at 11:31 am #280105Steven Zahm
Keymaster@ Tim
Sorry, but there is not really an easy solution to this. You have to edit the PHP files to do this which means you’ll have to make this change when you update Connections. You would have to edit this file changing the order of they arrays to put the work types first.
For example, to change the address type order you would have to change this starting on line 783:
public function getDefaultAddressValues() { $defaultAddressValues = array( 'home' => __( 'Home' , 'connections' ), 'work' => __( 'Work' , 'connections' ), 'school' => __( 'School' , 'connections' ), 'other' => __( 'Other' , 'connections' ) ); return $defaultAddressValues; }
To this:
public function getDefaultAddressValues() { $defaultAddressValues = array( 'work' => __( 'Work' , 'connections' ), 'home' => __( 'Home' , 'connections' ), 'school' => __( 'School' , 'connections' ), 'other' => __( 'Other' , 'connections' ) ); return $defaultAddressValues; }
Hope that helps.
02/15/2014 at 2:33 pm #280110Tim Carpenter
ParticipantSteven,
This is very helpful. I assumed it was going to have to be done in this way, so this is no problem.
Just to confirm this is the only file that needs to be edited?
Thanks again!
Tim
02/15/2014 at 5:45 pm #280135Steven Zahm
Keymaster@ Tim
Yes, I’m pretty certain this is the only file that will need to be edited. My lack of certainty only stems from that fact the code base for Connections is getting too large to commit to memory
-
This topic was modified 8 years, 6 months ago by
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.