Welcome To Snipplr
Everyone's Recent PHP Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is a much cleaner way to do this than the number of examples on the web. Every example I saw seemed to account for orientation - horizontal vs. vertical vs. square when looking at the input. This ignores horizontal and vertical by mapping the...
0
735
posted 13 years ago by dblack
Copy /modules/mod_menu/tmpl/default.php to /templates/MYTEMPLATE/html/mod_menu/default.php
0
1114
posted 13 years ago by nico65
As of WordPress 3.1.2, Editors do not have access to the menu editor in WordPress. The following code gives that capability to Editors. Add this code to your functions.php file.
0
621
posted 13 years ago by hopeworks
A php program to check whether two simple connected graphs are isomorphic.
0
737
posted 13 years ago by trusktr
Inspired by http://subesh.com.np/2010/08/magento-setting-default-shipping-method-cart-page/.
Basically Magento requires only countryId in shipment address to show shipment methods (at least in polish case). Very useful if you want user to select shi...
0
1037
posted 13 years ago by ef