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.
Tagged: 8.1.5, getImage()
- This topic has 8 replies, 3 voices, and was last updated 8 years, 11 months ago by
Steven Zahm.
-
AuthorPosts
-
10/21/2014 at 7:51 pm #307818
Paul Hooper
ParticipantI’ve been trying to add the Logo to my cloned Card Bio template. I thought that I would be able to do this by adding the line <?php $entry->getLogo(); ?> in the appropriate place in the .php file but this doesn’t seem to work.
Putting <?php $entry->getImage(); ?> in the same position produces a second occurrence of Image exactly where I would like the Logo to appear, but this doesn’t work for Logo.
My site is at http://croydonrx.co.uk/members/ and I would like to add the company logo to the right of the address.10/22/2014 at 9:32 am #307831Steven Zahm
Keymaster@ Paul
Close, the correct function call would be:
<?php $entry->getImage( array( 'image', 'logo' ) ); ?>
Hope that helps!
If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
https://wordpress.org/support/view/plugin-reviews/connections10/22/2014 at 12:03 pm #307852Paul Hooper
GuestHi Steven,
Thanks for getting back to me so promptly. I tried your suggestion but it just repeated the image. I even tried<?php $entry->getImage( array('logo' ) ); ?>
but this did exactly the same thing. Am I missing something?10/22/2014 at 1:30 pm #307855Steven Zahm
Keymaster@ Paul
The code snippet I gave has to work … it’s exactly what is used throughout Connections and other templates to show the logo.
Can you past your entire code for your template here?
10/22/2014 at 1:45 pm #307856Paul Hooper
ParticipantSorry, I meant to do that last time.
10/22/2014 at 1:47 pm #307857Paul Hooper
ParticipantSorry it was too big to paste in
Attachments:
You must be logged in to view attached files.10/22/2014 at 2:05 pm #307859Steven Zahm
Keymaster@ Paul
Oh, fudge … I see it now. I had a typo. It should be:
<?php $entry->getImage(array('image'=>'logo')); ?>
Looking at code for far too long today! Sorry about that!
10/22/2014 at 2:10 pm #307862Paul Hooper
ParticipantExcellent! That did the trick. Really appreciate your help, and quite understand the code fatigue thing; happens to us all.
Positive review to follow shortly
Thanks again, Paul
10/23/2014 at 12:09 pm #307922Steven Zahm
Keymaster@ Paul
Great to hear and many thanks for the review!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.