We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9814
    • 8 Posts
    Hello everyone, I’m close to having my site up, and live, but for some odd reason, my contact form isn’t working anymore.

    I did change the css for it a little, and I did manage to send a few emails to myself as a test, and now that I have it looking okay, it doesn’t work.

    You fill it out, and then hit send, and it just refreshes the page.

    Anyone know where the problem may be? Maybe I missed something

    http://prettyflesh.com/page_contact.skins is the page
      • 25663 MODX Staff
      • 12,272 Posts
      It’s on a cached page.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 9814
        • 8 Posts
        Thank you! I see the little info on making pages cacheable now. You can’t have it cache it, if you have a snippet.

        thanks again, works fine now grin
          • 32241
          • 1,495 Posts
          Quote from: flesh_magick at Feb 18, 2006, 06:08 PM

          Thank you! I see the little info on making pages cacheable now. You can’t have it cache it, if you have a snippet.

          thanks again, works fine now grin

          Ehm, not necessary.
          You can make the page cacheable, but when you call the snippet, use the uncached tag [!snippet!], instead of the cached tag [[snippet]]. With this, everytime a user visited your site, the snippet will be run again, so you’re fine even if you set to cache the page.
            Wendy Novianto
            [font=Verdana]PT DJAMOER Technology Media
            [font=Verdana]Xituz Media
            • 25663 MODX Staff
            • 12,272 Posts
            And actually, most snippets can in fact be cached. But snippets that deal with forms, or things that change every time (e.g., current time display) cannot.
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me