We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34162
    • 1 Posts
    This is an auto-generated topic for <a href="http://modxcms.com/extras/package/103">Doc Finder Module 1.6-final</a> by bogdanio.

    Brief Description:
    <p>Doc Finder offers a fast Ajax powered search and replace for the manager with neatly arranged results and one click edit function.</p>



    <p>At some point big MODx sites are difficult to handle with the document tree in the manager. Or you just want to check all the documents, chunks or snippets of your site containing a specific text? And then replace that by another text? Then Doc Finder is for you.</p>



    <h4>Features</strong></h4>

    <ul>

    <li>Ajax powered results loading.</li>

    <li>Remembers your search options for the whole session.</li>

    <li>Search in documents and all resources.</li>

    <li>Edit, view or open a document with one click.</li>

    <li>See the position of the document in the document tree.</li>

    <li>See in which TV the search string has been found.</li>

    <li>Use AND, OR, NOT or ALL in your search.</li>

    <li>Use regular expressions for your search.</li>

    <li>Search in all TVs or just in specific ones.</li>

    </ul>



    <h4>Demo</h4>

    <p>See Doc Finder in action at trymodx.com:


    URL: http://docfinder.trymodx.com/manager/


    Login: demo_user / demo_user</p>



    <h4>Requirements</h4>

    <ul>

    <li>PHP 5.x</li>

    <li>MODx running with UTF8 character encoding</li>

    </ul>
      • 26931
      • 2,314 Posts
      Hi Bogdan,

      thanks for sharing! smiley

      the module doesn’t seem to be running on http://docfinder.trymodx.com ( it’s installed though )
        • 36451
        • 264 Posts
        Yes, please enable "Run modules" permission for demo_user wink
          • 30176
          • 99 Posts
          This looks like a very nice module!

          Having a bit of a challenge getting it up and running.

          Getting the error when first opening:
          Doc Finder 1.6 - Module runtime error:

          An error occurred while loading the module. Please see the event log.

          The log shows for Doc Finder 1.6 - Module - System Events
          Undefined index: REQUEST_URI


          Using Evo 1.03
          PhP 5.2.6
          short_open_tag = On
          MODx running with UTF8 encoding

          Thanks
            "Remember what Bilbo used to say: It's a dangerous business, Frodo, going out your door. You step onto the road, and if you don't keep your feet, there's no knowing where you might be swept off to."
            -J.R.R. Tolkien from The Lord of the Rings
            • 24731 ☆ A M B ☆
            • 211 Posts
            I just began playing with this one for the first time. After submitting a search seems to work quite well, except for a depreciated function:

            Deprecated: Function split() is deprecated in /home/***/public_html/assets/modules/docfinder/functions.php on line 512

            using: PHP Version 5.3.2

            Cheers,
            Jose R. Lopez
              • 5430
              • 247 Posts
              Works fine except it doesn’t want to find url strings with spaces in the src attribute (i.e. src="assets/images/WM Directors"). Anything I could be doing wrong?
                • 36192 ☆ A M B ☆
                • 55 Posts
                Quote from: redstormj at May 28, 2010, 05:27 AM
                I just began playing with this one for the first time.  After submitting a search seems to work quite well, except for a depreciated function:

                Deprecated: Function split() is deprecated in /home/***/public_html/assets/modules/docfinder/functions.php  on line 512

                using: PHP Version 5.3.2

                Cheers,
                Jose R. Lopez

                Hi, this is easily fixed by updating the following lines:
                File: /assets/modules/docfinder/functions.php

                Line 512:
                $searchFieldArray=split(", ", $sqlSelection);

                Change to:
                $searchFieldArray=explode(", ", $sqlSelection);


                and

                Line 668:
                $searchFieldArray=split(", ", $sqlSelection);

                Change to:
                $searchFieldArray=explode(", ", $sqlSelection);


                I'm not sure if this module is maintained or not, but hopefully if it is the owner will update the calls to the deprecated php function "split" to using "explode".