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 953 posted 12 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 877 posted 13 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 922 posted 14 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 897 posted 16 years ago by zachharkey
Replacement config settings for the Drupal FCKeditor module. Replace contents of .../modules/fckeditor/fckeditor.config.js
0 1055 posted 16 years ago by zachharkey
Thanks to [James]( http://www.girsbrain.org/blog ) for this code.
0 842 posted 16 years ago by zachharkey
« Prev 1 Next »