Forum OpenACS Q&A: Re: Custom index for subsite

Collapse
Posted by Frank N. on
Well, all *.xql files below www are loaded, and it is possible to put the named queries for subsites into, say, index.xql in /www. I just checked it. However I find this solution a bit messy. IMHO it is more elegant to keep all files belonging to a particular subsite in a single directory, specified through the subsite parameter.

I will add an explanatory comment to the bug report, and let the powers that be decide what, if anything, should be done about it.

Collapse
Posted by Jeff Davis on
Frank, I will check in a fix for this tonight.  Its actually done and I am just testing it now.  I changed it so it walks the tree and finds all the .xql files in www and on down.
You don't need to do fully qualified query names either.

I can mail you the patch if you want to give me a hand making sure it works :)