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

For Joomla! 3.x Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general

Moderator: ooffick

Forum rules
Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.
bdam
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Mon Jan 23, 2017 8:36 am

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

Postby bdam » Sat Dec 09, 2017 9:56 am

(Sorry for the crosspost - I got no response here: viewtopic.php?f=706&t=957358 so thought this dev forum more appropriate. If someone can delete that original post I'd be grateful).

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 /smartsearch-2, 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 (/smartsearch-2), 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=246.

I was expecting the search results to go back to that search page, i.e. /smartsearch-2, 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!

itoctopus
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4011
Joined: Mon Nov 25, 2013 4:35 pm
Location: Montreal, Canada
Contact:

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

Postby itoctopus » Mon Dec 11, 2017 3:17 pm

You should create a menu item pointing to that "Smart Search" => "Search". This should fix the problem.
http://www.itoctopus.com - Joomla consulting at its finest
https://twitter.com/itoctopus - Follow us on Twitter


Return to “Joomla! 3.x Coding”

Who is online

Users browsing this forum: No registered users and 4 guests