On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Thi is my ajaxsearch call:
    [!AjaxSearch? &ajaxSearch=`0` &subSearch=`17,2-2` &showIntro=`0` &landingPage=`88` &tplLayout=`form-search` &showResults=`0` !]

    My chunk form-search is very similar to default, but is not loaded. So i think that this feature didn't work. The only way to modify the template is modifiend the default template.

    Has any people other experiences?
      "Destiny is not a matter of chance, it's a matter of choice"
    • I have found the problem by myself!!!

      the correct tag is &tplInput not &tplLayout !!!
      i think that is need to update the wiki!!!

        "Destiny is not a matter of chance, it's a matter of choice"
      • i think that is need to update the wiki!!!
        You are probably right.
        As I didn't write myself this wiki, I don't maintain it. For a (rather) uptodate documentation look at the cheatsheet.

        And look at the demos of the ajaxSearch demo site.
        • cocorico many thanks, very helpful doc!
          I think the best thing would be to make that users can update the wiki by yourself. [ed. note: fabryshock last edited this post 8 years, 7 months ago.]
            "Destiny is not a matter of chance, it's a matter of choice"
          • Hi coroico,
            in your website http://www.evo.wangba.fr i don't find the &subsearch parameter.
            In version 1.9.2 is along managed? i have make a function that set the parents field but in the log parents is empty....

            if(!function_exists('prodotti')){
            function prodotti(){
                 $config = array();
                 $config['parents'] = '2';  
                 //return $config;
               }
             }
            


            In attach my log file

              "Destiny is not a matter of chance, it's a matter of choice"