Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Sergio
re: Do I just place that code on the page I would like to have it appear on?
Yes, just place it on the page … just like you did with the other page where cMap is being used. The only difference is you’re adding an option to tell Connections to use the Circled template instead.re: If I want to post just our SVL team members on this page how would I go about doing this? I
I suggest using categories and then use the category shortcode option to display only the category you want to be displayed.Hope that helps.
Steven Zahm
Keymaster@ Richard
Great to hear!
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/connectionsSteven Zahm
Keymaster@ Lingbo Li
Sorry, I did have a typo! I commented the gist with the correction.
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/connectionsSteven Zahm
Keymaster@ Kevin
Once installed, there is nothing to configure or enable, it works in the background. It is not immediate, the processing happens in the background because face detection via PHP is intensive and time consuming. While it is processing the original image will continue to be displayed. If at this point it is still not working, the face detection is far from perfect, so it might not be able to find the face. Though, those two images it appears they should not present an issue. With that said, I did download both images from your site and tested them on my dev site, the face detect did work as expected.
Steven Zahm
Keymaster@ Rick
It is possible that the theme is loading its custom CSS before Form loads it’s CSS. I would need a link to that page to know for sure and to determine why the CSS does not work. Maybe try added the
!importantclause:div#cn-metabox-section-organization, div#cn-metabox-section-department { display: none !important; }You are using the latest version of Form, yes? That would be another reason the CSS would not work.
I do not recommend removing it in PHP because then after any updates you’ll have to redo the change. But if you want to you need to remove those fields from the array in the
connections_form.phpfile starting on line 1428.Here’s the filter that will set every entry to private whenever an entry is added/updated regardless of what the setting is:
Install the Code Snippets plugin.
Add a new snippet with the following code:
function cn_force_private( $entry ) { $entry->setVisibility( 'private' ); return $entry; } add_filter( 'cn_pre_process_add-entry', 'cn_force_private' ); add_filter( 'cn_pre_process_update-entry', 'cn_force_private' );Save and activate the new snippet.
Hope that helps!
Steven Zahm
Keymaster@ Joel
Sure send me a temp admin account login using the contact link at the bottom of the page. Make sure to paste a link to this forum thread into the message so I can relate the two. Thanks!
Steven Zahm
Keymaster@ Susan
Connections is compatible with jQuery 1.11.1 (which is what is used on this site).
I suspect you may have multiple jQuery versions being loaded on the page which is actually causing the problem.
Looking at the page source I see this:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="/wp-content/themes/roots/js/libs/jquery-1.7.1.min.js"><\/script>')</script>I would say this is a very bad way to handle this within WordPress. It’s always better to let WordPress manage jQuery and let it load the version that is bundled with WordPress. Loading jQuery via a CDN is fine when done correctly, it is just the above is not correct (for WordPress). This probably why you’re having problems with jQuery in general.
Here’s an excellent blog post which goes into deep detail:
https://pippinsplugins.com/why-loading-your-own-jquery-is-irresponsible/Fixing this could be easy or tough…
First, I would remove the code I referenced above. My guess is that is it will be in the theme’s
head.phporheader.phpfile.Now it seems some is de-enqueuing the bundled jQuery version. So this is the tough part. If you know what is de-enqueuing it, disable it. If you do not, Connections has something built in which attempts to fix this issue. Go to the Connections : Settings admin page and click the Advanced tab and enable the jQuery option.
Hopefully this fixing the issue.
If you wish to load jQuery from a CDN, use only this plugin:
https://wordpress.org/plugins/use-google-libraries/Hope this helps! Let me know.
Steven Zahm
Keymaster@ Richard
This can be easily remediated. By default cMap displays the logo and then shows the photo in the bio content tray. My guess is you used the
imageshortcode option for cMap to change it to the photo like this:[connections image='photo']What you need to do disable the photo in the bio content tray, use this shortcode:
[connections image='photo' tray_image='none']That’s fix it up! 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/connectionsSteven Zahm
Keymaster@ Ahmed
Are you certain the CSV file imported? Can I get a copy of the CSV file? Usually import issues are caused by the source CSV file formatting/encoding.
Steven Zahm
Keymaster@ Lingbo Li
Very nice! The monotone style looks great!
Unfortunately I do not have a simple way to get a permalink to an entry page. A rather glaring oversight really. Here’s what can be done, add this to your template:
$anchor = cnURL::permalink( array( 'type' => $atts['target'], 'slug' => $entry->getSlug(), 'title' => $entry->getName( $atts ), 'text' => $out, 'home_id' => $entry->directoryHome['page_id'], 'force_home' => $entry->directoryHome['force_home'], 'return' => TRUE, ) ); preg_match( '/href="(.*?)"/', $anchor, $matches ); $url = $matches[1];You should now be able to wrap the
$entry->getImage(...)call in the template with an anchor tag using$urlas theyhref.I know this does not help you now, but I’ll be adding a simple way to grab the entry permalink in the next release.
Hope that helps!
-
AuthorPosts
