Hello,
I would like to know how I can do the following:
I need to have a form that when submitted stores the data in the ModX Database. Once there are submissions stored, special users will be able to login to the manager and view this information that has been submitted to the database. This I think would require a custom admin page that pulls that data.
Is this possible? Any help would be greatly appreciated.
Landon
Yes.
For your frontend access you can use either plain PHP database access or xPDO (MODx’s database abstraction layer) to access your files from your snippets.
I started out with plain PHP but switched to xPDO when I found out how much easier that makes life. It’s an excellent piece of work. Getting to know xPDO is fairly easy and there’s a lot of information floating around in the documentation and in this forum.
The CMP’s are a much bigger challenge. I took the approach of copying modExtra (a sample application covering most of the things involved with CMP’s) and modified it to my own needs, learning bits and pieces as I went along. Especially ExtJs (the Javascript framework used in MODx’s manager) is a challenge.
Good luck!
MODx Revolution / MAMP / OS X