Welcome To Snipplr
Everyone's Recent PHP Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Con esto añadirmos un mensaje de alerta en el backend de Wordpress como los de actualizaciones y demás del propio CMS.
El código se añade en el archivo function.php del theme.
0
819
posted 13 years ago by skozz
Create a Hello World module in the Magento system
Configure this module with routes
Create Action Controller(s) for our routes
1
941
posted 13 years ago by necode
Save config: http://inchoo.net/ecommerce/magento/how-to-programmatically-change-magentos-core-config-data/
http://www.magentocommerce.com/wiki/5_-_modules_and_development/0_-_module_development_in_magento/how_to_add_a_custom_module_for_custom_admin_...
0
812
posted 13 years ago by necode
Every developer has favorite tools and a workflow that’s unique from other developers, so I won’t dictate which specific pieces of software you should use. Instead, for each piece of your development environment, review some choices if you don’...
0
750
posted 13 years ago by necode
Ordena alfabéticamente el array $friends['data'] obtenido con la api de facebook.
0
1165
posted 13 years ago by serialk89
[Related SQL query to create the storage table](http://snipplr.com/view/56995/sql-query-to-create-a-table-in-mysql-to-store-tweets/ "Related SQL query to create the storage table")
0
1912
posted 13 years ago by eddequincey
http://codemagento.com/2011/04/observers-and-dispatching-events/
0
1538
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
977
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
815
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
928
posted 13 years ago by zartgesotten
Refer to the following:
http://codex.wordpress.org/Class_Reference/wpdb
0
1585
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
978
posted 13 years ago by redconservatory
n nextgen-gallery/view/gallery.php, find these lines. Either comment out or remove.
0
834
posted 13 years ago by xcsteve99
Cut-and-paste the following into your functions.php file (inside of your theme folder).
Change the Name-goes-here to whatever you want.
0
987
posted 13 years ago by redconservatory