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 3 replies, 3 voices, and was last updated 7 years, 11 months ago by
Steven Zahm.
-
AuthorPosts
-
04/08/2015 at 4:22 pm #330992
Erik Onyski
ParticipantCurrently only the user’s name in the directory list links to the their profile page. Is it possible to make the user’s image also link to to their profile page?
04/08/2015 at 5:47 pm #330996Steven Zahm
Keymaster@ Erik
Sorry, no, nothing that can be done via point and click. Only “Links” can be assigned to the image and logo. I guess you could add a “Link” that is the entries profile page and assign it to the image or logo. I’ve never done it, but I see no reason why it’ll wouldn’t work. The only other way to do it would be to edit the template code.
07/02/2015 at 3:37 pm #339385Studio Collective
ParticipantHi Steve,
Awesome plugin, just doing some in-depth learning how to use it by reading through your nearly 9000 posts ;)
I second Erik’s request for how to make the logo a link to the profile page — it’s where I immediately want to click, and I’d imagine that most of my users are going to think the same thing. If this is possible, where would we do so in the template code?
As a side note, I’ve noticed that you often refer to Code Snippets plugin — is there a way to use that to create a snippet that would do the same thing as editing the template code, and thus be “safe-ish” when updating to new versions of the template?
Thanks for all the hard work!
–Jason07/03/2015 at 8:54 am #339425Steven Zahm
Keymaster@ Studio Collective
Almost 9000… I expect to be over 10000 by end of year!
Yes this could easily be done in the template code. The only “gotcha” would be if someone assigned a link to either the image or logo by accident. You would end of a link within a link which would be invalid.
I think the code would be like this (untested):
$href = $entry->getPermalink(); $image = $entry->getImage( array( 'return' => true ) ); printf( '<a href="%1$s">%2$s</a>', $href, $image );
Unfortunately, after looking at my code, the necessary filters do not exist so that this could be done with the Code Snippets plugin. The make this update “safe-ish” you could follow the instructions in this QuickTip.
Hope that helps!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.