We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18353
    • 6 Posts
    Hi,

    Is splittingred Shaun?
    I must say I’m loving modx revolution.

    I believe there’s an issue with the SimpleSearch form though.

    By default the form has method="get" so it loses the page id and always goes to the home page regardless of the landing parameter.

    You just need to add an extra hidden input for the id.
    <form class="sisea-search-form" action="[[~[[+landing:default=`[[*id]]`]]]]" method="[[+method:default=`get`]]">
        <input type="hidden" name="id" value="[[+landing:default=`[[*id]]`]]" />
        <label>
            <input type="text" name="[[+searchIndex]]" value="[[+searchValue]]" />
        </label>
        <input type="submit" value="[[%sisea.search? &namespace=`sisea` &topic=`default`]]" />
    </form>

    You also need to ensure that caching is turned off on the landing page.

    All the best,
      • 28215
      • 4,149 Posts
      Can you file that as an issue here:

      http://github.com/splittingred/SimpleSearch/issues/
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 18353
        • 6 Posts
        You beat me to it a month ago wink

        http://github.com/splittingred/SimpleSearch/issues/unreads#issue/2
        I’ve added a comment to that issue
          • 28215
          • 4,149 Posts
          Great, thanks Mark. I’ll take a look at it as soon as I can.
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com