Re: [Zope] list of users tied to database

2000-09-14 Thread tom smith

on 14/9/00 9:28 am, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:

 Did you try this proposal posted yesterday ?

Yep, and I can't quite get it to work. I'm still trying though

tom


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] list of users tied to database

2000-09-13 Thread tom smith

I'm trying to create a list of users' emails. There is a table called
"tblUsers" and a field called "Email".

I have created a sql method called "get_email(UserName)" which works fine.



dtml-in "theOTHERintranet.acl_users.getUserNames()"
  dtml-in "get_email('UserName=dtml-var sequence-item')"
 dtml-var Emailbr
 /dtml-in
/dtml-in

any ideas anyone?

thanks

tom


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] list of users tied to database

2000-09-13 Thread Geir Bækholt

on Wednesday, September 13, 2000 tom smith wrote :
ts I'm trying to create a list of users' emails. There is a table called
ts "tblUsers" and a field called "Email".
ts I have created a sql method called "get_email(UserName)" which works fine.
ts dtml-in "theOTHERintranet.acl_users.getUserNames()"
ts   dtml-in "get_email('UserName=dtml-var sequence-item')"

ts any ideas anyone?

Don't nest DTML inside DTML
try something like :
dtml-in "get_email('UserName=_['sequence-item']')"


--
Geir Bækholt
web-developer/designer
[EMAIL PROTECTED]
http://www.funcom.com



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )