creating a contact form

Author Message

William Gourlie

Wednesday 12 May 2004 1:56:00 pm

I had run across a tutorial for creating a contact form, but it seemed to be outdated. I was wondering if there is something newer out that explains how to do this?

Mark Marsiglio

Friday 14 May 2004 10:25:10 am

I used a contact form that was in one of the demo sites to reverse engineer it. Sorry I did not have time to document the process, as it was some trial and error. However, I was able to get it working fine on my custom installation after following the steps that roughly included:
-Creating a new class called contact form with information collection on the appropriate datatypes (modeled this after the form in the demo site)
-Setting the email receiver in the site.ini.append
-modifying the template until it displayed properly

Overall, it was not as hard as I had suspected it would be. Now my editors can add a contact form anywhere on the site and change the title and the default information. The only problem is that they all email the same address with the results. There is a way around this, but I am not that good yet.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.