Loading...
 
Skip to main content

Custom Share Module 0.1dev

Features / Usability

Features / Usability


CustomSearch solution for modern knowledge base search interface (category buttons)

posts: 8638 Israel

Hello,

I've explored lately the CustomeSearch plugin options to allow 2 search filtering/search.
https://doc.tiki.org/PluginCustomSearch

To filters trackeritems I'm trying to setup something like we can find at Spotify support: https://support.spotify.com/us/
Categories being automatically populated. 😉

Screenshot 2024 03 09 At 9.38.27
https://tiki.org/display3541 (something is not working at this moment adding images on a forum post)

I played with this and Smarty templates (embedding plugin) and get close to it, but that is too complex (= fragile).

On the other, I can see a lot of parameters that should help to do such thing in the CustomeSearch plugin page but I can't figure exactly how to use parameters work.

Sharing light anyone ?

posts: 126890 United Kingdom

Hi @Bernard Sfez / Tiki Specialist

Not sure which parameters in custom search you're referring to, i think this will always have to be some custom code in a form template.

I'd add a list plugin of the categories you want to show as pictures/buttons (filtered on their parent category presumably) and link in the image for each one, or do a list of the images (by galleryId) and then add the category id, maybe in the description?

And add a little javascript to each one to put the categoryId in a hidden input on the form, something like:
{input _filter="categories" type="hidden" id="support-type"}

Does that make sense?


Upcoming Events

1)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4) 
Tiki birthday
5)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting