• &tplLayout not work#

  • FabryShock Reply #1, 7 months, 1 week ago

    Reply
    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?


  • FabryShock Reply #2, 7 months, 1 week ago

    Reply
    I have found the problem by myself!!!

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



  • coroico Reply #3, 7 months, 1 week ago

    Reply
    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.


  • FabryShock Reply #4, 7 months, 1 week ago

    Reply
    cocorico many thanks, very helpful doc!
    I think the best thing would be to make that users can update the wiki by yourself.


  • FabryShock Reply #5, 7 months, 1 week ago

    Reply
    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