[Zope-CMF] Re: Our CMF-CMS Demo

Jon Edwards jon@pcgs.freeserve.co.uk
Tue, 3 Jul 2001 21:05:43 +0100


D'oh!! I'm so dumb!

I bet you're using CMF 1.1?

You need to change the bit after the <dtml-else>

replacing -

<textarea name="text:text"
rows="20" cols="80"><dtml-var text html_quote></textarea>

with -

<textarea name="text:text"
rows="20" cols="80"><dtml-var EditableBody html_quote></textarea>

- due to the changes in 1.1

HTH 

Cheers, Jon

> -----Original Message-----
> From: Jon Edwards [mailto:jon@pcgs.freeserve.co.uk]
> Sent: 03 July 2001 20:56
> To: Norman Khine
> Cc: Zope-CMF
> Subject: RE: [Zope-CMF] Re: Our CMF-CMS Demo 
> 
> 
> > -----Original Message-----
> > From: Norman Khine [mailto:khine@btinternet.com]
> > Sent: 03 July 2001 19:38
> 
> > I have Netscape 6.1 installed, and upon loading of the item to 
> edit I get
> > the title, summary, BUT then I only get a blank area where the 
> actual body
> > text should be. The browser is not locked though.
> 
> errrrr....!
> 
> The code I used is as follows (gratuitously stolen from a post in 
> the Zope mailinglist archives) -
> ---------------------------------------------------------------------
> <dtml-call "REQUEST.set('ua',HTTP_USER_AGENT)">
> 
> <dtml-if "_.string.find(ua,'MSIE')">
>    blahblah
>    <dtml-var Title>
>    blah
>    <dtml-var description>
> 
>   ...WYSIWYG form
> 
> <dtml-else>
>    blahblah
>    <dtml-var Title>
>    blah
>    <dtml-var description>
> 
> 
>   ...normal CMF form
> 
> </dtml-if>
> ------------------------------------------------------------------
> 
> So it's odd that the <dtml-var title> and description are showing 
> up with Netscape, but not the rest of the normal CMF form
> 
> Can anyone enlighten a poor sinner?
> 
> Cheers, Jon
>