Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 86 87 88 89 90 ... 147
2 1594 posted 16 years ago by themolitor
The standard codeigniter pagination class doesn't allow you to use images in the pagination navigation. I altered the default pagination class a bit. Now you can add the path to the images for the previous link, next link, digit and active digit in e...
2 2496 posted 16 years ago by stevendobbelaere
Just set the variable `$email` to the user's email address. Hey presto! A Gravatar image! You can also change the size by adjusting the `s=32` variable. Size is in pixels.
1 1511 posted 16 years ago by JackWH
Restricts the vote to one vote per ip per day
0 1538 posted 16 years ago by jretamal
To print out Drupal Arguments.
1 1747 posted 16 years ago by redhatmatt
0 1957 posted 16 years ago by metoikos
forms part of our Calibre Remote Web App. basically an alternate gui for calibre ebooks content-server.
0 1851 posted 16 years ago by minky
0 2107 posted 16 years ago by Myrddin
0 3071 posted 16 years ago by silverius
0 2370 posted 16 years ago by metoikos
Detect and echo browser version including differentiating between Chrome and Safari.
3 2813 posted 16 years ago by vagrantradio
## PHP - HTML Generation Class This class allows you to generate (and fill) any HTML elements via programmatic or object-orientated methods
0 2212 posted 16 years ago by minky
0 2202 posted 16 years ago by metoikos
0 2143 posted 16 years ago by rifat
1 1781 posted 16 years ago by hotdiggity
Found this bit of code all over the place, except it missed out a very crucial part of the code which was to add a "-" in front of the ID you wish to exclude. Add this to functions.php in your theme folder.
0 2007 posted 16 years ago by creativelifeform
0 1036 posted 16 years ago by sapphiriq
change the display of cck grouped terms to implode (commas, no divs) for a cerain field only
0 1547 posted 16 years ago by discipolo
Just go to your classes.php file line 1332 and replace this line
1 2655 posted 16 years ago by creativelifeform
0 2389 posted 16 years ago by jmiller
1 ... 86 87 88 89 90 ... 147