Forum OpenACS Q&A: Response to New OpenACS website - Please test!

Collapse
Posted by Don Baccus on
We have implemented the different boxes as <include> "widgets", which is made up of tcl/adp pairs that perform specific tasks like showing a search form or a "recent postings" listing.

They are called from a central adp template or the default master, for instance... The widgets that are supposed to have a pretty box surrounding them in turn call in a "box-master template" by including a <master src="box-master"> at the top of the adp page.

This is similar to how one writes a portlet using OF's new portals package (with the new portals package handling the master/slave issues, the "box-master" template would be a theme in the portal package)

This is good because it means we could easily make these pages portals in the future without having to do too much rewriting of your code for these boxes. That would be cool.