Add Javascript to Admin sections


  • Tip / Idea

It's possible to add Javascript to admin sections of your Drupal Cloud site (for example, node creation pages) using the same steps as adding regular Javascript, but with a caveat: you have to make sure the Block is added to your Administration theme instead of the regular theme.

By default, Drupal Cloud uses "Seven" as its Administration theme, which you can set from Appearance (top menu) > Administration theme at the bottom of the page.

If you want to continue using Seven as the Administration theme, find it in the theme list and enable it. Otherwise, select the theme you want from the Administration theme dropdown, then find it in the theme list and enable it.

After creating your Javascript block, set it into an active region of your chosen Administration theme.


Okay, I'm pretty sure I selected the Tips & Ideas category that time...