tcampion Posted February 7, 2010 Share Posted February 7, 2010 Sorry if this sounds like a repost. I've searched the forums and and haven't found what I'm looking for. What I would like to do is send the contact us info to a database table instead of email. has anyone done this or have an example of creating a form which posts to a table? I'm also interested in any documentation on prestashop for creating modules etc.. any links greatly appreciated. Link to comment Share on other sites More sharing options...
uddhava Posted February 7, 2010 Share Posted February 7, 2010 info on creating modules :http://www.ecartservice.net/17072009/writing-your-own-prestashop-module-part-1/http://www.davidstclair.co.uk/Creating-Simple-PrestaShop-Payment-Module.htm Link to comment Share on other sites More sharing options...
tcampion Posted February 9, 2010 Author Share Posted February 9, 2010 Thanks for the reply. I've seen the first link but not the second one. I will try to cobble something together and let you know how it goes.TC Link to comment Share on other sites More sharing options...
tcampion Posted February 11, 2010 Author Share Posted February 11, 2010 OK I'm really struggling with this. I can create a table just fine, and a form for data entry. I'm missing the secret to adding form data to a table. I've seen examples of sending form data via email but cant make the leap to capturing the data to a table. Link to comment Share on other sites More sharing options...
wildchief Posted February 15, 2010 Share Posted February 15, 2010 Hello there,I might be able to help - can you let me know where you get stuck? Are you saying your form doesn't write data to your table? You probably have already checked these but just in case:Does the table exist when you are attempting to write to it? For example has your installation function "public function install()" created the table? (I think it has by your description.) If you haven't got a working install routine yet. Can you make the table manually for now?Can you post what you have in a zip file and explain what is failing and what it should do?Basically you need your form to capture the fields and then pass them to a routine which will write them your your table.Post what you have so far and I can see if I can help!CheersDave Link to comment Share on other sites More sharing options...
Recommended Posts