Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Greg
Activate Connections on the primary site. Add your shared entries there. Now add
define( 'CN_MULTISITE_ENABLED', FALSE );to yourwp-config.php. NOTE< you will lose any data entered on your subsites because Connections will only read/write to the primary site db tables.Hope that helps, let me know.
Steven Zahm
Keymaster@ bebe
re: I’m using the default entry card template, and updating the plugin has broken all customizations I had. The font has changed, placement of items have moved, and I’ve lost the ability to show both the logo and image on the left side. What happened and how can I fix it?
If you made the changes by altering the core plugin template file rather than use template override files I’m afraid your changes are lost unless you can restore it from a backup. IF you haven’t been keeping backups, your web host will like have a recent backup and should be able to restore the it for you. Be careful, ask them how old it is and if they can only restore the files to a temp folder so you can grab a copy of your altered template.
Just like any other plugin, when WordPress does an update it deletes the files in the plugin folder and then copies in the new files. WordPress does not check for altered files or anything like that.
Sorry for the trouble, but I hope this helps.
Steven Zahm
Keymaster@ Cole
re: When we update Connections in the future, will we need to re-edit that widget each time?
No, only when the Widget Pack is updated.
re: We’ve made so many tweaks here and there, I have to keep track so we don’t suddenly break the functionality with a simple update.
A quick scan over topics/replies it appears the only changes were shortcode options (sorting by the meta key/value) and a minor CSS tweak added to a custom CSS plugin for the Gridder template. So far seems like updates should be pretty safe to do unless I missed something a bit more critical than that.
Steven Zahm
Keymaster@ Mitch
Well, it seems the PHP function
openssl_random_pseudo_bytes()on your server is broken as it returns FALSE. It’s rare for this to be FALSE, but some systems may be broken or old.What I did was add a check for
FALSEand then used backup function in its place which was already being used if the server didn’t supportopenssl_random_pseudo_bytes()at all. I made this change to my development files so it’ll be included in the next update so you should not experience this interesting issue again. This one issue was the originating issue causing the other issues you were experiencing.For debugging I had enabled Query Monitor and set it as a global plugin. I did deactivate it. I also installed and activate the WP Editor plugin so I could easily make this edit. This too is deactivated.
Steven Zahm
Keymaster@ Brittany
Sorry, no, this is not possible at this time.
Steven Zahm
Keymaster@ Cole
Well, the only way to do that would be to change the PHP which sets the default sort order in the widget to be sort on the order meta key/value. You would have to open the
class.widget-list.phpfile found here:
../wp-content/plugins/connections-widgets/includes/Look for this line:
'order_by' => $instance['randomize'] ? 'id|RANDOM' : array( 'sort_column', 'last_name', 'first_name' ),Change it to this:
'order_by' => $instance['randomize'] ? 'id|RANDOM' : 'meta_key:order|NUMERIC_ASC',Save and overwrite the original file.
For increased permanence the widgets are cached so you will not see the change take effect until after the fragment caches expires. You can force it to expire by making a settings change on the Widgets admin page.
Hope that helps! Let me know.
Steven Zahm
Keymaster@ julie
Sorry, no. Something like that need to be custom coded.
Steven Zahm
Keymaster@ Rebecca
re: When I click on a name, is it looking only to the first shortcode for a matching result, hence “no results?”
Ahhh, that is the issue. When you gave me the shortcodes you were using, I thought those were variations that you had tried, not that you were using them all on the same page.
When viewing a entry detail/profile view, that page will only render a single instance of the shortcode to prevent a duplicate from showing for each instance the shortcode was used on the page. When the single instance is used, it uses the options from the first shortcode. In your case, the
id="2"will be applied and there is only one entry with that ID so you will get a no results for all other instances of the shortcode on the page when you click thru to the detail/profile view.You should use the order_by shortcode option to sort the entries in a specified order. Alternatively, you could use this method.
Hope that helps, let me know.
Steven Zahm
Keymaster@ jabbergirl
re: HI there thanks for that Steve – it fixes the problem of the maps underneath the info – but when the width is set at 48% it looks bad on mobile – the boxes are squashed up on the left hand side – not centered. If I increase the percentage I lose the columns.
My suggestion would be to create media query CSS selectors and change the width to 100% and display as a block on smaller screened devices.
re: I know you said cmap doesn’t really support columns – has there been any work around that solved this effectively as far as you know?
No, not really. The best solution I’ve seen was when the sliding content trays (bio/map/notes) were disabled in the card list view. This info is still available on the entry profile/detail view. Then using a float with a percentage width works fine. This is the reason (the sliding content trays) that cMap does not support and will not support it. There are other templates such as Tile Plus, Gridder and Circled which does support a columnar layout. Tile Plus is undergoing a major rewrite at the moment which will bring its configuarbility to be as flexble as cMap.
Hope that helps.
Steven Zahm
Keymaster@ Joshua
Please disable the submit new entry action link and make sure you have the add/edit my entry action link enabled on the Connections : Setting admin page under the Display tab. Make sure you have Link installed and activated. Lastly, make sure the user role has either the add/edit capabilities or the add moderated/edit moderated capabilities.
Hope that helps!
-
AuthorPosts
