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

    I am trying to implement a SimpleSearch calls on my website.

    Everything is OK when i am using this code:
    [[!SimpleSearchForm]]
     
    <h2>Results</h2>
    [[!SimpleSearch]]


    However, when I try to add any parameter to either SimpleSearchForm or SimpleSearch, respective part doesn’t show up:
    [[!SimpleSearchForm ]]
    
    <h2>Rezultate</h2>
    [[!SimpleSearch &highlightResults=`1`]]


    I would appreciate if anyone knows how to fix this.

    Nicolae
      • 28215
      • 4,149 Posts
      You did:
      [[!SimpleSearch &highlightResults=`1`]]


      You should be doing:

      [[!SimpleSearch? &highlightResults=`1`]]


      Note the ?.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com