Hi, i have a problem again, now i'm trying to make this search with ajax mode.
snippet call:
[!AjaxSearch? &ajaxSearch=`1` &showResults=`1` &whereSearch=`content|tv|maxigallery` &showInputForm=`1` &landingPage=`7` &tplAjaxResult=`withMaxigalleryResult`!]
when in withMaxigalleryResult chunk snippet of maxigallery called uncached, like this:
[+as.gal_idShow:is=`1`:then=`
[!MaxiGallery? &pic_query_ids=`[+as.gal_id+]` &galleryPictureTpl=`galleryPictureTpl`!]
`+]
the search works fine, but not showing pictures, just pages and this snippet call as text, like in my pervious try, but when i'm change it to cached version, it stops working. In console i have this response from query to index-ajax.php:
<html><head><title>MODx Content Manager » </title>
<style>TD, BODY { font-size: 11px; font-family:verdana; }</style>
<script type='text/javascript'>
function copyToClip()
{
holdtext.innerText = sqlHolder.innerText;
Copied = holdtext.createTextRange();
Copied.execCommand('Copy');
}
</script>
</head><body>
<h3 style='color:red'>« MODx Parse Error »</h3>
<table border='0' cellpadding='1' cellspacing='0'>
<tr><td colspan='3'>MODx encountered the following error while attempting to parse the requested resource:</td></tr>
<tr><td colspan='3'><b style='color:red;'>« `` is not numeric and may not be passed to makeUrl() »</b></td></tr><tr><td> </td></tr><tr><td colspan='3'><b>Parser timing</b></td></tr><tr><td> MySQL: </td><td><i>0.0185 s</i></td><td>(<i>2 Requests</i>)</td></tr><tr><td> PHP: </td><td><i>1329565002.5499 s</i></td><td> </td></tr><tr><td> Total: </td><td><i>1329565002.5684 s</i></td><td> </td></tr></table></body></html>
It must be again something with the embedded maxigallery snippet call, without it search search with ajax mode works fine, but i don't know how to fix it.