I would like to edit my Panels (Panel Layout and Panel Content) in the administration theme, however when I click on the tab to go to panel layout (node/%node/panel_layout), it always opens in my default theme.

Is there a way to have it use my admin theme for panels?

2 Answers 2


You could write a small custom module and use hook_admin_paths():

function MYMODULE_admin_paths() {
  return array(
    'node/*/panel_layout' => TRUE

This will instruct Drupal to treat paths that match the pattern as admin pages, including rendering them with the admin theme.

  • 2
    I've edited the example provided because it didn't work as originally written. The path needs to be the key with a value of TRUE
    – tmsimont
    Apr 17, 2013 at 18:54

Please install "Pahe Theme" module, add admin theme in it and then add node/*/panel_layout* path in it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.