
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] mailing lists on checkout
Hi,
you'd like to select by default one newsletter is that ?
Perhaps using a combo box with yes or no for the selection.
modify checkout.html :
replace this :
<<
[perl tables="__UI_META_TABLE__ mv_metadata"]
return;
[/perl]
[input-filter name=mail_list op=null_to_space][/input-filter]
[display table=userdb type=multiple column=mail_list key="[data
session username]"]
>>
by this
<<
<SELECT NAME=mail_list>
<OPTION VALUE="Newsletter" selected>Yes</option>
<OPTION VALUE="">No</option>
</select>
>>
After, only use your shell to retrieve all email that have "Newsletter" in
the ML field.
Hope that help
----- Original Message -----
From: "sphen boyle" <interch@nawabenterprises.com>
To: <interchange-users@interchange.redhat.com>
Sent: Wednesday, November 14, 2001 2:19 AM
Subject: [ic] mailing lists on checkout
> just stated worrying about the mailing list section of the checkout. as of
> right now im not sure exactly if interchange has some easy way of keeping
> the emails for each list so i made a quick shell script to do a sql query
> on the user_db database to save them to a file. Does anyone know how to
> select one of the lists automatically? I looked at the checkout.html and
> it seems tricky since if you are logged in it probably queries the db and
> has them already selected if you have selected them previously. Does
> interchange have some easy command to do this?
>
> thanks
>
> -sphen boyle
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users