Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Simply replace 'Page Title' with your desired page title to automatically create the page when your theme is activated. Thanks to MattStrange for the original concept.
1
1326
posted 15 years ago by fjarrett
Drop the Zend Framework Library folder into your Vendors folder
0
1398
posted 15 years ago by shahways
A simple way to get the enum indicated by its ordinal value.
0
1656
posted 15 years ago by studioevoque
This has been made for Windows but shouldn't be hard to convert for other OS's.
0
1166
posted 15 years ago by Keef
Great for developing multiple sites under a wamp install. Removes the headache of paths and domains and changing them when deploying to their live environment.
1
1754
posted 15 years ago by Meander365
CSS needed here:
` #largeImage
{
position: absolute;
left: 50%;
top: 50%;
visibility: visible;
} `
Dead Centre modified from: [Dead Centre a Div](http://snipplr.com/view/231/dea...
4
1628
posted 15 years ago by chendrix
**Important: this snipplet has moved to Github.**
- [Force the admin theme on additional non-admin paths in Drupal 6](https://gist.github.com/1973090)
3
1593
posted 15 years ago by wildpeaks
use this SQL query to find out an applications full name (aka long name) and/or application id based on the application short name. This can obviously be re-written to perform the reverse.
0
2361
posted 15 years ago by theonlyalterego
Snippet for adding to your functions.php file to enqueue jQuery.
1
1263
posted 15 years ago by oriontimbers
Use this to select all fields between two different dates
0
1345
posted 15 years ago by howardpanton
Code matches querysting data to form feilds on the page based on the feild name.
I've added the example querystring to the body of the page.
Found at: http://codingforums.com/showthread.php?t=198419
Code by: Old Pedant
0
1349
posted 15 years ago by Carolyne