Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ scott
This sounds like they’ve uploaded images that are too large and when Connections tries to create it’s thumbnail WP (PHP) runs out of memory and stops. If that is the case…
The solution is to log into your site with FTP and navigate to the following folder:
../wp-content/uploads/connections-images/Find the folder for that entry and open it. Download the originally uploaded image and download it. After you download it, reduce its size and reupload it overwriting the original.
Now the entry should show.
Just yesterday I added two new features in version 8.1.6 to help address this.
The first, it will no longer allow a user to select an image larger than the server supports being uploaded.
The second, images right after being uploaded will be checked for their size. If they are above 1920x1080px they will be scaled down.
I believe both of these will help reduce the issues like this even further.
Hope this helps, let me know.
Steven Zahm
Keymaster@ Jason
Yep, that’ll work too. Glad to hear you found a solution that works for you.
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@ Kim
Yes, you are one the right track. The correct function call would be:
<?php $entry->getContentBlock( 'languages', $atts, $template ); ?>Hope that helps!
Steven Zahm
Keymaster@ Teresa
Did you perhaps reply to an automated email response? I asked because that’s the only thing I can think of when you say you emailed. Replies to automated responses … I do not receive those. It’s always best to post here in the forums.
Looking at your page…
The first thing I see is that you used the shortcode on the same page multiple time. You can do this but you should turn off all the List Action on the Connections : Settings admin page under the Display tab. You should also disable the category select feature in cMap by using the
enable_category_selectshortcode option. Here’s an example:
[connections enable_category_select='false']Now you will still have one other issue since there are multiple shortcode on the same page when you click thru to a single entry you’re technically still on the same page so the entry that was clicked on will be shown for each instance of the shortcode. There is a solution to this…
First, create a “Results” page, the name can be anything you choose because it is not important. I do recommend choosing a name that is relevant though. For the page content use the
[connections]shortcode with no options.Now go to the Connections Settings admin page and set your new “Results” page to tbe the directory home page.
Lastly, on the original page add
force_home='true'to each and every shortcode instance. Here’s an example:
[connections enable_category_select='false' force_home='true']Now when a link in the directory is click it will use the “Results” page with only a single instance of the shortcode.
To set the initial page to be just a list of names, go to the Connections : Templates admin page and activate the Names template under the All template type. And under the Individual and Organization template types activate the cMap template. Now go to the Connections : Settings admin page and click the Display tab. You want to enable the Single Entry Template option.
With this setup, you have a list of entry names under each category, when the name is clicked, it will use the “Results” page using the cMap template.
Hope that helps!
Steven Zahm
Keymaster@ David
Ahhh, yeah what I was originally thinking as a solution would have never worked for you. The terms meta is definitely the way to go. This would work for the
card-single.phpfile too but you would have to create a custom template override file for it to add the functions to list the assigned children by the referenced parent. It would have to be by term ID though, not slug because the relationships are based on the ID. ID/s are safer to use anyway because they will not change, slugs can.Hopefully this is within @ Kims budget too, hope to hear back soon. I could start working on this after I complete my current custom project and release version 8.1.6 (this project would require code in 8.1.6 anyway).
Steven Zahm
Keymaster@ Allen
Sorry, there is not a way to apply custom page title and descriptions at this time. When adding this feature to Connections, I basically mimicked the default of the WP SEO plugin. I realise this is not optimal for everyone because of different requirements and site structures. At some point I hope to release an extension to make this configurable for advanced users such as yourself.
As for the structure data error … that page is to validate the markup for schema.org microdata, not the hCard microdata format that Connections uses (which is well supported by search engines).
Hope that helps.
Steven Zahm
Keymaster@ Ryan
It sounds like the version you upgraded from could not automatically update the db structure. I can fix this but I would need temp access to phpMyAdmin and a temp admin account in WordPress. The access to phpMyAdmin is needed to assess the current db structure. The WP admin access will be used to manually trigger the proper upgrade functions. The access info can be sent to me using the contact link at the bottom of the page. Please paste a link to this forum thread in the message so I can relate the two. Thanks and apologies for the trouble.
Steven Zahm
Keymaster@ David and Kim
My apologies but this is going to be long.
I spent the better part of yesterday afternoon investigating ways to accomplish this effectively. One thing I learned … most of the plugins that do this for the core WordPress posts categories (any taxonomy) I could never recommend. It seems the majority of them add additional column to the core terms table. Altering core tables like this, one word, bad. What if WordPress ever updates its db structure (which btw they are planning it). This could leave you in a situation where you would not be able to update or the update trashing the db because of an unexpected structure. Any way… apologies for going off topic.
It seems the best way to do this would to do it how this plugin does it with the WP core categories (no, it will not work with Connections, sorry). It creates a term meta table and stores the order there. What’s great about this approach is any arbitrary data then can be assigned to a category, ie images. Basically infinitely extensible.
The downside would this would cause additional db queries which will have an affect on page loads in the realm of ~hundredth of a second per category (this would include the time required to do a post query quicksort to put them in order). The plugins that add to the core terms table would not suffer this effect but as mentioned, could be very risky, and is limited to only adding the order, no other data.
What I was originally thinking for @ Dave was a shortcode option, lets call it
category_order. I was think it would be used to manually set the order like so:
[connections category_order='2,5,6,1,8,10']The numbers represent the category ID as found on the Connections : Category admin page.
The downsides (and they are large downsides) with this approach would be, only the categories listed in the shortcode would be shown and the hierarchy would be lost. So @ Kim, this would not be a workable solution for you. Additionally anytime you added and removed a category you would have to go back and edit the shortcode accordingly. For @ Dave, even with those limitations it seems like a workable solution.
My preference would to be to add the terms meta table to the core Connections plugin and create an extension to set the category order. Now custom development is not cheap. We’re looking at a $150 to $200 from the each of you with me crossing my fingers that sales of the extension would have enough interest to recoup the rest of the cost. The cost is high because there is quite a bit of work and time involved in adding a new table and the supporting functions for reading and writing to it.
Steven Zahm
Keymaster@ Kim
To insert in those spots would require you to edit the template’s PHP code. The point and click way … go to the Connections : Settings admin page and click the Display tab. You can enable the languages output Content Block in both the result list view and the single entry view. You can also show the language with a widget that can be placed in the theme’s sidebar, however, this widget will only output when viewing the single entry.
Hope that helps, let me know.
Steven Zahm
Keymaster@ Linda
Thanks glad to help, sorry about the trouble!
I’m sure I’ve probably already asked but if I haven’t and you have a free 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/connections -
AuthorPosts
