We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6048
    • 27 Posts
    In manager it works, but on site - not. What am i doing wrong ?

    System configuration - as in http://modxcms.com/forums/index.php?topic=1416" target="_blank" rel="nofollow">/http://modxcms.com/forums/index.php?topic=1416
      • 2762
      • 1,198 Posts
      FlexSearchForm snippets don’t works? have you set the result page?
        Free MODx Graphic resources and Templates www.tattoocms.it
        -----------------------------------------------------

        MODx IT  www.modx.it
        -----------------------------------------------------

        bubuna.com - Web & Multimedia Design
        • 33337
        • 3,975 Posts
        You have to create a new page for search results and then use the snippet like this
        [!FlexSearchForm?FSF_landing=1234!]


        Where 1234 = your new page created for search results

        Hope it helps.

        regards,

        zi
          Zaigham R - MODX Professional | Skype | Email | Twitter

          Digging the interwebs for #MODX gems and bringing it to you. modx.link
          • 6048
          • 27 Posts
          Quote from: zi at Nov 17, 2005, 06:09 AM

          [!FlexSearchForm?FSF_landing=1234!]

          Where 1234 = your new page created for search results

          Cheched out - it was initially by default, in either search and 404 pages. Not working.
          Results doc contains:
          [[FlexSearchForm? &FSF_showForm=`0`]]
            • 33337
            • 3,975 Posts
            What is you site address ?
              Zaigham R - MODX Professional | Skype | Email | Twitter

              Digging the interwebs for #MODX gems and bringing it to you. modx.link
              • 6048
              • 27 Posts
              Quote from: zi at Nov 18, 2005, 03:04 AM

              What is you site address ?

              http://modx at localhost.
              I may search the docs how to open it externally, but this may be tricky - it has "virtual servers" for several projects, all written into hosts file to 127.0.0.1 IP.
                • 33337
                • 3,975 Posts
                try with [!...!] uncached snippets..

                Here what I did for my site (internal development)

                1. I created a new page, named it Search Results, then I read its ID (e.g. 28)

                2. Now I write this code in my template where I want to show the search box
                [!FlexSearchForm?FSF_landing=28!]
                

                3. Now go to the newly created page (e.g. page 28 named Search Results)

                4. Put this code inside it
                [!FlexSearchForm?FSF_showForm=0!]
                


                5. make sure the result page is published

                Now this should work (and it is working for me)

                regards,

                zi
                  Zaigham R - MODX Professional | Skype | Email | Twitter

                  Digging the interwebs for #MODX gems and bringing it to you. modx.link
                  • 6048
                  • 27 Posts
                  No, it did not work.
                    • 33337
                    • 3,975 Posts
                    Quote from: cryptomancer at Nov 18, 2005, 06:27 AM

                    No, it did not work.

                    Try refreshing your site from menu too.

                    The last thing I can do is to see/check it myself, can you make it online ?

                    Otherwise I am afraid that I (or may be we) wont able to help you further in this regard unless someone already hit by the same problem and solved it.

                    I hope you can understand this smiley

                    regards,

                    zi
                      Zaigham R - MODX Professional | Skype | Email | Twitter

                      Digging the interwebs for #MODX gems and bringing it to you. modx.link
                      • 6048
                      • 27 Posts
                      OK, today’s workday ends in 30 minutes, but at Monday i can open it for you if you tell me your IP address. I’m afraid of being cracked by worms etc if i’ll open to all Inet my development environment what is made with zero regard of security - authors of the package warn against this.

                      What is your timezone ? My comp is up Mon-Fri from about 9:00 to 18:00 GMT+3 (Moscow, Russia)