[Zope] www.mysite.com/Members/<someone>
Philipp Dunkel
phidu@gmx.net
Mon, 05 Jun 2000 18:36:27 +0200
At 17:23 05.06.00 +0100, Ian Sparks wrote:
>Hi,
>
>I want to produce a home-page on my site using a URL like :
>
>http://www.zope.org/Members/Fred
>
>
>I'm a little confused as to how I would go about this in a dynamic way where
>I would pull the contents of the page out of a database.
>
>A non-database way would be to :
>
>/Members (folder)
> /Fred (sub-folder or Document)
> /Jim (sub-folder or Document)
> /Jane (sub-folder or Document)
>
>But I want to be able to generate the /Members/Fred page dynamically.
>
>The SQLMethod part I can do, its the structuring of the objects in the
>heriarchy which baffles me.
>
>Ideally I'd like to have a "Members" folder in /, as this reduces the
>clutter in /, but then how do I pick up the "Fred" part of the URL once I
>have traversed into the members folder and apply it as part of a SQLMethod?
>
>
>- Ian Sparks.
You can find a solution in the PTK-Source
********************************************
* Philipp Dunkel ICQ# 60149094 *
* zReal Productions *
* meet me at DALNet chan #phidu *
********************************************