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 12 replies, 2 voices, and was last updated 8 years, 8 months ago by
Paul Chitson.
-
AuthorPosts
-
08/15/2013 at 4:23 am #267281
Paul Chitson
ParticipantHi,
I’m using the default template as it offers a nice clean interface which is perfect for our needed. I’ve customised the template.php file slightly so that is removes the “Categories” and “Last updated” information from the screen. Then I run out of PHP talent :) What I’d like to also do is reorder the phone list, it appears to be in alphabetical order and I’d like the list to start at Z rather than A….if that makes sense.
Thanks
08/15/2013 at 10:57 am #267293Steven Zahm
Keymaster@ Paul
Sure, take a look at the order_by shortcode option doc page. I think this should do it.
[connections order_by='sort_column|SORT_DESC']
If you have a moment, I would truly appreciate a review. Many thanks in advance!
http://wordpress.org/support/view/plugin-reviews/connections08/15/2013 at 11:34 am #267301Paul Chitson
ParticipantSteven
Unless I’m going mad I can’t see “phone” as an available attribute?
-
This reply was modified 9 years ago by
Paul Chitson.
08/15/2013 at 12:02 pm #267307Steven Zahm
Keymaster@ Paul
Oh, sorry! When you said “phone list”, I interpreted that as the result list, not the phone numbers listed within the entry.
The phone numbers are actually listed in the order they were input in to the entry. The only way to change that order is to edit the entry and drop and drag the phone numbers in the order you want them to be displayed in.
Hope that answers your question correctly.
08/16/2013 at 4:07 am #267377Paul Chitson
ParticipantSteve
Still think I’m missing something so I’ve attached a screen shot of what I’m trying to do :)
In the screenshot is the default template with my labels, these are being changed by “Say What?” plug in.
Alt. Number = Home Phone
Phone Number = Work PhoneWhat I’d like to do is have the “Alt. Phone” appear below the “Phone Number”
Thanks for all your help on this.
Attachments:
You must be logged in to view attached files.08/16/2013 at 12:55 pm #267404Steven Zahm
Keymaster@ Paul
Right, that is what I understood after in my last reply. You manually control the order.
Go to an entry in the admin where you want the numbers switched, click edit.
Scroll to the phone numbers.
Now, click and drag the “Phone Number” is above the “Alt.Phone”.
Lastly save the update.Now when you view that entry, the numbers will be listed in the order you put them in.
There is not a way to do this automatically, each entry will have to be edited.
08/20/2013 at 5:21 am #267557Paul Chitson
ParticipantHi Steven
Thanks for that, makes sense now. I can see the ordering in the database so I can figure out what is going on there.
I am importing, via CSV, just over 2500 records, I don’t want to have to edit each entry to move the order of the phones. How do I ensure that the phone numbers are imported into the database in the right order?
Many thanks
08/20/2013 at 4:22 pm #267623Steven Zahm
Keymaster@ Paul
I had to look at the code for the CSV Import… but I fairly certain the only way to do thi is to edit the CSV Import to import the work phone before the home phone.
Look for this line in the
csv.php
file found here:
../wp-content/plugins/connections-csv/submenu/
$phoneNumberMap = array('homephone' => 'home', 'homefax' => 'home_fax', 'workphone' => 'work', 'workfax' => 'work_fax', 'cellphone' => 'mobile');
And change it to this:
$phoneNumberMap = array('workphone' => 'work', 'workfax' => 'work_fax', 'homephone' => 'home', 'homefax' => 'home_fax', 'cellphone' => 'mobile');
08/21/2013 at 6:27 am #267661Paul Chitson
ParticipantExcellent, that worked perfectly. Many thanks for your patience on this!
08/21/2013 at 9:33 am #267678Steven Zahm
KeymasterIf you have a moment; I would truly appreciate a review. They do make a difference. Many thanks in advance!
http://wordpress.org/support/view/plugin-reviews/connections
-
This reply was modified 9 years ago by
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.