2 Nov
2000
2 Nov
'00
8:33 a.m.
In article <DB56BAD3BFCED3119D3100D0B72386560713C41E@wcgtule103.wcg.will iams.com>, Farrell, Troy <troy.farrell@wilcom.com> writes
Sorry. -2 points for lack of clarity (my fault)
I thought you were talking about a document. If you want to do something like that you will need to use <dtml-with> inside your documents. The only way I know to prevent a user from doing this by typing a URL is to set some security permissions.
You might look at http://www.zope.org/Members/rossl/SpecificContext It is not specific to your problem, but it might help.
Troy
... well I eventually succeeded for dtml-methods with this kind of thing <dtml-if "absolute_url() != URL1"> <dtml-raise NotFound>.....</dtml-raise> </dtml-if> -- Robin Becker