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

    I’ve setup snippet which outputs to html CSV file content (price list).
    Snippet starts by [[Price? &id=`desktops`]], so with ’id’, i can open different csv files.
    Now, I can’t config search (AjaxSearch or other) to search within page includes snippet output.
    All pages, where snippet called are cacheable. But search does’nt work.

    Any suggestions?
      • 22303 MODX Staff
      • 10,725 Posts
      Quote from: Roman at Jan 11, 2007, 01:54 AM

      Hi there!

      I’ve setup snippet which outputs to html CSV file content (price list).
      Snippet starts by [[Price? &id=`desktops`]], so with ’id’, i can open different csv files.
      Now, I can’t config search (AjaxSearch or other) to search within page includes snippet output.
      All pages, where snippet called are cacheable. But search does’nt work.

      Any suggestions?

      There is currently no mechanism for searching the rendered final output of a MODx site, other than having external search engines index your site. The search mechanisms do not process the snippet when searching through the source content. The roadmap for 1.0 does include configurable search indexes that can be populated in a variety of ways from MODx pages and even from custom data.
        • 25450
        • 4 Posts
        Thanx for answer.

        But I am didn’t undersood this phrase: " The roadmap for 1.0 does include configurable search indexes that can be populated in a variety of ways from MODx pages and even from custom data." Can you explain it?

        Now trying to use external php search script. But when it indexes my site, all .html files outputs : "Un authorized access You re not allowed to access file folder".
        How I can allow them to be searchable?