[Zope-CMF] List subjects for Document Type only
Norman Khine
khine@bmpublications.co.uk
Tue, 26 Jun 2001 10:20:39 +0100
Hi Andrew,
I've set it all up, but now I get the following error:
Error Type: Invalid Date-Time String
Error Value: 2001/06/26 10:13:55.2389 GMT 1
when I select a date.
Thanks
-----Original Message-----
From: Andrew Sawyers [mailto:andrew@digicool.com]
Sent: Monday, June 25, 2001 8:00 PM
To: Norman Khine
Subject: RE: [Zope-CMF] List subjects for Document Type only
Norman,
Have you added the calendar tag product? There are links off
http://cmf.zope.org/Members/andrew/projects/CMFCalendar/examples to the
different downloads required.
Andrew
> -----Original Message-----
> From: Norman Khine [mailto:khine@bmpublications.co.uk]
> Sent: Monday, June 25, 2001 11:53 AM
> To: Andrew Sawyers
> Subject: RE: [Zope-CMF] List subjects for Document Type only
>
>
> I've got this error when adding the calendar dtml
>
> Unexpected tag, for tag <dtml-calendar modes="month" controls="no"
> date="'%s' % (REQUEST['date-calendar'])">, on line 21 of calendar
>
> any ideas
>
> thanks
>
> norman
>
>
>
> -----Original Message-----
> From: Andrew Sawyers [mailto:andrew@digicool.com]
> Sent: Monday, June 25, 2001 3:26 PM
> To: Norman Khine; Zope-Cmf
> Subject: RE: [Zope-CMF] List subjects for Document Type only
>
>
> Norman,
> Look at the CMFCalendar event product; I do what you are looking
> for on the
> event edit form.
> Andrew
>
> > -----Original Message-----
> > From: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]On Behalf
> > Of Norman Khine
> > Sent: Friday, June 22, 2001 9:08 AM
> > To: Zope-Cmf
> > Subject: [Zope-CMF] List subjects for Document Type only
> >
> >
> > Hello,
> > I would like to be able to list the vocabulary list only for
> the Document
> > Type and not any others. How do I do that.
> >
> > I have something like, which I copied straight from the
> > simple_metadata dtml
> > method. But this gives me a list of all the types.?!
> >
> > <table cellpadding="0" cellspacing="0" width="100%" align="center"
> > border="0">
> >
> > <td>
> > <tr valign="top">
> > <td>
> > <dtml-let contentSubject=Subject
> >
> > allowedSubjects="portal_metadata.listAllowedSubjects( this() )"
> > >
> >
> > <dtml-in Subject
> > ><dtml-let item=sequence-item
> > ><dtml-unless expr="item in allowedSubjects"
> > ><dtml-var sequence-item>
> > </dtml-unless></dtml-let></dtml-in></textarea>
> > <dtml-comment>
> > Comment out / delete this to ignore controlled vocabulary
> > for Subject.
> > </dtml-comment>
> > <br>
> > <select name="subject:list" multiple>
> > <dtml-in allowedSubjects>
> > <dtml-let item=sequence-item
> > sel="item in contentSubject and 'selected' or ''"
> > >
> > <option value="&dtml-sequence-item;"
> > &dtml-sel;> &dtml-sequence-item; </option>
> > </dtml-let>
> > </dtml-in>
> > </select>
> > </dtml-let>
> > </td>
> > </td>
> >
> > </table>
> >
> > Many thanks
> >
> > Norman
> >
> >
> >
> >
> > _______________________________________________
> > Zope-CMF maillist - Zope-CMF@zope.org
> > http://lists.zope.org/mailman/listinfo/zope-cmf
> >
> > See http://www.zope.org/Products/PTK/Tracker for bug reports and
> > feature requests
> >
>
>
>
>