17 Jul
2001
17 Jul
'01
8 p.m.
hello all, i have zope 2.3.x installed on Linux. i want to great users of restricted area with their name, how would i do this in a simple way in DTML? for example, if user = elvis hello Mr. Elvis Presley, welcome to our site. elif user = john hello Mr. John Lennon ... etc. thank you for your help. ismet
17 Jul
17 Jul
9:40 p.m.
New subject: [Zope] Greeting users.
Ismet Dere writes:
if user = elvis hello Mr. Elvis Presley, welcome to our site. elif user = john hello Mr. John Lennon .... etc. <dtml-let user="AUTHENTICATED_USER.getUserName()"> <dtml-if "user == 'elvis'"> hello Mr. Elvis Presley, welcome to our site. <dtml-elif "user == 'john'> .... </dtml-if> </dtml-let>
Dieter
9030
Age (days ago)
9030
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dieter Maurer -
Ismet Dere