Several checkboxes in theme

Hi @asmecher,

thanks for your reply. Do you mean the name?

I’ve used this code:

    $this->addOption('test', 'FieldOptions', [
           'label' => __('manager.setup.contextSummary'),
           'options' => [
                   [
                          'value' => '0',
                           'label' => __('plugins.themes.ubSiteTheme01.option.0'),
                   ],
                   [
                           'value' => '1',
                           'label' => __('plugins.themes.ubSiteTheme01.option.1'),
                   ],
                   [
                           'value' => '2',
                           'label' => __('plugins.themes.ubSiteTheme01.option.2'),

                   ],
                   [
                           'value' => '3',
                           'label' => __('plugins.themes.ubSiteTheme01.option.3'),
                   ],
              ],

           'default' => '0',
   ]);

The theming guide (https://docs.pkp.sfu.ca/pkp-theming-guide/en/theme-options-api) only mentions one checkbox, but I had hoped I could just add another few. Clearly I was wrong :wink:

Edit: I have also another question: I want to add a textarea field in the theme settings, but struggle to make it usable in several languages. How can I do that?

Kind regards
Daniela