Welcome To Snipplr
Everyone's Recent PHP Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1083
posted 14 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
573
posted 14 years ago by JackWH
forms part of our Calibre Remote Web App. basically an alternate gui for calibre ebooks content-server.
0
739
posted 14 years ago by minky
Detect and echo browser version including differentiating between Chrome and Safari.
3
1052
posted 14 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
931
posted 14 years ago by minky
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
866
posted 14 years ago by creativelifeform
change the display of cck grouped terms to implode (commas, no divs) for a cerain field only
0
634
posted 14 years ago by discipolo
Just go to your classes.php file line 1332 and replace this line
1
1078
posted 14 years ago by creativelifeform