We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25663 MODX Staff
    • 12,272 Posts
    It doesn’t seem to be recording votes and is redirecting to the home page on submit in safari because of the action. Make it
    action="[*id*]"
    and it should get rid of that behavior.
      Ryan Thrash, MODX Co-Founder
      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
      • 18397
      • 3,250 Posts
      Its running great on my production server with FURLs and Friendly Alias Path.
        • 10487 MODX Staff
        • 1,535 Posts
        @rthrash: I’ve tried that on my local machine and when I submit the vote, it breaks on mine because it tries to access something like:

        http://www.immerse.me.uk/modx/39 (returns a 404)

        Any ideas? Please tell me if I’m being dimwitted and missing something really obvious.

        Cheers, Garry
          Garry Nutting
          Senior Developer
          MODX, LLC

          Email: [email protected]
          Twitter: @garryn
          Web: modx.com
          • 22303 MODX Staff
          • 10,725 Posts
          Did you update the .htaccess file with the absolute path back to the web server root as described in the comments in that file? For instance, it looks like you are using /modx/ as the root for the modx installation, so the mod_rewrite rule needs to look like this...

          # If your MODx installation is in a subdirectory, change the following line to match the physical
          # path to the "root" of the site as follows:
          # RewriteRule ^(.*)$ /path/to/subdirectory/index.php?q=$1 [L,QSA]

          RewriteRule ^(.*)$ /modx/index.php?q=$1 [L,QSA]
            • 2762
            • 1,198 Posts
            Work fine here: http://www.tattoocms.it with FURL and friendly alias path.
            Better if call uncached like [!pollvotes!] and [!pollresults!]


            Only one question:
            How to clean votes??

            Thanks a lot wink
              Free MODx Graphic resources and Templates www.tattoocms.it
              -----------------------------------------------------

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

              bubuna.com - Web & Multimedia Design
              • 10487 MODX Staff
              • 1,535 Posts
              That’s so cool, Banzai!! To see somebody using it already ... grin

              With regards to cleaning votes, I’m going to include an option in the next update. With the snippets working as they should now, I’m devoting a bit of time to the manager module.

              Probably won’t be until tomorrow before I can get the update out but should solve the remaining issues.

              See ya for now, Garry
                Garry Nutting
                Senior Developer
                MODX, LLC

                Email: [email protected]
                Twitter: @garryn
                Web: modx.com
                • 32963
                • 1,732 Posts
                Hi Garry,

                Very nice set of snippets. It would also be nice if you can turn it into a Module smiley

                Having it as a module you can allow the users to easily setup polls.
                  xWisdom
                  www.xwisdomhtml.com
                  The fear of the Lord is the beginning of wisdom:
                  MODx Co-Founder - Create and do more with less.
                  • 10487 MODX Staff
                  • 1,535 Posts
                  Hi Raymond,

                  It would also be nice if you can turn it into a Module

                  There’s a module included to allow for setting up polls, and I’ll be getting a second release out later that solves a few outstanding issues - just testing it now.

                  Cheers, Garry

                    Garry Nutting
                    Senior Developer
                    MODX, LLC

                    Email: [email protected]
                    Twitter: @garryn
                    Web: modx.com
                    • 10487 MODX Staff
                    • 1,535 Posts
                    Hi all,

                    I have now uploaded Version 1 of the Poll Modules and Snippets in the first post of this thread.

                    Major changes have been made to the Poll Module so I would recommend that this gets updated if you are already using the module.

                    Go to start of thread: http://modxcms.com/forums/index.php/topic,2549.msg17378.html#msg17378

                    And of course, any feedback and suggestions are welcome.

                    Cheers, Garry

                    ps. Can any of the moderators remove the ’(Beta)’ from the title of the thread? If not, no worries.
                      Garry Nutting
                      Senior Developer
                      MODX, LLC

                      Email: [email protected]
                      Twitter: @garryn
                      Web: modx.com
                      • 32241
                      • 1,495 Posts
                      I think you can edit your own post, isn’t it?

                      Btw, cool stugg. So you finally have the snippet ready to go. Two thumbs up smiley
                        Wendy Novianto
                        [font=Verdana]PT DJAMOER Technology Media
                        [font=Verdana]Xituz Media

                      This discussion is closed to further replies. Keep calm and carry on.