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 8 replies, 2 voices, and was last updated 7 years, 11 months ago by
Steven Zahm.
-
AuthorPosts
-
07/29/2015 at 2:45 pm #341594
indy1003
GuestHow can I list more than one phone number on the profile dropdown?
07/29/2015 at 4:14 pm #341603Steven Zahm
Keymaster@ indy1003
This is designed to display only a single number whether it be the “Preferred” number or the first of several. All numbers are shown on the profile page. The only way to change this would be to edit the PHP of template. If this is something you are comfortable doing, I can give you instructions. Let me know.
07/31/2015 at 9:45 am #341766indy1003
GuestHi, thanks so much for the info. I disabled the profile page so if you could send over the php directions, that would be great. Thanks!
07/31/2015 at 12:37 pm #341812Steven Zahm
Keymaster@ indy1003
You need to edit the
card.php
file found here:../wp-content/plugins/connections-gridder/
Look for this line:
$entry->getPhoneNumberBlock( array( 'format' => '%number%', 'limit' => 1 ) );
Change it to this:
$entry->getPhoneNumberBlock( array( 'format' => '%number%' ) );
Or this, since you’ll be displaying multiple numbers:
$entry->getPhoneNumberBlock();
Hope that helps!
PS. you should read this so you can make this change update safe.
Hope that helps!
10/12/2015 at 3:00 pm #350302indy1003
GuestWhen I do this, it still lists three numbers when there is only two:
Display sample:
<h3>-###-### (first in the phone listing box)</h3>
<h3>-###-### (second phone number added in the listing box)</h3>
<h3>-###-### (repeat of first number)</h3>
10/12/2015 at 3:51 pm #350332Steven Zahm
Keymaster@ indy1003
Sounds like you have two instances of the
$entry->getPhoneNumberBlock();
in the file. Make sure you only have one.10/12/2015 at 4:00 pm #350335indy1003
GuestYou were right. I ended up replacing the card.php file with the original to start fresh and it removed the address from showing when you click on the expand.
I had it so that when you clicked on a photo, the phone and address would appear. I disabled the profile link.
Can you remind me how to add the address section back in?
Thanks so much!
10/12/2015 at 4:11 pm #350340indy1003
GuestThat was the problem! Thanks!
10/12/2015 at 5:28 pm #350358Steven Zahm
Keymaster@ indy1003
re: Can you remind me how to add the address section back in?
I believe this is the forum thread…
http://connections-pro.com/support/topic/gridder-rows-and-contact-info/#post-339101
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.