[Zope] How to get the "pure" source of a pagetemplate back ?
Joachim Schmitz
js@aixtraware.de
Thu, 16 May 2002 13:54:05 +0200
Hi,
i investigated a little bit further in this:
the setting of the expand-property has only effect, when the pagetemplate=20
is created with expand set to 0. Which seams to be the case, when you add a =
new zpt via management interface. But I created them remotely from Python=20
like:
object=3Dobject.__class__(opath,
username=3Dobject.username,
password=3Dobject.password)
call(object.manage_addPageTemplate
,id=3Droot
,file=3Dfile
,expand=3D0 # when this is left out, it stays on =
forever
)
without the expand=3D0 line, and than it not changeble later.
--On Donnerstag, Mai 16, 2002 10:08:37 +0200 Joachim Schmitz=20
<js@aixtraware.de> wrote:
>
>
> --On Donnerstag, Mai 16, 2002 00:02:52 -0700 John Schinnerer
> <johnschinnerer@yahoo.com> wrote:
>
>>
>> Aloha,
>>
>>> snip...>
>>
>>> ...I want the pure unexpanded text of the
>>> pagetemplate, unchecking the expand-macros box has no effect, is this
>>> a bug ?
>>
>> If you're trying the one in the Edit view, try the one in the
>> Properties view.
>>
>> John S.
>
> I tried that too, no effect.
>
>
> Mit freundlichen Gr=FC=DFen Joachim Schmitz
> --------------------------------------------------------------------
> AixtraWare Ingenieurb=FCro f=FCr Internetanwendungen
> H=FCsgenstr. 33a, D-52457 Aldenhoven
> Telefon: +49-2464-8851, FAX: +49-2464-905163
> --------------------------------------------------------------------
> Key fingerprint =3D DA10 CC82 62F8 1DBB 39A1 1EDC 725B 3317 A8D7 C3A6
> Keyserver: http://www.keyserver.net/en/
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
Mit freundlichen Gr=FC=DFen Joachim Schmitz
--------------------------------------------------------------------
AixtraWare Ingenieurb=FCro f=FCr Internetanwendungen
H=FCsgenstr. 33a, D-52457 Aldenhoven
Telefon: +49-2464-8851, FAX: +49-2464-905163
--------------------------------------------------------------------
Key fingerprint =3D DA10 CC82 62F8 1DBB 39A1 1EDC 725B 3317 A8D7 C3A6
Keyserver: http://www.keyserver.net/en/