Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
http://codemagento.com/2011/04/observers-and-dispatching-events/
0
1397
posted 13 years ago by necode
If you wanna use images stored by K2 in your custom scripts/classes you'll need to know how K2 generates the names... (took me quite a bit to find that, because they're not stored in the _k2_items table)
0
845
posted 13 years ago by iroybot
Esta es la primera parte del desarrollo de una app para facebook, se separará en 4 archivos mas o menos. Este es el primero y es el arhivo que contiene la información de la app y hace las conexiones pertinentes y las validaciones. nuestro archivo s...
0
733
posted 13 years ago by serialk89
This was for a customer.
Basically it does this:
If a page has no children, it shows ... nothing,
if a page has a parent, it shows all other children of this parent (siblings) and the current page
if a page has a parent AND children (3rd level)...
0
823
posted 13 years ago by zartgesotten
Refer to the following:
http://codex.wordpress.org/Class_Reference/wpdb
0
1445
posted 13 years ago by redconservatory
A great plugin for Wordpress:
http://podscms.org
Currently does not play well with plugins that use custom fields but this will change in version 2.
For more information, refer to:
http://mondaybynoon.com/2010/01/04/introduction-to-pods-cms-w...
0
852
posted 13 years ago by redconservatory
These two classes demonstrate how to create an external font SWF that contains embedded fonts, and how to then load that external font SWF and access and use the fonts inside it.
0
1382
posted 13 years ago by adrianparr
This font SWF was created using the handy tool FontSwffer (http://blog.madebypi.co.uk/2011/02/28/fontswffer-1-1/)
0
966
posted 13 years ago by adrianparr
n nextgen-gallery/view/gallery.php, find these lines. Either comment out or remove.
0
734
posted 13 years ago by xcsteve99
If you don't deal with namespaces in XML correctly they can break your parsing in AS3. One way of getting around this is to remove the namespace from the XML a using regular expression.
0
1124
posted 13 years ago by adrianparr
A simple utility class that uses the H2 SQL Db to maintain a database connection. It also gives a convenience method to run SQL scripts.
_Note:_The init.sql value is hardcoded, and should be replaced by a static variable if needed
0
985
posted 13 years ago by studioevoque