Todd
(answered on user-list since this is not a dev question)
How about using the PUR module for it?
see http://svn.magnolia.info/view/modules/community/magnolia-module-
public-user-registration/
Maybe overkill, depending on what you need, but it's an example at
least of how to capture public info
- Boris
On Feb 4, 2008, at 7:01 AM, Todd J. Haser wrote:
Hi Group,
Simple question... Once again, sorry to be referring to CQ, but it
is the only point-of-reference I have to work with...
Let's say I have a simple 'give us your e-mail address page for
future updates'. So, it has a form with one text field (for e-mail
address) and a 'go' button for submitting the form... What is the
preferred Magnolia way of handling this? Would I:
- Call a servlet and write some jdbc logic to stick the value in a
MySQL (or other) database? (if so, how do I just write a page
redirect template for returning back from the servlet?)
or
- Create a template (not accessible to the general public) with
which I add custom atoms/properties to? Then, when someone signs
up, I create a new template and populate the atom/property?
or
- Create a template and a custom paragraph/component - then when
someone signs up, I add a new paragraph/component to the template
for each new person?
Thanks,
--
Todd J. Haser
Sr. Software Consultant/Technical Specialist
Enterprise Content Management
Sun Microsystems, Inc.
US
Phone (480) 240-9776
Mobile (480) 862-4300
Email [EMAIL PROTECTED]
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------