Re: Adding ATCT content from interactive console

classic Classic list List threaded Threaded
1 message Options
Raphael Ritz Raphael Ritz
Reply | Threaded
Open this post in threaded view
|

Re: Adding ATCT content from interactive console

Jeff Kowalczyk wrote:
[..]
> Also, 'createObject' is not found as a member of Folder (method 6 of the mysite
> tutorial doc section). What would an interactive console user do to call a skin
> method (other than Zope2.debug())?

You should be able to set up a skin context by
calling

     app.plone.changeSkin('Plone Default')

(adjust the site's id and the skin you want to be used,
of course). Note furhter that many skin methods will
need a REQUEST too.

Raphael



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users