28 May
2002
28 May
'02
6:14 p.m.
On Tue, May 28, 2002 at 12:17:40PM -0300, Daniel Schmitz wrote:
how i get the member role using dtml (or python)?
Exemple: "Hi user <dtml-var user>, you are <dtml-var member>" ==> "Hi user Daniel, you are Member" or ... "Hi Guest, you are Anonymous"
DTML version, possibly not the best way to do it anymore, but a Google search for the various function calls it uses will likely yield your other alternatives: http://www.zope.org/Members/hdw/How-to/usrinf -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu