Smart Search always returning results to component, not the defined new page

17 views
Skip to first unread message

Carl Whalley

unread,
Dec 11, 2017, 6:05:25 AM12/11/17
to Joomla! General Development
I've followed the steps here to set up Smart Search on a J 3.8.2 site: https://docs.joomla.org/Smart_Search_quickstart_guide
I created the Smart Search module and assigned it a position "smart-search".
I then created an article with just the content {loadposition smart-search}.
I then created a "Search" menu item pointing to this article, it's url is just /search, then went back to the module and set its ItemID to the new menu item.
When I select the menu, it takes me to this custom search page, i.e. my new article (/search), but when I enter a search term and click the search button there, the results are to what looks like the component page itself, i.e. the url is /component/finder/search?q=&Itemid=189.

I was expecting the search results to go back to that search page, i.e. /search, since that's what the setup guide says it does.

Have I misunderstood something here please?

The site is https://www.phonewebcam.co.uk

Thanks!

brian teeman

unread,
Dec 11, 2017, 8:00:35 AM12/11/17
to Joomla! General Development
Where in the instructions does it say to do what you have done by inserting a module in an article

Carl Whalley

unread,
Dec 11, 2017, 8:08:43 AM12/11/17
to Joomla! General Development
Hi Brian, thanks for your help.

I took that as step 5, "selecting the module position," under the Module Interface section, but am guessing you know this won't work?

Michael Babker

unread,
Dec 11, 2017, 8:43:49 AM12/11/17
to joomla-de...@googlegroups.com
The module is ONLY the basic search input.  You cannot have the search result route to a page for another component; only the Smart Search component knows how to handle that particular search request, com_content cannot do it.

--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
To post to this group, send email to joomla-dev-general@googlegroups.com.
Visit this group at https://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/d/optout.

Carl Whalley

unread,
Dec 11, 2017, 9:06:05 AM12/11/17
to Joomla! General Development

On Monday, December 11, 2017 at 1:43:49 PM UTC, Michael Babker wrote:
The module is ONLY the basic search input.  You cannot have the search result route to a page for another component; only the Smart Search component knows how to handle that particular search request, com_content cannot do it.

Ok. My aim was just to style the results the same as for all pages on the site, and I was trying to avoid having to override the Smart Search component just to do that. 
Is that my only way then?

Thanks.
 

On Mon, Dec 11, 2017 at 5:05 AM, Carl Whalley <carl.w...@gmail.com> wrote:
I've followed the steps here to set up Smart Search on a J 3.8.2 site: https://docs.joomla.org/Smart_Search_quickstart_guide
I created the Smart Search module and assigned it a position "smart-search".
I then created an article with just the content {loadposition smart-search}.
I then created a "Search" menu item pointing to this article, it's url is just /search, then went back to the module and set its ItemID to the new menu item.
When I select the menu, it takes me to this custom search page, i.e. my new article (/search), but when I enter a search term and click the search button there, the results are to what looks like the component page itself, i.e. the url is /component/finder/search?q=&Itemid=189.

I was expecting the search results to go back to that search page, i.e. /search, since that's what the setup guide says it does.

Have I misunderstood something here please?

The site is https://www.phonewebcam.co.uk

Thanks!

--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
To post to this group, send email to joomla-de...@googlegroups.com.

Michael Babker

unread,
Dec 11, 2017, 9:13:10 AM12/11/17
to joomla-de...@googlegroups.com
Yes, you'll need to do layout overrides for the Smart Search layouts.

On Mon, Dec 11, 2017 at 8:06 AM, Carl Whalley <carl.w...@gmail.com> wrote:

On Monday, December 11, 2017 at 1:43:49 PM UTC, Michael Babker wrote:
The module is ONLY the basic search input.  You cannot have the search result route to a page for another component; only the Smart Search component knows how to handle that particular search request, com_content cannot do it.

Ok. My aim was just to style the results the same as for all pages on the site, and I was trying to avoid having to override the Smart Search component just to do that. 
Is that my only way then?

Thanks.
 
On Mon, Dec 11, 2017 at 5:05 AM, Carl Whalley <carl.w...@gmail.com> wrote:
I've followed the steps here to set up Smart Search on a J 3.8.2 site: https://docs.joomla.org/Smart_Search_quickstart_guide
I created the Smart Search module and assigned it a position "smart-search".
I then created an article with just the content {loadposition smart-search}.
I then created a "Search" menu item pointing to this article, it's url is just /search, then went back to the module and set its ItemID to the new menu item.
When I select the menu, it takes me to this custom search page, i.e. my new article (/search), but when I enter a search term and click the search button there, the results are to what looks like the component page itself, i.e. the url is /component/finder/search?q=&Itemid=189.

I was expecting the search results to go back to that search page, i.e. /search, since that's what the setup guide says it does.

Have I misunderstood something here please?

The site is https://www.phonewebcam.co.uk

Thanks!

--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsubscribe@googlegroups.com.
To post to this group, send email to joomla-de...@googlegroups.com.
Visit this group at https://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
To post to this group, send email to joomla-dev-general@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages