[Zope] (newbie)-Anyone Please Help me
Li Dongfeng
mavip5@inet.polyu.edu.hk
Thu, 16 Dec 1999 18:24:33 +0800
ozric wrote:
>
> -snip-
> I tried the <dtml-var "methods.userid"> and that finds the userid file, but it
> returns plain text unrendered. here is whats in unserid.
>
Sorry about the former incorrect suggestion.
This should avoid the problem:
<dtml-with methods>
<dtml-var userid>
</dtml-with>
This is because "userid" is in fact a DTML method,
in another word, a function. So used in a expression
(inside quotation marks), it should have the parentheses
and desired arguments. Calling it without using the
expression syntax avoid giving these function arguments
yourself.
> <Center><em>Notice:<br>Restricted Access All IP's logged!</em><br>
> Your IP:<dtml-with REQUEST><!--#var REMOTE_ADDR--><br>
> Login In:<!--#var AUTHENTICATED_USER--></dtml-with><br></center>
>
> and that is how I get it back too. If I look at it from the
> methods folder in the manager it looks fine.
>
> Notice:
> Restricted Access All IP's logged!
> Your IP:192.168.0.100
> Login In:superuser
>
> I have a feeling that I am missing more then I first thought.
>
> Rick
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> 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 )