Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Paula
You need to put the code between the PHP tags,
<?phpcode?>in the template file.10/19/2018 at 4:57 pm in reply to: Advanced Search: Zipcode and Radius not returning correct results #475427Steven Zahm
Keymaster@ Matthew
Still seems to working for me… another sample search:
This is the 87124 from you lst private reply.
When you type in a zipcode, are selecting the result from the autocomplete? Make sure you do.
From the looks of it only two entries have addresses which have been geocoded:
You’ll have to edit the existing entries and geocode them so the lat/lng are saved to the address.
Hope this helps!
Steven Zahm
Keymaster@ derrick
I’d have to be able to see… but I suspect there is nothing that can be done since the Google Maps are served by Google. If you can share a link, I’ll take a look to make sure.
Steven Zahm
Keymaster@ Age
Thanks, I’ve noted this is the issue tracker as a feature request :)
Steven Zahm
Keymaster@ Paula
Both the Bio and Notes field supports adding images from the media library. However, the Profile template does not display the notes fields since it is design focused on displaying the bio and photo as the primary content.
Since you wish to have the photo only on the profile detail page, you could alter the template using a template override file.
The file you would want to alter is
card-single.php, found in this path:../wp-content/plugins/connections/template/profile/The function you would add is:
$notes = $entry->getNotes(); if ( 0 < strlen( $notes ) ) { $entry->getNotesBlock( array( 'before' => '<h4>' . esc_html__( 'Notes', 'connections' ) . '</h4>' . PHP_EOL, 'after' => '<div class="cn-clear"></div>', ) ); }Hope this helps!
Steven Zahm
Keymaster@ Kara
Sorry, but the only way to achieve that result would be to edit the PHP file of the template.
Steven Zahm
Keymaster@ Kara
Great to hear! I like when it is a simple solution :)
Steven Zahm
Keymaster@ Kara
Do you have the latest version of Connections installed? You should have version 8.28.4 installed? It appears you have 8.28 installed, a few versions behind.
Steven Zahm
Keymaster@ Mike
Here’s a documentation page which explains how you can change most text in Connections.
For example you would use these settings:
Original text:
Organization
Text domain:connections
Text context: leave blank
New text:OrganisationHope this helps!
Steven Zahm
Keymaster@ David
You need to compare the two versions of the
card.phpfile. They are mostly similar.It appears you need to move the
$entry->getBioBlock();line of code and that’s all. The Works from bit appears to be just the address block which is already in that location shown in the screenshot.These instructions are just my best guess as it is impossible to know the exact changes that were made. This why you need to compare the changes.
Hope this helps!
-
AuthorPosts
