Forum Replies Created
-
AuthorPosts
-
08/29/2016 at 3:07 pm in reply to: Hide Categories in the card in line with categories hidden in sidebar? #388107
Steven Zahm
Keymaster@ Carolin
re: Probably a stupid question but this goes into the card.php file within the cmp folder, correct?
No, you would add this as a new snippet using the Code Snippets plugin.
re: Just wondering though whether this code would separate out the categories by parent group or does it still leave them all mixed up together like in the current list?
No, this does nothing to group by parent, only display the category (by ID) which you do want to be displayed.
re: If separating out would require a customisation job
Yes, to group by parent, this would require custom work to the template.
re: can you please mail me a quote for this
Sure! Could you toss together a quick mockup of how you would like this presented first? I’m thinking you want something like this, but want to be certain (category names just for presentation, not accuracy :) ).
Industry/Sector: Coaching & Mentoring, Commercial/Legal/IP, General Management
Role/Function: Coaching & Mentoring, Commercial/Legal/IP, General ManagementIn event that there are no categories assigned for one or both, do not display the parent category label, correct?
Steven Zahm
Keymaster@ Celina
Are you mapping the Entry ID column? If you are, please see this FAQ.
If you are not, then see the Tips section in the docs. Most issues are resolved by following them.
Hope that helps, let me know.
-
This reply was modified 10 years ago by
Steven Zahm. Reason: Fix links
Steven Zahm
Keymaster@ Larry
Create a “template doctor entry” and then use the copy entry action to copy the entry when adding a new doctor. Do this by creating a new entry with your location and any other “constants” and save the entry as unlisted. When you add a new entry, instead of clicking on the add new entry, click the “Copy” action below the “template doctor entry” you just created. Now all you need to do is change the “variable” data.
Hope that makes sense. Let me know.
Steven Zahm
Keymaster@ Jeremy
I pulled down a copy of the plugin from wp.org, did a quick search and found these lines of code:
add_filter('set-screen-option', 'wpcf_table_set_option', 10, 3);
function wpcf_table_set_option($status, $option, $value)
{
return $value;
}Their filter has a bug. It should check for an
$optionname, one of theirs before returning$value. If it is not one of their$optionthey should be returning$status.My guess is that their filter is running after the filter Connections set for its page options, basically corrupting the data. When saving the data, Connections could not properly deal with the “corrupted ” data because it was not getting the data in the expected format. That is what I fixed to make it more resilient.
Now, when the data is read, since it is “corrupt”, Connections already dealt with this by basically resetting the data to the default values if it did not receive the expected format. And, this, is what you are seeing.
There not really much I can do to fix this from my end. The devs for Toolset Types plugin should fix it. The only thing I could try is making my filter higher priority so it runs later (after) the Toolset Types plugin filter.
Hope that explains the issue without making it too technical or complicated sounding!
ps. I decided to increase the priority anyway, so that may help regardless if they fix the bug or not. I’ll include this in the next update.
Steven Zahm
KeymasterSteven Zahm
Keymaster@ Morgan
In order to make this change you will have to edit the the template’s
card.phpfile found here:../wp-content/plugins/connections-gridder/Add this line of code where you want the organization name to be displayed:
<?php $entry->getOrgUnitBlock(); ?>Save the altered file in the folder as explained in this tutorial on custom template override files.
After you have done this, you will very likely have to adjust the template’s CSS so it will be displayed properly. To learn about custom CSS files for templates, refer to this tutorial.
If you need assistance with this, I do provide custom development services.
Hope this answers your question thoroughly!
Steven Zahm
Keymaster@ Weatherly
If order to make this change you will have to edit the the template’s
card.phpfile found here:../wp-content/plugins/connections-gridder/Add this line of code where you want the contact name to be displayed:
<?php if ( $atts['show_contact_name'] ) $entry->getContactNameBlock( array( 'format' => $atts['contact_name_format'] , 'label' => $atts['str_contact'] ) ); ?>Save the altered file in the folder as explained in this tutorial on custom template override files.
After you have done this, you will very likely have to adjust the template’s CSS so it will be displayed properly. To learn about custom CSS files for templates, refer to this tutorial.
If you need assistance with this, I do provide custom development services.
Hope this answers your question thoroughly!
Steven Zahm
Keymaster@ Brittany & Mark
This is a minor display bug, it does not actually affect search results. This has been fixed in the bugfix release being pushed out today.
Steven Zahm
Keymaster@ David
re: For example, if a user searches for “CA”
You can not do an exact search for “CA” because the database will drop it as being too short. This is not a bug or limitation in Connections. Generally the search term must be 3 or 4 characters minimum. The exact number depends on the database configuration setup by the webhost. Instead you are likely getting results for only terms that start with “CA”.
To tailor search results, navigate to the Connections : Settings admin page and click the Search tab. Disable any fields that are not really relevant for you needs. Limiting search fields to relevant fields will increase the possibility of more relevant results.
While on the settings page, disable the Keyword search option, leaving the FULLTEXT option enabled. Now, do a test search. If you do not receive any results the database does not support FULLTEXT search, enable the Keyword search. If you do receive results, you can leave it disabled because the database does support FULLTEXT which is more accurate/relevant.
I hope this answers your question thoroughly!
Steven Zahm
KeymasterMarking resolved due to inactivity.
-
This reply was modified 10 years ago by
-
AuthorPosts
