-
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 1 reply
-
Also, that search/filter box/module must appear on the main page and then the results need to be displayed on a new page after clicking the Search button (we can't just create a page of parts with filtering on them). And, I started to manually build a Joomla module with a form and try to do this all manually, but wondering if there is an easier (JCB) way to create this functionality. |
Beta Was this translation helpful? Give feedback.
-
Hi Chris, have you looked at these tutorials: https://www.youtube.com/channel/UCYDNg3vgWGL7CRtWFNcFqew They show you how to build a filter system on a front-end view. |
Beta Was this translation helpful? Give feedback.
-
I think it be wise to create a "search" front-end view so you have that seperate from a normal product page view. |
Beta Was this translation helpful? Give feedback.
-
Yes, I've used those videos to learn how to do searching/filtering in the past; however, this use case requires that the filter fields be displayed on a different page (home page; in a module area) than the list view. My best guess is that I would create a form in a module that, when completed and button clicked, will pass the filter parameters to the dynamic get/list view page and display it (I'm guessing via POST method). But I'm not exactly sure how to get the data transferred from the module form to the dynamic get/list view in order to filter the list. Unfortunately, per client specs, the filter display must be designed like this (filter on home page). I did go back and re-watch a few of those videos but I didn't see any example of having the filters on a different page. If I missed that please point me to the video with that explanation. Otherwise, anyone have any ideas where to find how to use POST values as the inputs to custom view/dynamic gets? |
Beta Was this translation helpful? Give feedback.
-
BTW ... there was a post that looked similar here: #824 |
Beta Was this translation helpful? Give feedback.
-
OR is there a way to use session variables to filter a site list view? |
Beta Was this translation helpful? Give feedback.
-
Wait, did another search here and found this: #654 I'll update here after I've tried a few other options. |
Beta Was this translation helpful? Give feedback.
-
Hi, https://docs.joomla.org/Creating_a_Smart_Search_plug-in |
Beta Was this translation helpful? Give feedback.
-
Thanks everyone. Hope this provides some help to anyone else needing to do something like this in the future. |
Beta Was this translation helpful? Give feedback.
Thanks everyone.
I was able to make this work rather easily.
AFTER I started to hand-code a custom form (in a module), and getting tired trying to do that by hand, I realized (by work on another project) that the Convert Forms by Tassos Marinos (https://www.tassos.gr/joomla-extensions/convert-forms) allows creating a pretty custom form in a module. The form can redirect to another page on submit and pass the selections.
This Convert Forms set-up for the interface, and the details provided by @TLWebdesign made it a very quick solution
Hope this provides some help to anyone else needing to do something like this in the future.