Welcome To Snipplr


Everyone's Recent Snippets



1 ... 483 484 485 486 487 ... 554
I use this code to place in blocks or pages to show a link to the user registration page if the user is not currently logged in. An example is a block I have setup on the home page of http://www.lightentheload.net. If the user is logged in, the block...
0 1032 posted 17 years ago by shrop
0 866 posted 17 years ago by IanLewis
Recursively SVN rename (move) all thtml-files to ctp-files . Fires this up in CakePHPs /views path.
0 1281 posted 17 years ago by zingo
0 828 posted 17 years ago by manec
This can be used as a general function to get the value stored in any of the possible input sources. use
0 1085 posted 17 years ago by luizlopes
A bash script which installs rubygems under ubuntu hardy.
0 822 posted 17 years ago by narkisr
0 827 posted 17 years ago by Meestercor
0 887 posted 17 years ago by Meestercor
0 1163 posted 17 years ago by Meestercor
2 1263 posted 17 years ago by tonic
CSS Reset. Yahoo User Interface Library
0 1108 posted 17 years ago by visuallyspun
Find deprecated elements and attributes using CSS. Simply add the CSS below to the end of your style sheet and it will highlight bad code.
5 1115 posted 17 years ago by visuallyspun
You
5 1272 posted 17 years ago by abhiomkar
0 1137 posted 17 years ago by webonomic
I wrote this very quickly for a form I parse that allows a user to send a page to up to 5 friends. The script adds a click event to an image of a + sign beside an input box. When clicked if the user hasn't already added 5 friends to email, additional...
9 1400 posted 17 years ago by dmosher
This is a stipped-down version of the original page.tpl.php from Drupal 5.x's Bluemarine theme. Just add your own DIVs.
2 923 posted 17 years ago by panatlantica
0 1090 posted 17 years ago by mikegreen
1 964 posted 17 years ago by mikegreen
Good for when you did a checkout when you meant to do an export or what-have-you.
2 1117 posted 17 years ago by trey
I deleted the old one by accident trying to edit it.
9 1656 posted 17 years ago by mattkenefick
0 890 posted 17 years ago by Meestercor
Eric Meyer's newest version
2 798 posted 17 years ago by Mikker
1 ... 483 484 485 486 487 ... 554