Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Alex
The searchable category drop down filter is a third party library to enhance select drop down with that search capability.
On mobile… the devices, the operating system web browser has it own control for select drop downs. these are built in mobile controls which is not possible to add a search filter to, because, well, they are built in to os web browser and have been optimized for mobile device usage.
Steven Zahm
Keymaster@ Saffron
The issue is more likely that the memory assigned to PHP ios being exhausted. It just so happens with the mix of plugins installed that Connections pushes it over the edge.
Here’s an excellent blog post which describes several methods to increase memory allocated to PHP. Which one that works will depend on the web host. I recommend starting at the top and working your way down. Start with 128MB.
Hope that helps!
Steven Zahm
Keymaster@ Willem Van Oort
re; The only thing is that when you choose a category from the category bar, the text turns dark grey which is unreadable. What’s the code for that?
Try this:
.chosen-container-single .chosen-single { color: white !important; }re: Also is it possible to put “Pick your Category” just above the category bar so that is doesn’t create more space at the top?
Not really. One option would be to customize the CSS used to display paragraphs to remove the margin-after. This would affect the whole site. Another option would be to edit the page, switch the editor to the “Text” tab and add an inline list to the paragraph to remove the margin bottom. Something like this might work:
<p style="margin-bottom: 0;">Pick your Category</p>Hope this helps!
Steven Zahm
Keymaster@ Alex
There is no search on desktop either. Did you turn it of with the shortcode option in or the Template Customizer. I suggest verifying that it is in fact enabled.
Or…
Are you asking about the search for the category drop down? Right, that is by design because mobile devices have there own implementation for drop downs that have been optimized for mobile use. When on a mobile device you will see the devices implementation of a drop down. For example, on iOS, it pop ups a “window” with a scrollable list.
Edit
Mobile devices take over the control and display of select drop downs. this is not a limitation in Connections. This is a feature in mobile.
-
This reply was modified 9 years, 8 months ago by
Steven Zahm.
Steven Zahm
Keymaster@ Mary
Search can only be at the top. Pagination can be added to top and bottom by adding
pagination_position=bothto the existing shortcode on the page. See this example in the docs.Now, you are using a really old version of the template on this site, so, this option might not work. I can not remember if it was available in that version or not.
Hope that helps!
Steven Zahm
Keymasterre: the demo site I originally mentioned, http://narpmphoenix.com/, some of the listings are ‘featured’. Is that done by putting them in a separate category using a different template or some other way?
I poked around the site, I didn’t see anywhere where they were featuring entries. Car you share the direct link? I’ll take a look and let you know the method they used.
You could use a category named “Featured” to assign your featured entries to and then use the Custom Entry Order extension to bump them to the top of the list.
You can use multiple shortcodes on the same page to do featured entries but that does become a bit problematic if you introduce a way to allow a user to filter by category. Both shortcode will respond to the filter. So, depending on the shortcode options, one may output the no results message while the other shows the results or you could end end with the list showing the same thing twice (or more, depends how many times you add the shortcode on the page).
re: Finally, I solved the problem of the 404 error on the name-link page for the non-admin user.
Great to hear!
I’m working in a child theme to modify the ‘card’ template. I was able to modify the category listings OK , but when I look at the detail listing (by clicking on the name of the entry) I can’t get the bio or notes to appear. Which .php file controls which listing?re; I’m working in a child theme to modify the ‘card’ template. I was able to modify the category listings OK , but when I look at the detail listing (by clicking on the name of the entry) I can’t get the bio or notes to appear. Which .php file controls which listing?
The file is the
card-single.phpfile. Here’s the doc page on how to weak the default templates](http://connections-pro.com/2014/05/13/quicktip-tweaking-core-templates/). And here’s one discussing how to implement custom template override files. Lastly, here’s the docs for custom CSS files. These docs cover how to make these changes in an update safe way. If you alter the files in the plugin, you’ll lose all your hard work when an update to Connections is released.Hope this helps!
Steven Zahm
Keymaster@ Willem Van Oort
re: Can you let me know the css to change the colour of the category bar dropdown to black.
The enhanced category drop down is actually a third party library. Changing it style is pretty difficult. But this will change the face of it black.
.chosen-container-single .chosen-single { background: black !important; border: black !important; } .chosen-container-single .chosen-default { color: white !important; }The default coloring does fit very nicely already into the theme. I’d suggest leaving it as is.
re: is there a way of adding text just above this: “Pick your Category”?
Sure, edit the page and type it above the shortcode.
**re: **
Can you also give me the CSS to highlight specific category entries – eg with background colour?
Sure, this CSS will make the back ground color of all entries in the “Bars” category pink:
#cn-cmap div.bars div.cn-entry { background: pink !important; }Tweak as desired.
Hope that helps!
Steven Zahm
Keymaster@ Alex
re: Please point me in the direction of this tutorial, I can’t find anything about it.
There is no tutorial. Install the extension, like you have the few others in the Pro Pack and configure it to your liking.
Disable the category drop down in the Template Customizer for cMap.
RE: Are you saying search must be by business name or keyword, you can’t search by a category? When someone has hundreds of categories, noone is going to want to you use a drop down menu to scroll forever
The category drop down is search, click it so it opens and type your search. No ned at all to scroll through the categories. No matter the number.
re: Maybe I will try the latter and get rid of the drop down but still that is going to look crazy when you i have 184 categories.
You could reorganize a bit. For example, have a generic top level category with more specifics as children. For example:
- Restaurant
— Fast food
— Fine Dining
— Takeout
— Etc.
Then configure Enhanced Categories to display only the parent categories, when a user clicks on a parent the children categories are listed. That way you never display more than a dozen’ish categories at once.
Of course you could leave it as is, many people like the search category drop down a lot since i is quick and easy to use.
re: Are the counts accurating on the Connections : Categories admin page? NO they all say zero as well. How do you clear this out??
Did you create a dummy category and then delete it? Than clears the count cache. If you did, I’ll need an admin login so I can take a closer look. I have not seen the category counts off like this before. So I not presently sure what the issue could be.
Steven Zahm
Keymaster@ Alex
re: search
I’ve filter the list by the few restaurant related categories you have, none of the entries seem to have “restaurants” in their name/address/nio/notes. So, the search is correct. If you want to search by the restaurant category(ies) using the searchable category drop down. That’s what it’s for. Then, if you need you could further refine the search by adding a keyword. Or you could search just by name with filtering by category.
Typing “restaurants” into the keyword search field is not going to filter the list by entries in the restaurant categories. use the drop down.
Or, use the Enhance Categories extension and disable the categories drop down, that way you can list an index of categories above the directory and even make the categories section in the entry card clickable to allow the user to filter by category.
Pick which you like best.
re: category count
That is odd. Can you try adding a dummy entry and then deleting it? Perhaps the counts, which are cached, were not cleared and you are seeing old counts.
Are the counts accurating on the Connections : Categories admin page?
Steven Zahm
Keymaster@ sarah1202
Great to hear it ended up being easily resolved!
-
This reply was modified 9 years, 8 months ago by
-
AuthorPosts
