Welcome To Snipplr

Everyone's Recent JavaScript Snippets Tagged drupal

« Prev 1 Next »
Use this no-conflict wrapper instead of the default ready function in JQuery to initialize scripts in your Drupal 7 theme
0 327 posted 9 years ago by chasecrawford
This override function for the default Drupal.toggleFieldset function adds code that looks for instances of TinyMCE inside the fieldset and triggers the autoresize on them when the fieldset is opened. Otherwise TinyMCE renders with a weird height.
0 269 posted 10 years ago by jonathanpglick
quick snippet to select all the check boxes on a drupal permissions page. helpful when setting up a role for Admin
0 266 posted 10 years ago by cwd
Replace and append the following settings in modules/fckeditor/fckeditor.config.js. Has to be re applied after each update.
0 267 posted 12 years ago by zachharkey
Replacement config settings for the Drupal FCKeditor module. Replace contents of .../modules/fckeditor/fckeditor.config.js
0 323 posted 12 years ago by zachharkey
Thanks to [James]( http://www.girsbrain.org/blog ) for this code.
0 256 posted 12 years ago by zachharkey
« Prev 1 Next »