i’m having some problems with the FlexSearchForm snippet. i have a small search box in the header of my page and i don’t want the results to list up there. i call it like this:
[[FlexSearchForm?FSF_landing=31&FSF_showResults=0]]
In My template, I took the search form at the top of the page and put this in the body of the page:
[!FlexSearchForm?FSF_landing=31&FSF_showResults=1&FSF_showForm=1!]
That’s pretty much all i have in the template. Finally, in my landing page, I have this:
However, when I do a search, i get this:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: Invalid argument supplied for foreach()
Error type/ Nr.: Warning - 2
File: /htdocs/st/manager/includes/document.parser.class.inc.php(705) : eval()’d code
Line: 690
What am I doing wrong????
Thanks,
mike