Mance Creative
Forum Replies Created
-
Hi Steven,
I saw you marked this as resolved, so i am not sure if you saw my follow up question. Would you be able to help out with how to get the embed code to display the video instead of just as text when trying to display it on the profile page?
Thanks!
MitchThanks! That worked to the point where I can add an embed code to the profile. However, it displays the embed code as just text in the child profile template. Here is the code I used to display the field:
<?php $text = $entry->getMeta( array( 'key' => 'video_link', // This should match exactly the field id used when registering the custom field. 'single' => TRUE // Do not change this. ) ); if ( ! empty( $text ) ) echo '' . esc_html( $text ) . ''; ?>
Also here is the profile link so you can view what it looks like in the “video” section of the page: https://mancewp.com/cwi/connections-directory/profile/name/barbara-eldridge/
Look forward to hearing back! ??
Hi Steve,
Oops sorry about that. I have unchecked the “must be logged in to view” option. Try the url now:
https://mancewp.com/cwi/connections-directory/
In the meantime, I will double-check the Home ID in the shortcode.
Thanks!
MitchHi Steven,
I added the wp_enqueue_style( ‘leaflet-control-geocoder’ ); php code to the page template (below the shortcode) and it worked great.
Thanks!
MitchHi Steven,
Your suggestion worked! Thanks so much. ??
Mitch
Hi Steven,
Ok great. I will definitely try this option and see if that works. I will try and get to it today to let you know how it works (or by tomorrow at the latest). Thanks a bunch!
Mitch
Hi Steven,
It is calling Connections in a wordpress page template using the PHP “echo do_shortcode” code. And then displays the customized child theme Connections template (for the “Profile” template). Let me know if that makes sense. ??
I look forward to your reply.
Thanks!
MitchHi Steven,
Thank you. I will take a look at this and let you know if it fixes the issue. ??
Thanks!
MitchHi Steve,
Perfect. That’s exactly what it was. We have the redirection plugin, and I guess the SEO guys who work on the site, set up redirects for the profile URL’s for whatever reason. So I have disabled those redirects and it works perfectly again.
Thanks!
MitchNevermind! I figured out that all of the user roles were un-checked in the User Capabilities settings panel for some reason. All is working as it should now. Thanks!
You’re the best! ??
Mitch
Thank Steve. I have sent you a contact form message on your connections-pro.com website. Let me know if you received it.
Thanks!
MitchForum: Plugins
In reply to: [Connections Business Directory] Several QuestionsHi Steve,
Regarding having the Organization and Individual profiles be on different profile templates, I think I should have provide more detail. A few years ago you had provided your services to put in some customized features into Connections Pro to achieve the desired layout we were needing from Connections.
Our client’s website includes Firm (organizations) profiles and Individual profiles. The firm employees (Individual) profile links are displayed on their Firm’s profiles (which you helped us with). On the current site (the old site) it works great where the Individuals are displayed on a Firm profile, and when you click on them, their profile is different (using the “Profile” template instead of the Default template). Here is a link to the current website for reference of how it works correctly: https://www.integra-international.net/find-a-firm/find-firm-profile/name/swenson-advisors-llp/
With the NEW website we are designing for them, we basically are using the exact same settings and programming for Connections that we used for the old site (just styled differently), but the Individual profiles that are linked from the Firm profiles keep using the “Default” template (which the Firm profile uses) instead of the “Profile” template. Here is a working test-site link to the new website’s Firm Profile so you can view for your reference: https://www.mancehosting.com/integra2020/find-an-integra-firm/find-firm-profile/name/swenson-advisors-llp/.
If you click on one of the Individual names to view the profile, you will see (in the code) they are using the Default (Card) template instead of Profile template. Do you have any idea why that is happening or would be able provide an idea of why the individual profiles aren’t using the “Profile” template?
I know this was a lot to read, but let me know if you have any questions or if this doesn’t make sense. Also, let me know if you need me to provide a WP login to the test-site.
Thanks!
MitchForum: Plugins
In reply to: [Connections Business Directory] Several QuestionsThanks for the quick response! I will try these suggestions and get back to you.
Regarding the two separate profile templates for Orgs and Individuals, I believe I tried both that with no success. However, i perhaps missed something and will try again and let you know if I am still having issues.
Thanks!
MitchForum: Plugins
In reply to: [Connections Business Directory] Global Map that shows all organizationsGreat, I will try this. Thanks a bunch!
Mitch