We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40088
    • 708 Posts
    Is it possible to use getResources (or getPage) to display SimpleSearch results?

    For example, I'm currently using this on the SimpleSearch landing page:
    [[!SimpleSearch?
        &elementClass=`modSnippet`
        &ids=`[[!getReqParam? &name=`parent`]]`
        &includeTVs=`1`
        &perPage=`4`
        &containerTpl=`Search Container`
        &tpl=`Search Result`
        &sortBy=`publishedon`
        &sortDir=`DESC`
        &noResultsTpl=`No Results`
        &pagingSeparator=``
    ]]


    It works ok but for various reasons I would prefer to use getResources or getPage instead to process search results.
      Todd