[Zope-CMF] Re: STX default level - CMF doesn't use Zope's default?
limi at plone.org
Sat Dec 20 13:08:10 EST 2003
On Sat, 20 Dec 2003 14:12:57 +0100, Yuppie <schubbe at web.de> wrote:
>> 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.
Thanks for the pointer. Seeing as Zope has a setting for this already,
shouldn't CMF use that instead of a hardcoded default?
Alexander Limi · Interaction Architect · Plone Solutions
Development · Training · Support · http://www.plonesolutions.com
Plone Co-Founder · http://plone.org · Connecting Content
高联合 · アレクサンダー リミ · 이미짱 · อเล็กซานเดอร์ ลีมิ
More information about the Zope-CMF