0

I'd like to modify the interaction with one (or more) of my admin overlay pages, but it doesn't seem like the scripts that works on the site are directly functional in the back-end? How do I run a jQuery script within the Drupal admin overlay?

As you might tell, I'm quite new to Drupal.

1 Answer 1

0

You'll need to go in and do a form_alter on the admin overlay pages that you are wanting to modify. You will need to add an item to the ['#attached'] attribute on the form to attach your JS. You can read more about attaching JS to forms in the Drupal Form API documentation.

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.