Advertisement

Smart search results not showing Topic is solved

General questions relating to Joomla! 5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
sw_Gittan
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Nov 27, 2024 1:59 pm

Smart search results not showing

Post by sw_Gittan » Wed Jan 08, 2025 10:35 am

Hi,

I'm using Joomla 5.2.3 and Astroid template. I have searched the forum, but can't find anything that can explain my problem.

I'm trying to use Smart Search. Indexing seems to work "The indexed content on this site includes 1,744 terms across 35 links with 12 attributes in 8 branches." My new module for search results seems to work. Search statistics shows that my test searches has given a number of results, both for content and titles. But...

I don't see any results, only breadcrumbs with search module name and search term.
What could be the problem?
Last edited by toivo on Thu Jan 09, 2025 3:42 am, edited 1 time in total.
Reason: mod note: moved from 5.x Extensions

Advertisement
User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17988
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Smart search results not showing

Post by toivo » Thu Jan 09, 2025 3:43 am

Welcome to the Joomla forum!

What is the URL of the website?
Toivo Talikka, Global Moderator

sw_Gittan
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Nov 27, 2024 1:59 pm

Re: Smart search results not showing

Post by sw_Gittan » Thu Jan 09, 2025 9:06 am

The site is still under development, so I have not moved it to the web hotel I intend to use. Development is done in a cloud based environment. It is slow, but sufficient for development.
https://gittans-test-site.joomla.com/index.php/sv/

The site is in Swedish. English is page not developed yet. Smart search should work anyway.

I've been thinking, do I have a Joomla problem or an Astroid problem? When setting up Smart Search I watched some instructions on [youtube], but in those videos they where using Cassiopeia. Could my problem be that I need a designated space in Android for showing search results? Something that Cassiopeia don't need?

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17988
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Smart search results not showing

Post by toivo » Thu Jan 09, 2025 10:23 am

You can find out by selecting Cassiopeia as the default template and testing the search.
Toivo Talikka, Global Moderator

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31522
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Smart search results not showing

Post by Per Yngve Berg » Thu Jan 09, 2025 12:23 pm

It's an issue with the Template not showing the content Area.

sw_Gittan
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Nov 27, 2024 1:59 pm

Re: Smart search results not showing

Post by sw_Gittan » Thu Jan 09, 2025 12:25 pm

Thank you for the tip. I should have thought of that. it worked perfectly fine with Cassiopeia. Now I need to figure out whats need to be done in Astroid to make it work there also. Unfortunately the help/documentation for Astroid does not cover search function.

When I find the solution I will present it, even if it is a Astroid problem and not a Joomla problem.
(In case anyone else runs into the same problem.)

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31522
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Smart search results not showing

Post by Per Yngve Berg » Thu Jan 09, 2025 12:50 pm


sw_Gittan
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Nov 27, 2024 1:59 pm

Re: Smart search results not showing

Post by sw_Gittan » Fri Jan 10, 2025 6:21 pm

The trick was creating a Component Area in the Astroid template. My mess was first that I didn't know I needed a component area, and secondly that I missed that Astroid has a widget for component area. The clue to find the solution was in the code, "grid-area: comp". When I saw that in the browser dev tool I understood what I was missing.
For search results in Astroid:
1. Menu item in hidden menu.
2. Template for menu item.
3. Component area in template layout.

Advertisement

Post Reply

Return to “General Questions/New to Joomla! 5.x”