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.5.32
- This topic has 5 replies, 2 voices, and was last updated 9 years, 5 months ago by
laurelv.
-
AuthorPosts
-
02/23/2017 at 12:01 pm #412781
laurelv
ParticipantHi Steven, I would like to have each doctor’s name connect to their own web page, rather than the detail view. I know this is possible need help tweaking the PHP to make this happen. I believe you answered this for someone else before but I can’t seem to find that entry again. Also not sure if it was for CMAP.
So far I have turned off the name link and added the image link. But I know my client will want the name linked also.
Any help you can give will be greatly appreciated – thank you!
02/23/2017 at 1:04 pm #412787Steven Zahm
Keymaster@ laurelv
re: I would like to have each doctor’s name connect to their own web page, rather than the detail view. I know this is possible need help tweaking the PHP to make this happen. I believe you answered this for someone else before but I can’t seem to find that entry again.
Here’s the post where I give some details on how to accomplish this.
I believe that post covers it all. Hope this helps!
02/23/2017 at 2:57 pm #412789laurelv
ParticipantThank you Steven, that was it! But, I do still have a question of course…in the CMAP you can already add a Custom Field, right? So can I do that for this purpose and if so how would I know what the field ID is that I’ve just created?
02/23/2017 at 5:08 pm #412805laurelv
ParticipantSo I did create a Custom Field via the admin interface for CMAP, then I used that value in card.php with the code as described in that link.
Now Name is being linked to the category URL, and the Custom Link info shows up underneath the photo.
Here’s what I have in card.php:
<?php $url = $entry->getMeta(
array(
‘key’ => ‘custom_url’,
‘single’ => TRUE // Do not change this.
)
);?><h3>“><?php $entry->getNameBlock( array( ‘format’ => $atts[‘name_format’], ‘link’ => FALSE ) ); ?></h3>
custom_url is the value I gave my custom meta entry.
Not sure what I am doing wrong (not really a PHP programmer)…can you please help?
(I am more than willing to pay for your time if this is above and beyond normal support)
Thank you, Steven!
02/24/2017 at 9:54 am #412846Steven Zahm
Keymaster@ laurelv
re: I am more than willing to pay for your time if this is above and beyond normal support
Yes, me making the changes would beyond support. Contact me using the Contact link at the very bottom of the page. I’ll reply back with a quote and we can move forward from there.
Thanks!
02/24/2017 at 10:45 am #412854laurelv
ParticipantSteven, I went ahead and filled out your contact form – thank you!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
