Copied to clipboard

Flag this post as spam?

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


  • James 8 posts 37 karma points
    Jun 04, 2014 @ 17:53
    James
    0

    Submitting a form to a different node

    I'm trying to create a search form in Umbraco 6.2.0 and would like to be about to have a URL such as domain.com/search/user/querytermhere for the search results page.

    I can't find a way to do this using Surface Controllers and don't seem to be able to find a way to register custom routes within Umbraco. Is there a way to do this?

    In short, I'd like to have a form displayed on a page which then submits/redirects this data to another page to display the results to the user. What is the best way to be going about this?

  • Charles Afford 1163 posts 1709 karma points
    Jun 08, 2014 @ 12:24
    Charles Afford
    0

    Hi, what are you trying to do here?

    Charlie :)

  • James 8 posts 37 karma points
    Jun 09, 2014 @ 11:40
    James
    0

    Hi Charlie

    I'm trying to create a search page at a URL such as domain.com/search.

    For an example, lets say I wanted to search for eggs. I'd like results to be displayed on a page such as domain.com/search/all/eggs however I can't seem to find a way to do this using Umbraco.

     

    Thanks

    James

  • Steve Morgan 1349 posts 4458 karma points c-trib
    Jun 10, 2014 @ 14:59
    Steve Morgan
    0

    You could pass it as a get variable and then just check for it on the Search page from the query string?  "/search?term=Fish"

Please Sign in or register to post replies

Write your reply to:

Draft