Hi, Tim
context.ZopeTime()
or
container.ZopeTime()
ZopeTime is not in the PythonScript's namespace. It is available in
most (all?) containers, however.
-- Jim Washington
Timothy Wilson wrote:
>
> On Mon, 29 Jan 2001, Tres Seaver wrote:
>
> > > I'd like to grab all instances with a dis
On Mon, 29 Jan 2001, Tres Seaver wrote:
> > I'd like to grab all instances with a display_date <= today's
> > date. I can't figure out exactly how to do that in DTML or a
> > Python Script. Once I have that list of instances, I'll simply
> > pull off the latest one as you suggested.
> I don't kn
On Mon, 29 Jan 2001, Timothy Wilson wrote:
> On Wed, 17 Jan 2001, Tres Seaver wrote:
>
> > > What I'm not sure about is how to have Zope automatically
> > > display the photo for a day, then archive it. Would a
> > > boolean property of the ZClass work? Is it possible to have
> > > Zope set the
On Thu, 18 Jan 2001, Tres Seaver wrote:
> > > This kind of thing is a "query-on-metadata" application; I
> > > would put all these images into a single folder (maybe
> > > chunked into subfolders by month?), mark them each with an
> > > 'effective' property (of type 'Date'), and then select the
On Thu, 18 Jan 2001, Tres Seaver wrote:
> Subclassing Image might be useful, but you could certainly
> get by without if, if all you need is to add a property or
> two: Images have a propertysheet to which you could add them.
But if I use the standard Image meta type, wouldn't I have to create
On Wed, 17 Jan 2001, Timothy Wilson wrote:
> On Wed, 17 Jan 2001, Tres Seaver wrote:
>
> > > What I'm not sure about is how to have Zope automatically
> > > display the photo for a day, then archive it. Would a
> > > boolean property of the ZClass work? Is it possible to have
> > > Zope set the
On Wed, 17 Jan 2001, Tres Seaver wrote:
> > What I'm not sure about is how to have Zope automatically display the photo
> > for a day, then archive it. Would a boolean property of the ZClass work? Is
> > it possible to have Zope set the property of a ZClass instance at certain
> > time? Any thoug
Timothy Wilson <[EMAIL PROTECTED]> wrote:
>
> Hey everyone,
>
> I was looking at linux.com the today and I noticed their "Daily Photo." I
> occurred to me that that would be a fun addition to the school's page that
> I'm developing. My first thought would be to:
>
> * inherit from Image
> * add
// What I'm not sure about is how to have Zope automatically
// display the photo
// for a day, then archive it. Would a boolean property of the
// ZClass work? Is
// it possible to have Zope set the property of a ZClass instance
// at certain
// time? Any thoughts on how this would be desi
On Wed, Jan 17, 2001 at 12:20:06PM -0600, Timothy Wilson wrote:
> Hey everyone,
>
> I was looking at linux.com the today and I noticed their "Daily Photo." I
> occurred to me that that would be a fun addition to the school's page that
> I'm developing. My first thought would be to:
>
> * inherit
10 matches
Mail list logo