Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
- This topic has 6 replies, 2 voices, and was last updated 9 years, 11 months ago by
Paul Littlewood.
-
AuthorPosts
-
09/09/2016 at 9:24 am #390502
Paul Littlewood
ParticipantHi,
I’m trying to get Slim Plus template to display the categories as a list instead of dropdown.
I tried changing the categorySelect() function:
public static function categorySelect() { $atts = array( 'default' => self::$atts['str_select'] , 'select_all' => self::$atts['str_select_all'], 'type' => 'link', 'group' => self::$atts['enable_category_group_by_parent'], 'show_count' => self::$atts['show_category_count'], 'show_empty' => self::$atts['show_empty_categories'], 'parent_id' => self::$atts['enable_category_by_root_parent'] ? self::$atts['category'] : array(), 'exclude' => self::$atts['exclude_category'], ); cnTemplatePart::category( $atts ); }The result is that the list of categories gets generated OK but the links don’t work. The links generated from the dropdown list are query strings (e.g. ?cn-cat=71). The links generated by this new list are in the format “/cat/category”. Clicking on the link doesn’t show any of the entries for the category. Can you please advise on how I can achieve the same functionality as the dropdown but just in a simple list?
-
This topic was modified 9 years, 11 months ago by
Paul Littlewood.
09/09/2016 at 10:24 am #390508Steven Zahm
Keymaster@ Paul
Do you have permalinks enabled on your site? The results you are seeing seem to be correct. Can you share a link to the page?
09/09/2016 at 11:56 am #390530Paul Littlewood
ParticipantHi Steven,
Thanks for your reply. Yes Permalinks enabled.Page link:
http://www.ohpropertygroup.com/service-providers/09/09/2016 at 1:52 pm #390566Steven Zahm
Keymaster@ Paul
The issue is that there has been custom CSS added to the site which is hiding the results list. You are going to have to remove this custom CSS. The CSS code is found in the page head. Here it is:
<style>.connections-list {display:none;}</style>This must be remove or the the directory will always be hidden from view.
Hope that helps! Let me know.
09/09/2016 at 2:14 pm #390586Paul Littlewood
ParticipantOh wow, thanks I forgot I did that. What an idiot!
It was a lazy way of hiding the full list of entries on the main page. Is there an easy way to only display entries on the category pages?
09/12/2016 at 10:12 am #390823Steven Zahm
Keymaster@ Paul
re: Is there an easy way to only display entries on the category pages?
Well, there is but you would have to alter the code to work your changes. Here’s the link to the tutorial.
http://connections-pro.com/2015/04/23/quicktip-show-no-entries-until-user-performs-a-search/
Hope that helps!
09/12/2016 at 6:47 pm #390953Paul Littlewood
ParticipantThanks so much!
-
This topic was modified 9 years, 11 months ago by
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
