Forum OpenACS Development: Response to A proposal: CSS Styles and module hooks in OpenACS 4

This is a reasonable idea. I think it helps acceptance, when making a proposal like this, to provide a patch at least partially implementing the ideas you are proposing 😊

It took me an hour to hack the first four of your six ideas into being under OpenACS 3.2.5. The extra ad_parameter names are

  • linkcolor
  • vlinkcolor
  • alinkcolor
  • bodycolor
  • StyleBlock
  • BaseStyleUrl

And the URL of the site main style sheet (your fourth item) is then available using [ad_parameter BaseStyleUrl].

I'll leave conversion to OpenACS 4.x to you 😊

The patch is submitted as Patch 28 against OpenACS in the SDM, at https://openacs.org/sdm/one-patch.tcl?patch_id=28