Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This overrides a couple core Drupal functions in the autocomplete.js file. It changes the behavior of the autocomplete such that if a user selects an item from the autocomplete menu, it takes them directly to that node instead of just populating the...
1
1784
posted 16 years ago by unravelme1
This code will arrange any number of images (or display objects) in a grid, you can specify how many columns the grid contains.
3
2213
posted 16 years ago by jknight42
Hello friends.
I've create this script for you to change directories permissions without connecting them via Ftp Prog.
Thanks.
[En Yeni Oyunlar](http://www.yeni-oyun.com)
0
1422
posted 16 years ago by jackoder
This handy little function can be used to convert a displayObject to black and white.
0
2102
posted 16 years ago by adrianparr
Code is to demonstrate the use of DocumentBuilder to parse the XML file. And retrieve the data from it.
1
2540
posted 16 years ago by PravinChk
This will recursively search your directory tree (starting at dir ‘dot’) and chmod 755 all directories only.
find . -type d -exec chmod 755 {} \;
Similarly, the following will chmod all files only (and ignore the directories):
find . -...
1
2048
posted 16 years ago by MikeyLikesIt
While these examples convert Markdown fields to HTML for use in CKEditor, the same method can be used to render the filters of any input_format.
0
2616
posted 16 years ago by zachharkey