* 0 : search in content of type document AND reference
* 1 : search only in content of type document [!AjaxSearch? &asId=`as1`!]The snippet calls seem correct. do you have any js issue ?
<hr />
[!AjaxSearch? &asId=`as2`!]
What’s my problem?
Uhmm... it works for 1 AS, so it should have no problem with that, shouldn’t it?With &ajaxSeach=`1` (by default), you should load the two following js. See the code of this demo page
I don’t have any js call inside my template. yet.
<script type="text/javascript" src="manager/media/script/mootools/mootools.js"></script> <script type="text/javascript" src="assets/snippets/ajaxSearch190b/js/ajaxSearch1/ajaxSearch.js"></script>
Have been replace by grpLabel. When you define a category with an abreviation like "geo", it could be proper to display a title like "Geography". So use the grpLabel to display a proper value. Look at the demo page and follow the link to the custom2 configuration file
<!--[if lte IE 6]>
<meta HTTP-EQUIV="REFRESH" content="0; url=index.php?upgradebrowser.html">
<![endif]-->
<script type="text/javascript" src="manager/media/script/mootools/mootools.js"></script>
<script type="text/javascript" src="assets/snippets/ajaxSearch/js/ajaxSearch1/ajaxSearch.js"></script>
<!-- start AjaxSearch header -->
<script type="text/javascript">
//<![CDATA[
asvar[asvar.length]='{"as_version":"1.9.0","advSearch":"oneword","subSearch":"","ucfg":"&asId=`as2` "}';
//]]>
</script>
<!-- end AjaxSearch header -->
</head>
I’ve tried your site with FF, Safari, Opera & Chrome, and it works.
Which browser do you use to test the demo 1.9 ? I need feedbacks from IE, chrome and Safari browser usage. Thanks.
<!--[if lte IE 6]>
<meta HTTP-EQUIV="REFRESH" content="0; url=index.php?upgradebrowser.html">
<![endif]-->
<script type="text/javascript" src="manager/media/script/mootools/mootools.js"></script>
<script type="text/javascript" src="assets/snippets/ajaxSearch/js/ajaxSearch1/ajaxSearch.js"></script>
<!-- start AjaxSearch header -->
<script type="text/javascript">
//<![CDATA[
asvar[asvar.length]='{"as_version":"1.9.0","advSearch":"oneword","subSearch":"","ucfg":"&asId=`as1` "}';
//]]>
</script>
<!-- end AjaxSearch header -->
$line = (!$this->asCfg->cfg['asId']) ? "asvar=new Array();asvar[0]='{$json}';" : "asvar[asvar.length]='{$json}';";
Do you mind to tell me about this?
What is the correct statement of this?
// ’tb_alias:display_function_name[,[tb_alias:display_function_name]*]’ : set up placeholders for custom joined tables
[+as.xxxxClass+] a class name equal to:
- ajaxSearch_resultXxxx for the non ajax results (&tplResult)
- AS_ajax_resultXxxx for the ajax window (&tplAjaxResult)
and in any case the extract result built with &extract parameter:
[+as.extract+], [+as.extractShow+], [+as.extractClass+]
with AS_ajax_resultExtract (ajax) or ajaxSearch_resultExtract (non-ajax) as class names