Hi Sakis,
can I display also a fulltext search above the filters?
thanks
Elisa
Custom Fields
Joomla! version (x.y.z) | 4.1.5 |
Extension Version (x.y.z) | latest |
Hi Sakis,
can I display also a fulltext search above the filters?
thanks
Elisa
Custom Fields
Joomla! version (x.y.z) | 4.1.5 |
Extension Version (x.y.z) | latest |
Hi
You can display the Smart Search module.
Keep in mind that Smart Search and JFilters can work side by side.
Kind regards,
Sakis Terzis
Founder and Lead Developer
Hi Sakis,
thank you, I followed your advise but the text search does not have affect on the filter results but takes me to another page. Can I use them to filter the same contents?
Thanks!
Works the opposite way.
The Smart Search results are filtered by the JFilters filters.
This makes sense, since usually the user experience starts with a search which is then refined with filters.
You will also have to assign the filtering module in the Smart Search menu item/page.
Kind regards,
Sakis Terzis
Founder and Lead Developer
Hi Sakis,
seems I made it work, but on smart search it seems that the custom fields are not available to be displayed in the results. Do you have any advise for that?
Also I have now two result pages: shop/search and .de/search - I would prefer to have only one search result page?
Thanks!
Elisa
seems I made it work, but on smart search it seems that the custom fields are not available to be displayed in the results. Do you have any advise for that?
If you are referring to YOOtheme i think they are not there for Smart Search.
Also I have now two result pages: shop/search and .de/search - I would prefer to have only one search result page?
You cannot use the same menu item for 2 different components.
If you are worried about duplicates in the search engines, as explained, we have already provisioned that. Also your Smart Search page does not need to get indexed at all (no-index).
Kind regards,
Sakis Terzis
Founder and Lead Developer
Hi Sakis,
I am more worried about two different layouts. on the Jfilter result page I can use all custom fields but in the moment I fill out the text box I have a different layout and way less possibilities...
I would like to have the text box on the jfilter page. Is that not possible?
For that exact reason, JFilters and Smart Search use the exact same layout to show the results. That way search and filtering results have the presentation.
We added the custom fields as a dynamic field as an extra step to our YT plugin.
But when it comes to customizing the Smart Search results with YT Pro, you are their mercy.
The only way to have this addressed is either by using native template overrides or by convincing the YT Pro devs to add that.
Not sure if there is another way to add functionality in YT pro.
Kind regards,
Sakis Terzis
Founder and Lead Developer
Hi Sakis,
Sorry but I am lost. It's not the same layout they use. they lead to completely different pages. Did I miss a specific setting?
As soon I type something in the search box it leads somewhere else.
I am talking about layouts NOT menu items.
In Joomla (and in our case) a layout can be used by more than 1 extension.
This is limited to the presentation and ensures the same presentation between 2 or more extensions.
Please have a look at the link i provided to understand it.
https://blue-coder.com/help/blog/customizing-search-results
Do note, that if you need a search engine in your site, using the Smart Search is quite the only choice, given it's power and flexibility. So you may have to accept some limitations if you intent to use it together with YT Pro
Kind regards,
Sakis Terzis
Founder and Lead Developer
Hi Sakis,
maybe I try to ask my question different: How can I use the Smart Search Field on the JFilter menu item?
thanks
Hi
How can I use the Smart Search Field on the JFilter menu item?
I was about to write that it is impossible to point 2 different components in the same menu item.
Though an idea came in my mind which might work.
JFilters can perform also search as it extends the "Smart Search" search model.
You can change the uri of the form of the Smart Search form in the module, to point to the JFilters menu item.
To do that, you have to change the url of the form's action property in the file: modules/mod_finder/tmpl/default.php
You can change that with a template override.
One caveat of this approach is that JFilters returns only articles, unlike the Smart Search whcih includes other types of data too (e.g. Categories, Tags).
I have not tested that, but i think it worth giving it a try.
Kind regards,
Sakis Terzis
Founder and Lead Developer
Hello Sakis,
this helps a lot. Now the Search is performed on the desired page. Only two issues with it are that the category is not respected, but I can fix this maybe on adding conditions in the grid. And When the full text Search is not giving any result the filters are gone and there is no information that there are no results and that I should reset my search. But I can maybe find a fix for that too.
I see we will meet in September in Bad Hersfeld on Joomladay. Looking forward to it!
Elisa
Hi
Only two issues with it are that the category is not respected, but I can fix this maybe on adding conditions in the grid
Are you referring to the search or the other filters?
If you are referring to the search, you have to include any additional vars in the search form's action url.
And When the full text Search is not giving any result the filters are gone and there is no information that there are no results and that I should reset my search.
To my knowledge the default layout gives a message that no results are found. Not sure how you can handle that in YT Pro.
Btw. Please let me know if you find JFilters valuable and you are willing to write a testimonial on that.
Kind regards,
Sakis Terzis
Founder and Lead Developer
Hi Sakis, sorry I was on vacation in between.
When I search for Mountainbike the search shows item which are not in the selected root category...
Elisa
Hi Elisa
As i replied, we have no any control over the search.
If you want the search to get into account other filters, you will problably have to include them in the search's url.
But as mentioned, our extension is not related with the search itself.
Kind regards,
Sakis Terzis
Founder and Lead Developer