Showing posts with label php. Show all posts
Showing posts with label php. Show all posts

10 November 2011

Modx, eForm and form validation


For those of you using the excellent CMS Modx, here's a snippet of information you may find useful. A website I created, with Modx, also has a contact form, utilising the eForm snippet and parser. I enabled Captcha in the settings and added the necessary calls to invoke the Captcha on the contact form. However, whilst the Captcha did appear to be working, and checking for validation on submit, the Captcha image wasn't being rendered. I figure the server the website is hosted on doesn't have the necessary libraries installed to do so, so another method was called for.

I stumbled across an article which describes how to use a built-in eForm technique, and a tiny bit of CSS (one line actually), and I'm happy to report that it works! Visit the link below to learn more:

http://bigbuddymarketing.com/eliminate-spam-in-modx-eform-without-captcha

2 September 2009

25 June 2009

JQuery and PHP | Drag and drop

Check out this useful code; using JQuery to enable drag and drop, but it also uses PHP to store the order state into the database. Look here for more info:

http://www.webresourcesdepot.com/dynamic-dragn-drop-with-jquery-and-php/

26 January 2009

Plogger - PHP gallery system

Quote taken from the website:
"Plogger is the next generation in open-source photo gallery systems. A web application not bloated with superfluous features or complicated configuration settings. Plogger is a simple yet powerful tool — everything you need to share your images with the world. Plogger is your photos integrated into your website, a fully featured photo sharing package with an attractive and easy to use administrative interface that makes managing your galleries a breeze. Integrating our gallery software into your website is as easy as inserting three lines of PHP code. And did we mention the price? Absolutely Free. Plogger requires a server setup with at least MySQL v3.23, GD1.0, and PHP4."

Visit their website to download Plogger and learn more:
http://www.plogger.org/