[Zope] RFC: is this the best way to make a referal app and a "jump" nav
menu *2nd time*
menu *2nd time*
George Donnelly
gsd@mac.com
Wed, 05 Jul 2000 09:54:16 +0900
Basically i would like people's opinions as to whether i built these things
in the "right" way or not. tia!
>jump menu
*created a selection list and told it to pass a variable (the url of the
selected item) called "url" to a method called "jump" which consists of the
following:
<dtml-call "RESPONSE.redirect(url)">
its a little slow but it works :-)
>referral product (as in http://www.recommend-it.com/)
i pass the variables on the first page (where people enter name, email, and
up to 5 of their friends email addresses) to a method called success
here's the problem i think: since i am enabling people to email up to 5
friends, i've got 5 copies of the same email message in the success method
inside the sendmail tags. the last 4 are in if statements.
i know there must be a better way but i really have no idea. any help?
(btw if anybody wants to use these things just email me and ill send you the
terribly simple yet useful code. :-)
tia!
Regards,
G e o r g e D o n n e l l y
George@LetsJapan.com
http://www.LetsJapan.com/
Share Your Experiences, Learn From Others' !