'Admin theme region' on admin/config/workflow/rules/settings has no values.
I cannot select an admin theme region for errors/warnings to show up.

Comments

TR’s picture

Category: Bug report » Support request
Status: Active » Postponed (maintainer needs more info)

What theme are you using for your admin theme? This region selection works properly for me ... I'm using the default Seven theme ... The only way I can see for the code to not offer selections here is if your admin theme doesn't define regions (or doesn't define them properly). Rules uses the core Drupal system_region_list() function to determine the regions defined by your theme.

You can use drush to reproduce what Rules is doing here. Just execute this (use the name of your admin theme instead of 'seven'):
$ drush php-eval "print_r(system_region_list('seven', REGIONS_VISIBLE));"
You should see output something like this with the list of your theme's regions. If this list is empty, then that's a problem with your theme.

Array
(
    [content] => Content
    [help] => Help
    [dashboard_main] => Dashboard (main)
    [dashboard_sidebar] => Dashboard (sidebar)
    [dashboard_inactive] => Dashboard (inactive)
)
TR’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No further information provided.