[Zope] Newbie: URL0

Andy andy@agmweb.bc.ca
Sun, 14 May 2000 16:57:41 -0700


DTML Document: index_html 

<dtml-with methods>
 <dtml-var top_nav_bar>
</dtml-with>

blah....

DTML Method: top_nav_bar
<dtml-var top_nav_thingy>

blah....

DTML Method: top_nav_thingy
Here I want to get the original DTML Document title.

<dtml-with "REQUEST.resolve_url(URL0)">
  <dtml-var title>
</dtml-with>

Thanks guys for all your help!.

----- Original Message ----- 
From: Steve Alexander <steve@cat-box.net>
To: Andy <andy@agmweb.bc.ca>
Cc: <zope@zope.org>
Sent: Sunday, May 14, 2000 2:31 PM
Subject: Re: [Zope] Newbie: URL0


> Andy wrote:
> > 
> > Darn I thought that worked, when it didnt. For example:
> > /folderx/foldery/blob_html.... all I get is the foldery, not blob_html.
> > 
> > grrr.
> 
> Andy,
> 
> I'm not entirely sure what you're trying to do. However, this may help:
> 
>   1: Create a new DTML method somewhere
>   2: Delete the default text of the method
>   3: Put just the following in instead:
> 
>           <dtml-var REQUEST>
> 
>   4: Point your browser at the new DTML method's URL
> 
> This will give you a list of all the values in the REQUEST object.
> Hopefully you'll find one there that is useful to you.
> 
> --
> Steve Alexander
> Software Engineer
> Cat-Box limited
> 
> _______________________________________________
> 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 )
>