/* -------------
End configure
-------------- */
// Set Snippet Paths
$snipPath = $modx->config['base_path'] . "assets/snippets/";
include $snipPath."AjaxSearch/includes/AjaxSearch.inc.php";
include $snipPath."AjaxSearch/includes/templates.inc.php";
#include default language file
include($snipPath."AjaxSearch/lang/english.inc.php");
#include other language file if set.
$as_language = isset($language) ? $language : $modx->config['manager_language'];
if($as_language!="english" && $as_language != '') {
if(file_exists($snipPath ."AjaxSearch/lang/".$as_language.".inc.php"))
include $snipPath ."AjaxSearch/lang/".$as_language.".inc.php";
}
...change all include_once directives to include (4 times). ...-> blank page
//Form Template
'form' => '
<h3>Search</3>
<h3>Search</h3> [!AjaxSearch? &asdf=`sc`!]
<h3>Search</h3> [!AjaxSearch? &asdf=`sc`!]
<h1>Search Results</h1> [!AjaxSearch? &asdf=`sc`!]
...i am afraid it does not... sorry for my n00bness...This discussion is closed to further replies. Keep calm and carry on.