[Zope] Referecing items in subfolders

2000-11-14 Thread Pieter Claerhout

Hello all,

have a small question. Imagine you have the following folder structure in Zope:

http://testserver.pclaerhout.com/index_html
http://testserver.pclaerhout.com/resources/standard_header
http://testserver.pclaerhout.com/resources/standard_footer

How can I reference the standard_header document (which is in a subdirectory) from the 
index_html document, for example using a dtml-var standard_header?? I have the same 
question if the files in the subdirectory are for example SQL methods. I'm just 
looking for a way to separate different kinds of documents.

Kind regards,


Pieter

___
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 )




Re: [Zope] Referecing items in subfolders

2000-11-14 Thread Geir Bækholt


try :
dtml-with resources
dtml-var standard_header
/dtml-with

--
Geir Bækholt
web-developer/designer
[EMAIL PROTECTED]
http://www.funcom.com

on Tuesday, November 14, 2000 Pieter Claerhout wrote :
PC Hello all,
PC have a small question. Imagine you have the following folder structure in Zope:
PC http://testserver.pclaerhout.com/index_html
PC http://testserver.pclaerhout.com/resources/standard_header
PC http://testserver.pclaerhout.com/resources/standard_footer
PC How can I reference the standard_header document (which is in a subdirectory) from 
the index_html document, for example using a dtml-var standard_header?? I have the 
same question if the files
PC in the subdirectory are for example SQL methods. I'm just looking for a way to 
separate different kinds of documents.



___
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 )




Re: [Zope] Referecing items in subfolders

2000-11-14 Thread Chris Withers

Sounds like you want Shane Hathaway's Transparent Folder product...

cheers,

Chris

Pieter Claerhout wrote:
 
 Hello all,
 
 have a small question. Imagine you have the following folder structure in Zope:
 
 http://testserver.pclaerhout.com/index_html
 http://testserver.pclaerhout.com/resources/standard_header
 http://testserver.pclaerhout.com/resources/standard_footer
 
 How can I reference the standard_header document (which is in a subdirectory) from 
the index_html document, for example using a dtml-var standard_header?? I have the 
same question if the files in the subdirectory are for example SQL methods. I'm just 
looking for a way to separate different kinds of documents.
 
 Kind regards,
 
 Pieter
 
 ___
 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 )

___
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 )




RE: [Zope] Referecing items in subfolders

2000-11-14 Thread Cornelis J. de Brabander

You could use:

dtml-with resources
dtml-var standard_header
/dtml-with

I would suggest, however, to reorganize your design and to put index_html in
a subfolder of a folder where standard-header and standard_footer reside and
let acquisition take care of the work.
cb


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
 Pieter Claerhout
 Sent: dinsdag 14 november 2000 10:52
 To: '[EMAIL PROTECTED]'
 Subject: [Zope] Referecing items in subfolders


 Hello all,

 have a small question. Imagine you have the following folder
 structure in Zope:

 http://testserver.pclaerhout.com/index_html
 http://testserver.pclaerhout.com/resources/standard_header
 http://testserver.pclaerhout.com/resources/standard_footer

 How can I reference the standard_header document (which is in a
 subdirectory) from the index_html document, for example using a
 dtml-var standard_header?? I have the same question if the
 files in the subdirectory are for example SQL methods. I'm just
 looking for a way to separate different kinds of documents.

 Kind regards,


 Pieter

 ___
 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 )





___
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 )




Re: [Zope] Referecing items in subfolders

2000-11-14 Thread Matt

I would have thought the dtml-with resources way was possibly a more flexible
way of organizing things such that instead of making a base product that people
duplicate and customize, all you need to do is set custom resource folders for
each person and load these into the name space of the single instance of the
product to give it a custom skin or user specific data.  It is also why most of
my base product are methods that can't hold any properties that may get
clobbered.   I tend to place headers in these user resource directories so that
they can make them as fancy as they want.  Acquisition works nicely that way.

matt



"Cornelis J. de Brabander" wrote:

 You could use:

 dtml-with resources
 dtml-var standard_header
 /dtml-with

 I would suggest, however, to reorganize your design and to put index_html in
 a subfolder of a folder where standard-header and standard_footer reside and
 let acquisition take care of the work.
 cb

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
  Pieter Claerhout
  Sent: dinsdag 14 november 2000 10:52
  To: '[EMAIL PROTECTED]'
  Subject: [Zope] Referecing items in subfolders
 
 
  Hello all,
 
  have a small question. Imagine you have the following folder
  structure in Zope:
 
  http://testserver.pclaerhout.com/index_html
  http://testserver.pclaerhout.com/resources/standard_header
  http://testserver.pclaerhout.com/resources/standard_footer
 
  How can I reference the standard_header document (which is in a
  subdirectory) from the index_html document, for example using a
  dtml-var standard_header?? I have the same question if the
  files in the subdirectory are for example SQL methods. I'm just
  looking for a way to separate different kinds of documents.
 
  Kind regards,
 
 
  Pieter
 
  ___
  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 )
 
 

 ___
 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 )


___
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 )




RE: [Zope] Referecing items in subfolders

2000-11-14 Thread Cornelis J. de Brabander

Sure, but the setup you sketch is different in design than Pieter's. He just
wanted to organize 'different kinds of documents'.
cb

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Matt
 Sent: dinsdag 14 november 2000 13:09
 To: [EMAIL PROTECTED]
 Subject: Re: [Zope] Referecing items in subfolders


 I would have thought the dtml-with resources way was possibly a
 more flexible
 way of organizing things such that instead of making a base
 product that people
 duplicate and customize, all you need to do is set custom
 resource folders for
 each person and load these into the name space of the single
 instance of the
 product to give it a custom skin or user specific data.  It is
 also why most of
 my base product are methods that can't hold any properties that may get
 clobbered.   I tend to place headers in these user resource
 directories so that
 they can make them as fancy as they want.  Acquisition works
 nicely that way.

 matt



 "Cornelis J. de Brabander" wrote:

  You could use:
 
  dtml-with resources
  dtml-var standard_header
  /dtml-with
 
  I would suggest, however, to reorganize your design and to put
 index_html in
  a subfolder of a folder where standard-header and
 standard_footer reside and
  let acquisition take care of the work.
  cb
 
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
   Pieter Claerhout
   Sent: dinsdag 14 november 2000 10:52
   To: '[EMAIL PROTECTED]'
   Subject: [Zope] Referecing items in subfolders
  
  
   Hello all,
  
   have a small question. Imagine you have the following folder
   structure in Zope:
  
   http://testserver.pclaerhout.com/index_html
   http://testserver.pclaerhout.com/resources/standard_header
   http://testserver.pclaerhout.com/resources/standard_footer
  
   How can I reference the standard_header document (which is in a
   subdirectory) from the index_html document, for example using a
   dtml-var standard_header?? I have the same question if the
   files in the subdirectory are for example SQL methods. I'm just
   looking for a way to separate different kinds of documents.
  
   Kind regards,
  
  
   Pieter
  
   ___
   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 )
  
  
 
  ___
  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 )


 ___
 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 )





___
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 )