We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10779
    • 22 Posts
    Is it possible to get the number of the current result in the AjaxSearch plugin?

    So if I have 30 results returned, I can enumerate the results in a list.

    If this functionality does exist, I can’t seem to find it in the documentation.

      • 10779
      • 22 Posts
      Maybe someone might know where I can get a list of all possible replacement variables for ajaxsear... i.e. [+as.resultClass+]
        • 5811
        • 1,717 Posts
        Maybe someone might know where I can get a list of all possible replacement variables for ajaxsear... i.e. [+as.resultClass+]
        Yes I can do it !
        But I don’t understand the question ! grin

        So if I have 30 results returned, I can enumerate the results in a list.

        If this functionality does exist, I can’t seem to find it in the documentation.
        What do you mean, by " I can enumerate the results in a list" ?
          • 10779
          • 22 Posts
          Oh sorry, maybe I’m crossing definitions.

          I don’t mean an enum, i simply mean that I could access the number 37 for the 37th returned result.

          Something like [+as.resultIndex+]...

          Do you know of a resource for all of the ajaxSearch placeholders?

          Thanks so much for your help
            • 5811
            • 1,717 Posts
            I don’t mean an enum, i simply mean that I could access the number 37 for the 37th returned result.
            Something like [+as.resultIndex+]..
            No, it doesn’t exist a placeholder to access to a specific search result in the result list.

            I know that the documentation should be improved on this subject.
            Find enclosed the ajaxSearch_version_180.txt where it has been describe the use of some placeholders. The 1.8.0 is the release which has brought the templating and the use of phx.
              • 10779
              • 22 Posts
              Thank you kindly sir!
              I appreciate the help.

              The attention you guys pay to this forum helps make this CMS all the better!