Re: [Zope] How do I get the size of an item ?

2001-01-12 Thread Dimitris Andrakakis
Daniel wrote: > You don't need the dtml-var inside another dtml-var i.e once you are in > dtml you are in it. try something like this > > > > > > Your advice was truly enlightning ! It didn't work exactly like this, but this one did exactly as shown (remeber path is like "06-01-2001/file.pd

Re: [Zope] How do I get the size of an item ?

2001-01-12 Thread Dieter Maurer
Dimitris Andrakakis writes: >'])"> This is an FAQ (as you can imagine). The list has a searchable archive, where you can find anwsers to FAQ's. I think, you will also find a compiled FAQ list via the Zope documentation portal (zdp.zope.org). This time, still , I will answer your question:

Re: [Zope] How do I get the size of an item ?

2001-01-12 Thread Dimitris Andrakakis
ethan mindlace fremen <[EMAIL PROTECTED]> wrote: > > > Thanks ethan (& dieter too). I'm terribly sorry about requesting a receipt (I had the option on OE forgotten), it will not happen again. I have tried your suggestion, and indeed it works. Now, how does this work when the "file.pdf" is gi

Re: [Zope] How do I get the size of an item ?

2001-01-11 Thread Dieter Maurer
Dimitris Andrakakis writes: > > What I need is, from a dtml method in /news, to get > the size of an object (a file, say /news/files/file01.pdf) > in /news/files. You know Zope's integrated online help? There you would find that files have a method "getSize" that returns their size. I

Re: [Zope] How do I get the size of an item ?

2001-01-11 Thread ethan mindlace fremen
Dimitris Andrakakis wrote: > > ...anyone ? > > Say I have these folders: > / > /news > /news/files > What I need is, from a dtml method in /news, to get > the size of an object (a file, say /news/files/file01.pdf) > in /news/files. should do the trick. -- -mindlace- Zopatista Community Lia

[Zope] How do I get the size of an item ?

2001-01-11 Thread Dimitris Andrakakis
...anyone ? Say I have these folders: / /news /news/files What I need is, from a dtml method in /news, to get the size of an object (a file, say /news/files/file01.pdf) in /news/files. Thanks in advance, Dimitris ___ Zope maillist - [EMAIL PROTEC