Forum Replies Created
-
AuthorPosts
-
Michael Schmidt
ParticipantActually, I think I found a solution. I went in and made a couple changes to the card-single file.
Instead of it being:
if ( $atts[‘show_addresses’] ) $entry->getAddressBlock( array( ‘format’ => $atts[‘addr_format’] , ‘type’ => $atts[‘address_types’] ) );
if ( $atts[‘show_phone_numbers’] ) $entry->getPhoneNumberBlock( array( ‘format’ => $atts[‘phone_format’] , ‘type’ => $atts[‘phone_types’] ) );
I changed it to:
if ( $atts[‘show_addresses’] ) $entry->getAddressBlock( array( ‘format’ => $atts[‘addr_format’] , ‘type’ => ‘work’ ) );
if ( $atts[‘show_phone_numbers’] ) $entry->getPhoneNumberBlock( array( ‘format’ => $atts[‘phone_format’] , ‘type’ => ‘workphone’ ) );if ( $atts[‘show_addresses’] ) $entry->getAddressBlock( array( ‘format’ => $atts[‘addr_format’] , ‘type’ => ‘home’ ) );
if ( $atts[‘show_phone_numbers’] ) $entry->getPhoneNumberBlock( array( ‘format’ => $atts[‘phone_format’] , ‘type’ => ‘homephone’ ) );I don’t know if that’s the best solution but it gets the job done. Thank you for your help!
Michael Schmidt
ParticipantThank you!
It works great on the main directory page where it lists all the employees, but when you click an individual it’s still separated.
Any thoughts on that?Michael Schmidt
ParticipantThanks for the quick reply.
I know a little php coding. I’m learning as I go. If you don’t mind pointing me in the right direction, I’d like to give it a shot first. And then if I can’t manage it, I’ll talk to my client and have you get us a quote.Thanks.
Michael Schmidt
ParticipantThank you for looking into this so quickly.
-
AuthorPosts
