Home
The Toolkit for Online Communities
17122 Community Members, 1 member online, 2051 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : HEAD /admin/configure Template selection is broken

Forum OpenACS Development: HEAD /admin/configure Template selection is broken

Icon of envelope Request notifications

subsite::get_template_options builds the dropdown list of templates that is used on the /admin/configure page to select the look and feel of the (sub)site. It's supposed to include whatever you have set in the "DefaultMaster" parameter as a selectable option. The option list doesn't contain this current setting.

The list is pre-loaded with "Default" and "Community" options and then the current value of subsite parameter "DefaultTemplate" is used to create a third option that corresponds to the current setting if it is not one of the pre-defined options.

Except... there is no "DefaultTemplate" subsite parameter. I think it's supposed to be "DefaultMaster".

In addition, the current entry should be appended to "master_teplate_options", not "master_template"

Bug and patch: http://openacs.org/bugtracker/openacs/bug?bug%5fnumber=995