We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36805
    • 354 Posts
    Hello all, i am posting this here since i am unsure where bug reports for snippets go. The bugtracker only seems to be there for issues specific to modx itself and not for snippet bugs.

    I’ve found out the FSF_showForm variable is not working as it is supposed to, when set to 0 it disables the form in both results _and_ at the search box. If the variable in the configuration part of the snippet $showSearchWithResults is set to 0 it works as it should though. (see quote from the snippet below)

    I guess this bug is easy to fix. Unfortunately i do not have any php knowledge at all (yet) so i could not post a bugfix. For now i don’t have a problem with changing the config instead of using the variable. I thought i just post the workaround anyway in case someone else experiences this issue.

    // a quote from the snippet:

    // $showSearchWithResults [1 | 0]
    // If you would like to turn off the search
    // form when showing results you can set
    // this to false. Can also be set in template
    // by using the snippet variable: FSF_showForm
    // like this (1=true, 0=false):
    // [[FlexSearchForm?FSF_showForm=0]]
    $showSearchWithResults = 1;

    // end quote of the snippet