[Zope] subpath in dtml?

Charlie Reiman creiman@kefta.com
Fri, 22 Nov 2002 16:21:49 -0800


> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> jonatan
> Sent: Friday, November 22, 2002 3:38 PM
> To: Dylan Reinhardt
> Cc: zope@zope.org
> Subject: Re: [Zope] subpath in dtml?
>
>
> hi!
>
> i would like to make nice looking url's .. what you said would help me,
> but i'd like to have an url like http://something.com/reg/b6ac3fe9
>
>
> jonatan

Create a python script object named 'reg'. The rest of the path (b6ac3fe9 in
this case) will be sitting in the variable 'traverse_subpath[0]'.