We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29284
    • 2 Posts
    Hi there grin
    i’m new in this community, modx is a great cms!

    This is my first question, i’m makin a site with modx and i was trying to use FlexSearchForm snippet.

    this is the site: www.sociolotron.it

    i have put the FSF on the top of the page, in a little space with this sintax in my template:

    [[FlexSearchForm?FSF_landing=10]]

    when you search, for example, the word "tanino" you will be redirected correctly to the results page that has ID 10..but the results are showed (showed? sorry for my bad english!!!!!!!) also in the place where the FSF is, and i dont want this happen..where’s the error?

    How an i do to show the results only in the results page?

    thanks for your help grin
    and congrats for your work! wink
    • Check the extensive comments at the beginning of the snippet’s code, since there are many different options you can set to control the behavior of the snippet. The options of interest in this case are resultsPage and showResults.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 29284
        • 2 Posts
        now it works correctly!

        i used this sintax: [[FlexSearchForm?FSF_landing=10 &FSF_showResults=0]]

        i have missed the showresults variable in the snippet’s code smiley

        thanks grin