Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is a cut down example using custom tabs (you can easily add a custom ajax event to load in content - just follow Ben Alman's example).
0
1643
posted 15 years ago by Meander365
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
1208
posted 15 years ago by fjarrett
Drop the Zend Framework Library folder into your Vendors folder
0
1290
posted 15 years ago by shahways
A simple way to get the enum indicated by its ordinal value.
0
1549
posted 15 years ago by studioevoque
This has been made for Windows but shouldn't be hard to convert for other OS's.
0
1075
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
1614
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
1510
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
1456
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
2176
posted 15 years ago by theonlyalterego
Snippet for adding to your functions.php file to enqueue jQuery.
1
1151
posted 15 years ago by oriontimbers
Use this to select all fields between two different dates
0
1241
posted 15 years ago by howardpanton