Forum OpenACS Development: Quick and esay volunteer job: Template all pages
A quick and dirty approach, which I've used on some pages in the APM is the followingÆ
- Query replace all calls to "doc_body_append" with "append body"
- Remove calls to [ad_footer] or [apm_footer] or [acs_admin_footer] or whatnot
- Remove calls to [ad_header] or [apm_header] etc., and replace with the necessary
set page_title "The page's title"
set context [list [list trail...] [list trail...] $page_title]
Then provide a stupid, simple .adp file which simply says:
This will cause all pages to render correctly within the master template.
Anyone wants to volunteer for this job?