Simplistic Search button not going to results page
Hi guys,
Hope someone can help with my issue on 'simplistic search'. I have set the search tool up on my master page and have set up a separate results page (code below for each). When I try to submit a search it remains on the same page and does not display the search results page.
I know this is going to be a simple issue/fix but for the life of me I can't sort.
Code below:
Search tool
@Umbraco.RenderMacro("SimplisticSearchForm", new {buttonValue="Search", placeholder="search for shows, jobs, reviews etc...", queryString="term", searchResultViewPageId="1202"})
You could also double check that your link to the jQuery file is before your SimplisticSearchForm macro on the page. If it is rendered prior to jQuery being loaded, the JS won't work properly.
At least, this is what solved a similar issue that I had.
I think GShenanigan is on to something.
This package requires you to have jQuery referenced before the macro. Its a little ugly i know, and its on my bucketlist to fix in the future.
Simplistic Search button not going to results page
Hi guys,
Hope someone can help with my issue on 'simplistic search'. I have set the search tool up on my master page and have set up a separate results page (code below for each). When I try to submit a search it remains on the same page and does not display the search results page.
I know this is going to be a simple issue/fix but for the life of me I can't sort.
Code below:
Search tool
@Umbraco.RenderMacro("SimplisticSearchForm", new {buttonValue="Search", placeholder="search for shows, jobs, reviews etc...", queryString="term", searchResultViewPageId="1202"})
Hi Brian,
I was thinking could it be that simple that your search result page is having another page id than the 1202, that you reference in the macro?
I have just tried install the package on a Umbraco 7.1.8 installation and when I hit enter or the search button, I get to the search result page.
Hope this helps,
/Dennis
Comment author was deleted
You could also double check that your link to the jQuery file is before your SimplisticSearchForm macro on the page. If it is rendered prior to jQuery being loaded, the JS won't work properly.
At least, this is what solved a similar issue that I had.
I think GShenanigan is on to something. This package requires you to have jQuery referenced before the macro. Its a little ugly i know, and its on my bucketlist to fix in the future.
is working on a reply...