Showing posts with label modx. Show all posts
Showing posts with label modx. 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

14 September 2010

Modx: loading pages using AJAX and JQuery

Learn how to use jQuery tabs to load Modx Resources via AJAX. This tutorial will show you just how easy it is to accomplish this in MODx Revolution.

http://rtfm.modx.com/display/revolution20/Loading+Pages+in+the+Front-End+via+AJAX+and+jQuery+Tabs

Other links:
Modx CMS

21 July 2009

How to move your Modx site to your server

At the time of writing this article, ModX v0.9.6 was used. I believe the procedure has altered somewhat since that version so please check the official documentation if in doubt.

I've been working with Modx recently, and it's a cool CMS system. One area that I initially struggled with is getting a local site working on a hosting server. So here are my observations on what to do, or try, to get it working for you:

1. Create the database on your server
2. Upload all the site files to your server
3. In 'manager/includes' folder, make sure the 'config.inc.php' file is amended to suit your server database details
4. In 'assets/cache' folder, delete the 2 (probably) 'siteCache.idx.php' and the 'sitePublishing.idx.php' files.
5. Login in to the manager.
6. Go to 'Tools / Configuration' and select the 'Interface & Features' tab.
7. There, amend the 'Resource path' value to reflect your servers site path to the 'asset' folder. Then save.
8. Once saved, click the 'File Manager' tab
9. There, amend the 'File Manager Path' to reflect your servers site path to the web folder. Then save.

Your website should now work.