I’m trying to use the AjaxSearch snippet to search a series of weblinks that DO NOT display in the menu, and I’ve worked out most of it. My call is supposed to search all the weblinks under my document 117:
[!AjaxSearch?&parents=`117` &hideMenu=`1` &whereSearch=`content:pagetitle,longtitle,description,alias,menutitle,content` &depth=`4` &hideLink=`0`!]
A couple things: the &whereSearch parameter seems to be incorrectly documented on the wiki
http://wiki.modxcms.com/index.php/AjaxSearch... shouldn’t I be able to say &whereSearch=`site_content:pagetitle`? However, specifying "site_content" as the table name generates an error.
The other thing is formatting the actual form... how is this formatted? I don’t want the black border etc...
Can anyone shed some light on this?