2 Jun
2004
2 Jun
'04
1:07 a.m.
On Tue, Jun 01, 2004 at 04:58:53PM -0700, Jason C. Leach wrote:
hi All:
What does this translate to in ZPT: <dtml-if name="user_can_edit"> Perhaps here/user_can_edit or python:here.user_can_edit? Both don't seem to work.
"don't seem to work" is vague. What error do you get? The solution depends on where user_can_edit is found... Is it set with a <dtml-let> elsewhere in the original dtml? if so, then you don't need the "here" prefix. Does it come from the request? If so, then you want request/user_can_edit. -- Paul Winkler http://www.slinkp.com