Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted July 4, 20177 yr The current default db-listing display only has provision for sorting. How do add a search-field to a custom listing template so that I can list the database based on searching a field?
July 4, 20177 yr That is already available through the main search field, which is normally on every page and defaults to the current content. But it will only search in the title and body field. Custom fields cannot be searched in any way.
July 9, 20177 yr Author Sorry for the confusion, question is related to the IPS "Pages" application. Example: I have built a database of the current marked mobile phones with the most important data-fields for each phone included in the listing display. The title field is the manufacturer. How can I add a search function so that a visitor can choose to show the listing display showing Samsung phones only?
July 26, 20177 yr Author Many thanks Joel, but I'm not aware of any such block. Is it some example block that was delivered with pages?
October 20, 20177 yr Author Still looking for a solution. I would have thought listing a database based on search was a trivial operation. None of our 3.4 database application are usable after the 4.x upgrade due to this problem.
October 21, 20177 yr On 27.7.2017 at 12:59 AM, bpn said: Is it some example block that was delivered with pages? See it here:
October 21, 20177 yr Author ok, maybe a misunderstanding here. I'm looking for a way to display a database listing based on search. As in the example I posted: Quote Example: I have built a database of the current marked mobile phones with the most important data-fields for each phone included in the listing display. The title field is the manufacturer. How can I add a search function so that a visitor can choose to show the listing display showing Samsung phones only? Seems like the most basic task, but I have not found how to do it.
October 22, 20177 yr As @Ramsesx pointed out, IPS comes with Database Filters. If that is not suitable for your task, you will need to develop a custom block for search.
October 22, 20177 yr 24 minutes ago, bpn said: Thanks, but we do not have that block, only Editor and Custom. So add it. Then you have it. You can define per field whether the field should be used for filtering. That’s the closest stock option for what you want. Just stating over and over again that you expected something else, won’t lead anywhere. If you want to show “Samsung phones only”, you need a manufacturer field and use the database filters widget to let users select a specific manufacturer.
Archived
This topic is now archived and is closed to further replies.