Forum OpenACS Development: header_stuff & Onload callbacks

I just added both callbacks, plus the property on_load to be passed to the master template.

More info here:
https://openacs.org/xowiki/pages/en/body-Onload
https://openacs.org/xowiki/pages/en/Add_extra_headers

I don't know where should this information should be, therefore, we need 2 things:
1. A guide on how to better put content on the wiki (at least for new features to existing packages)
2. A seach feature, because if the xowiki starts to grow, will be very hard to find something in there.

comments?

Collapse
Posted by Gustaf Neumann on
concering search: if you type "extra header" into the site wide search, you page is the second hit.

i would like to be able to pass the package id as a parameter to side wide search to limit searcht o a single package. This would not only be useful for the wiki. has anyone does this?

Collapse
Posted by Dave Bauer on
On 5.2, Jeff Davis changed the last parameter in the search service contract to be a list of package_ids to restrict to (instead of "date to" since it was never used). Right now, this is used to limit searching per subsite, but it should be possible to limit to one package instance.

On HEAD we are replacing the service contracts with callbacks that also can support a list of package_ids.

Dirk and I developed for Sloanspace, a user interface that offers 3 options, search within one package, one community (could be a subsite), or everything the searcher can read. This work is also on HEAD. It needs testing for Postgresql still.