[Zope-CMF] Re: STX default level - CMF doesn't use Zope's default?
Yuppie
schubbe at web.de
Sat Dec 20 08:12:57 EST 2003
Hi!
Alexander Limi wrote:
> http://plone.org/collector/1245
>
> Anybody know where I can set the default level for STX in CMF? There is
> a Zope setting, but CMF doesn't respect that, it seems.
You might want to have a look at the code in Document.py:
- _stx_level = 1 is the hardcoded default
- CookedBody takes the arguments stx_level and setlevel. If setlevel is
true _stx_level and the cached cooked_text are updated.
HTH,
Yuppie
More information about the Zope-CMF
mailing list