MODX FormLog hook to store formIt data in a jSon

28 Jan 2012

I was looking for a simple way to store FormIt data, so i came up with this simple hook:

Dynamic google map markers via simple jSon file

27 Jun 2011

After making my previous post on how to simply store comments in a jSon file (and the comment from Brian) I decided to write an additional HOWTO create dynamic markers and store them in a jSon file.

It also includes an automatic geo data lockup via Google GeoCoder and generates a detail html file for-each marker created, which then will be loaded dynamic when the marker is clicked.

Check out the working example or download the code.

Read the rest of this entry »

PHP Simple Comments Read/Write jSon data to text file

04 Mar 2011

A few days ago i had to build a simple comment form. First i thought about MYSQL etc, but this all seems to be too complicated. So i came up with a simple solution based on jSon and a TXT file.

Check out the example page or download source code.

So that’s how it cooks:

Read the rest of this entry »

Switch to our mobile site

Clicky