[ic] email tag for ship_notice CHANGED:[if value email_copy ...] on ship_notice

Paul Jordan interchange-users@interchange.redhat.com
Sat May 11 10:27:01 2002


> [...]
>
> > [loop prefix=user search="
> > 		fi=userdb
> > 		st=db
> > 		sf=username
> > 		se=[loop-data transactions username]
> > 		ml=1000
> > 		rf=email_copy
> > "]
> > [if value "[loop-data userdb email_copy]" eq 1]
> > Email...plain text...
> > [elsif value "[loop-data userdb email_copy]" eq 2]
> > Email ...html format....
> > [/elsif]
> > [/if]
>
> Probably there need to be a closing [/loop]. The other thing is that
> you choosed prefix=user, so within the loop you need to use
> [user-data userdb email_copy] etc. The next thing your if's are
> wrong. Please read the docs.
>
> Ciao
>         Racke
>
> --

Oh, right, good call Racke. I blew right past the prefix. That is why Racke
gets the big bucks :)

Paul