We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3515
    • 19 Posts
    BlackSephiroth Reply #1, 15 years ago
    Good day everyone! Sorry for disturbing, but - just one question - how to make a ajaxSearch with searching only by page title. For now I'm using this:

    Calling ajaxsearch in template:
    [!AjaxSearch? &AS_landing=`5` &tplLayout=`AS_Form` &AS_showResults=`0` &ajaxSearch=`0` &whereSearch=`content:pagetitle`!]
    


    Result include page content too - but I want to search only on pagetitle.
    Thanks in advance!
      • 5811
      • 1,717 Posts
      Use &whereSearch=`content:pagetitle` in the ajaxSearch snippet call of the landing page (#5) too.

        • 3515
        • 19 Posts
        BlackSephiroth Reply #3, 15 years ago
        Thank you very much!)) A problem has been solved! There is a one more question - is a way to exclude folders (I mean a documents with "isfolder" flag)? Thanks!