Forum OpenACS Development: Re: Replacing home page with Xowiki instance

Collapse
Posted by Gustaf Neumann on
What's wrong with just using the following? all one has to adjust is the value for -url (note the trailing slash). Why is it necessary to change the package-procs?

-gustaf


# -*- tcl -*-
::xowiki::Package initialize -ad_doc {

This is a toplevel index.vuh file, intended to be
saved under .../openacs-4/www/index.vuh

The script uses an xowiki page as root page
of the site. Here, the start page is /xowiki/, the value after -url bwlow.
Replace the url, in case a different page or instance
name should be used

@author Gustaf Neumann (mailto:gustaf.neumann@wu-wien.ac.at)
@creation-date July, 2006
@cvs-id $Id: index.vuh,v 1.5 2006/09/15 16:45:00 gustafn Exp $

} -parameter {
{-m view}
{-folder_id:integer 0}
} -url /xowiki/

::$package_id reply_to_user [::$package_id invoke -method $m]
ad_script_abort