Forum OpenACS Q&A: XoTCL Modified Links when called from /index.vuh

Posted by Frank Bergmann on

Thanks for the solution with the index.vuh. I'd also like to setup a plain Web site that only consists of an XoWiki in the root directory.

However, I'd like all XoWiki pages to appear in the root ("/") folder. They are found there, but links included in these pages point to /xowiki/page.

So: is there an elegant solution to keep these links in the main directory (eliminate the /xowiki/ from the links)?

It should be relatively easy to modify ::xowiki::Link render or ::xowiki::Package make_link, but that would be quite ugly.