Home
The Toolkit for Online Communities
15887 Community Members, 0 members online, 2001 visitors today
Log In Register

Forum OpenACS Development: Re: xowiki prototypes

OpenACS Home : Forums : OpenACS Development : Re: xowiki prototypes : One Message

+
2: Re: xowiki prototypes (response to 1)
Posted by Malte Sussdorff on
How about calling

::xowiki::Package import_prototype_page -package_key "intranet-xowiki" -name "index" -parent_id (folder of the XoWIKI instance...) -package_id (package_id of the new xowiki instance)

once you have executed site_node::instantiate_and_mount. At this point both folder_id and package_id should be available to you.

+
3: Re: xowiki prototypes (response to 2)
Posted by Iuri Sampaio on
I was expecting that. However none of those are available.
It seems xowiki does not instantiate the package on site_node::instantiate_and_mount.

At least neither package_id nor folder_id are on the respective tables yet (apm_packages, cr_items/cr_folders) .