Include it in the layout as an element and set the url of the form to go to the non global form so you can show validation errors etc. http://book.cakephp.org/view/1081/Elements
If you are storing the comments into the database (a good idea if the company is to collect email addresses) then this should have it's own model. If not then you could maybe add a Contact action to the pages controller and run the business logic in there to send the email. HTH, Paul @phpMagpie On Sep 8, 2:09 am, creat1v1ty <[email protected]> wrote: > Hello, > > I am building a site for a client using Cake (latest), and they would > like to have a mini-contact form (name, email, comments) as a global > element on all pages, in the footer. > > There will also be a standard "Contact" page on this site. > > What's the best way to handle the global/footer form? What model/ > controller would I use? Should I use Ajax/jQuery? > > I appreciate any help. Thanks! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
