We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13135
    • 30 Posts
    Hi,

    I am trying to add AjaxSearch in the header section of all my site templates. I can get it working on the homepage and other main level pages, but when used in a sub page (domain.com/subcategory/pagename) it won’t send to the landing page (id69 in the root) and sends to (domain/subcategory/landingpage) which doesn’t exist.

    AS call in template is:
    [!AjaxSearch? &ajaxSearch=`0` &tplLayout=`search-form` &showIntro=`1` &showResults=`0` &landingPage=`69`!]

    Results page call:
    [!AjaxSearch? &ajaxSearch=`0` &showInputForm=`0`!]

    Any ideas?