I have the source here, perhaps you can point me to where I should be
looking - the PTK is reasonably large.

AFAICS the PTK uses a folder called Members and adds folders under that for
each registered user :

Members
   Fred
      FredContent1
      FredContent2
      FredContent3
   Jim
      JimsContent

Nothing database-driven about that.

Thanks for your help.

- Ian.



----- Original Message -----
From: "Philipp Dunkel" <[EMAIL PROTECTED]>
To: "Ian Sparks" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, June 05, 2000 5:36 PM
Subject: Re: [Zope] www.mysite.com/Members/<someone>


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        *
********************************************






_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to