Forum Replies Created
-
AuthorPosts
-
07/16/2014 at 8:14 pm in reply to: when name link is clicked, the person's listing shows up 4 times #297292
Steven Zahm
Keymaster@ Linda, I think I just replied to you here.
Steven Zahm
Keymaster@ Kent
Sounds right, this setup works for me … can I get a temp admin account so I can take a closer look?
Steven Zahm
Keymaster@ Annemiek
This is actually a WordPress error. It seems like it is not properly installing the plugin. I’m guessing you’re just clicking the update now link, yes? Try downloading the plugin from here. Deactivate and delete the version of Connections you have installed. No worries, your data will be safe. Now, manually upload/install the plugin zip file.
Hope that helps!
07/16/2014 at 7:45 pm in reply to: Bio not showing, remove word "Categories," Group categories #297277Steven Zahm
Keymaster@ Douglas
I just took a look at your site seems like you’ve sorted the issues 1 and 2 by using the cMap template.
Sorry, no, there is not a way to group the results by category.
Not much help, but I hope it does a little.
Steven Zahm
Keymaster@ Chad
Yes, you need to export the custom tables using phpMyAdmin or similar tool and then import those tables. It only takes a few minutes with most that time spent logging in and out of the host control panels. No need to recreate the entries manually. You’ll also need to copy the images from the
../wp-content/connections_images/folder to the same folder on the new server.Hope that helps!
Steven Zahm
Keymaster@ Linda
What you’re seeing is correct functionality, 4 shortcodes, 4 sets of results… even though when you click thru to a single entry, you’re actually still on the same WordPress page.
You can do what you want, here’s how:
You need to create a “results” page. Create a new page named “Result” (or anything you want). Put the
[connections]shortcode on it just once with no options. Now go to Connections : Settings admin page and change the directory home page to the “results” page you just created. Now, on the page with your 4 shortcode codes use the force_home shortcode option. So you should end up with:<strong>Faculty</strong> [connections category=8 force_home='TRUE'] <strong>Technical/Scientific Staff</strong> [connections category=4 force_home='TRUE'] <strong>Administrative Support Staff</strong> [connections category=6 force_home='TRUE'] <strong>Research Assistants/Students</strong> [connections category=7 force_home='TRUE']Now when you click on the links the for the single entry, it’ll use the “results” page where the shortcode exists only a single time.
Steven Zahm
Keymaster@ Len
The change was made for performance reason and to simplify the UI based on the action. This can be reverted. Here’s how…
Install the Code Snippets plugin:
https://wordpress.org/plugins/code-snippets/Add a new snippet.
Add the following code to the new snippet:
add_filter( 'cn_metabox_name_atts', 'cn_name_metabox' ); add_filter( 'cn_metabox_publish_atts', 'cn_publish_metabox' ); function cn_name_metabox( $atts ) { $atts['type'] = array( 'individual', 'organization', 'family'); return $atts; } function cn_publish_metabox( $atts ) { if ( isset( $_GET['cn-action'] ) && $_GET['cn-action'] == 'copy_entry' ) { unset( $_GET['cn-action'] ); $atts['action'] = NULL; } return $atts; }Save and activate the new snippet.
Families could never be assigned to an org, officially, but since it is not enforced, you could toggle to entry type so the fields is visible and add the org.
There is one more issue with using the snippet when editing an entry, all the name fields will show and not toggle based on entry type since the entry type selector is not available. There might be other “gotchas” so use with care.
I’ll add to my issue log to allow the user to change the entry type when copying an entry.
I hope that helps!
Steven Zahm
Keymaster@ Michael
I’m guessing you’re using the the category widget (which uses the category permalinks) and a template with a drop down, like cMap. Yes? Honestly, right now, I can not think of anything of the top of my head where I could reconcile the two uses … maybe, perhaps …
Try adding
force_home='true'to the shortcode. This trick may work as long as you’re using a single home page for your directory which I imagine your are if you are using the category widget.Let me know if that does the trick or not.
Steven Zahm
Keymaster@ david595
Connections will work fine within any PHP version from 5.2.4 to current, so a PHP update should not have any effect. I actually dev Connections on PHP 5.4.15.
The thing with setting the PHP memory is, it can be set to anything and PHP will happily report the memory limit being set and not report that the host could have a hard limit set. Maybe when they performed the update, they accidently changed that hard limit. Unfortunately they only way to know is to ask their support.
Could you also check the PHP error log? Maybe something will be in there that will shed light on the issue.
Steven Zahm
Keymaster@ Koen
I was able to map and import the CSV without issue … everything seems to be in order.
-
AuthorPosts
