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

    When a search is unsuccessful i receive this message:
    "There were no search results. Please try using more general terms to get more results."

    It’s possible to customize it? If yes, how can i do it?

      Saulo
      • 26262
      • 18 Posts
      Anyone???
        Saulo
        • 29076
        • 615 Posts
        Go to: core\packages\simplesearch-1.1.1-pl\modCategory\d9c2df62b4278ac87f8cc7bcae8892f4\0\simplesearch\lexicon\en\default.inc.php.

        The folder 9c2df62b4278ac87f8cc7bcae8892f4\0\ might be different in your case.
          I think, thererfor I am! But what I am, and why...?
          • 28215
          • 4,149 Posts
          No, no no! tongue That’s wrong.

          Go to Lexicon Management, filter to the "SimpleSearch" namespace, and find the string there. Then double-click on it to change its text.

          *Never* edit package files directly. They will be erased on upgrade.
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 29076
            • 615 Posts
            Thanks for the explanation. The reason I wrote it the way I did is because I have installed the SimpleSearch snippet in Revo 2.05, but the SimpleSearch didn’t show up in either Namespaces or Lexicon Management under System settings in manager. smiley
              I think, thererfor I am! But what I am, and why...?
              • 28215
              • 4,149 Posts
              Look for ’sisea’. I think that’s SimpleSearch’s namespace.
                shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                • 29076
                • 615 Posts
                Ah, of course. Logic!?! (Thanks) laugh
                  I think, thererfor I am! But what I am, and why...?
                  • 18373 ☆ A M B ☆
                  • 3,141 Posts
                  Editing the package? Sweet, lol.

                  If I couldn’t find it in lexicon management, I would probably first look in core/components, but hey, that’s just me! lol


                  That said, Shaun’s right of course. tongue
                    Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

                    Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
                    • 26262
                    • 18 Posts
                    Thank you guys...
                    Thank you.

                    I also thought in editing the core/components or making two SimpleSearch snippets because I’m building a two language website. However, if i do like Shaun says i’m customizing this "unsuccessful" message to both languages. I can manage this just taking off the text and putting a funny contextual image in the "unsuccessful" page. Just want to know, is possible to make it with a chunk or something like that?
                    Like so i could make the retrieve "unsuccessful" message customized to both languages without the need of two SimpleSearch snippets. If is not possible with a chunk or snippet (more simple than duplicating simpleSearch snippet) is really ok, i just use the image...

                    Again, really thanks for the support.
                    MODx team (apart that i don’t believe in Christmas and not even following the Gregorian calendar) i wish you ALL the best Christmas you can have and the most powerful New Year that it can be...
                    Thanks for this superb and great piece of CMS and hope that 2011 gives you ALL better things and feelings.
                    Thanks to community as well.

                    All the best,
                    Regards,
                    Saulo
                      Saulo
                      • 26262
                      • 18 Posts
                      This is really good to know:
                      *Never* edit package files directly. They will be erased on upgrade.

                      : )
                        Saulo