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

    The remaining echo is line 328 => echo $debugSQL;

    The version you have is the only one I’ve released.
    I’ve made a lot of changes to the code but have no time to finish it for a public release.


    :-)
      Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
      • 26931
      • 2,314 Posts
      wow laugh merci beaucoup - it’s working!

      again, what a great modul!!!!!

      regards, j

        • 22574
        • 181 Posts
        Hi all,

        I got my forms working with the help of Bob.

        But I have a new random question:
        How do I get the form to open to a specific url?

        I tried this
        <form action= "[~[*id*]~]" method= "post" action="index.php?q=3.html" >

        I also tried
        <form action= "[~[*id*]~]" method= "post" action="index.php?q=3.html" target="_blank" >
        And it all works except it ignores the action and just stays on the current page.

          • 11975
          • 2,542 Posts
          Hi,

          change :
          <form action= "[~[*id*]~]" method= "post" action="index.php?q=3.html" >

          To:
          <form action= "[~3~]" method= "post" >

          The doc with ID 3 must contain the same snippet call as the refering page.

          :-)


            Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
            • 22574
            • 181 Posts
            Thanks that worked great!
              • 26931
              • 2,314 Posts
              Hi heliotrope,

              would it be possible to set the values for two dropdown-lists in the product search in relation to each other? for example, i choose a country in the first dropdown, and the second dropdown will then show me just the options for that specific country...?

              best regards, j
                • 22574
                • 181 Posts
                I want to try something different,

                instead of a form that the user chooses from drop down menus, I want to set tvExplorer to just display the results of a set value eg: display all of the pages with the feature TV set to yes as soon as the page loads instead of the user having to click search.

                Something like:
                [[tvExplorer? &dittoName=`ditto` &dittoSnippetParameters=`tpl:resultsTpl|parents:4|depth:1|display:all|sortBy:pagetitle|sortDir:ASC` &featured=`yes`]] [+tve.dittoList+] 
                  • 38097
                  • 4 Posts
                  I want to be able to create a search page, say with business name, city, state, and then do a search and show all the businesses that match that criteria.
                  I have 15 million businesses.

                  Is this something that tvExplorer would be able to handle??
                  Right now the businesses are stored in a table in mysql.

                    • 9207 ☆ A M B ☆
                    • 2,475 Posts
                    15 million?!? That's gotta be a huge database. My guess is that the performance of searches on a record set that large would not be very good when TVs are concerned... it might interesting to try, but if you've got 15 million records, then I would recommend you create a custom database table(s) to store your data and index it well. Then you can write your own search form to browse the data.owse the data.
                      • 38097
                      • 4 Posts
                      I use SphinxSearch inside of MySQL, so I can do a normal mysql query and retrieve what I want very quickly.
                      I am brand new to Modx so I will continue and see if I can figure out how to make it work.
                      If you have any examples of writing my own search form and browsing the data, I will look at it.
                      Thanks
                      ASawyer