Search function in one div with results in another
Hello everyone,
I've just installed ezsearch and I'm struggling to solve a problem I have.
As you can see from the screenshot above, I have the macro working. But, the search box and the results both show in the same div. What I want to do is have the search box in one div and have the results from that search show up in another div. Can anyone be kind enough to tell me how I go about doing this?
This may seem like a very easy thing to figure out but I've only just started using ezsearch.
I've looked at your solution and set up the search results page and added the code to the master page and the search results page.
This is the code for the searchresults page and as you can see the macro code is showing up as just plain text. Forgive me for my lack of knowledge but how do I fix this?
The problem here is from the screenshot that you have posted, I can see that you are using WebForms So you need to add the macro like a little bit different. Try this instead.
That´s great, good that you solve the little thing with the search field on the resultat page, and happy that I could help you. No questions in here is too little, to be asked in here. We are a very friendly community, with some friendly people that tries helps each other with Umbraco things,
If you want to you can mark this question as solved. It´s a good thing to do so if another comes across this questions they can go directly to the solution. You can solve the question by clicking the green tick on the left side of screen with the gravar image for the post that give you the answer to your question.
Be aware that you only have the option to mark one post as the correct solution.
Search function in one div with results in another
Hello everyone,
I've just installed ezsearch and I'm struggling to solve a problem I have.
As you can see from the screenshot above, I have the macro working. But, the search box and the results both show in the same div. What I want to do is have the search box in one div and have the results from that search show up in another div. Can anyone be kind enough to tell me how I go about doing this?
This may seem like a very easy thing to figure out but I've only just started using ezsearch.
Thanks in advance,
Jedd
Hi Jedd and welcome to our :-),
Try to see my first comment in this post https://our.umbraco.org/projects/website-utilities/ezsearch/bugs-feedback-suggestions/50405-open-search-results-in-a-new-page If you don´t want a new page then just add a div where you place the macro for the ezSearch.
Hope this helps, if you have further questions the do not hesitate to ask again.
/Dennis
Hi Dennis,
Thank you for the very quick response.
I've looked at your solution and set up the search results page and added the code to the master page and the search results page.
This is the code for the searchresults page and as you can see the macro code is showing up as just plain text. Forgive me for my lack of knowledge but how do I fix this?
Thanks for your help,
Jedd
Hi Jedd,
The problem here is from the screenshot that you have posted, I can see that you are using WebForms So you need to add the macro like a little bit different. Try this instead.
What exact version of Umbraco are you using?
Hope this helps,
/Dennis
Hello Dennis,
That's done the trick, just one last issue. How do I remove the search box from the search results page so it only shows the search results?
I am using v6.1.6
Thanks again,
Jedd
Hello again Dennis,
No need to answer the question above. I have sorted it out myself.
Thank you very much for your help, I appreciate it a lot.
Speak soon,
Jedd
Hi Jedd,
Can you please post your solution too.
Thanks
BJ
Hi Jedd,
That´s great, good that you solve the little thing with the search field on the resultat page, and happy that I could help you. No questions in here is too little, to be asked in here. We are a very friendly community, with some friendly people that tries helps each other with Umbraco things,
If you want to you can mark this question as solved. It´s a good thing to do so if another comes across this questions they can go directly to the solution. You can solve the question by clicking the green tick on the left side of screen with the gravar image for the post that give you the answer to your question.
Be aware that you only have the option to mark one post as the correct solution.
/Dennis
is working on a reply...