Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jedd France 29 posts 140 karma points
    Mar 16, 2015 @ 21:20
    Jedd France
    0

    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

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Mar 16, 2015 @ 21:25
    Dennis Aaen
    100

    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

  • Jedd France 29 posts 140 karma points
    Mar 16, 2015 @ 22:06
    Jedd France
    0

    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

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Mar 16, 2015 @ 22:18
    Dennis Aaen
    0

    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.

    <umbraco:Macro Alias="EzSearch" runat="server" />

    What exact version of Umbraco are you using?

    Hope this helps,

    /Dennis

  • Jedd France 29 posts 140 karma points
    Mar 16, 2015 @ 22:25
    Jedd France
    0

    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

  • Jedd France 29 posts 140 karma points
    Mar 16, 2015 @ 22:40
    Jedd France
    0

    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

  • BJ Patel 84 posts 210 karma points
    Aug 10, 2017 @ 05:58
    BJ Patel
    0

    Hi Jedd,

    Can you please post your solution too.

    Thanks

    BJ

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Mar 16, 2015 @ 22:49
    Dennis Aaen
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft