Skip to content

Instantly share code, notes, and snippets.

View zamartz's full-sized avatar
🤑
New Project Started!

Zachary A. Martz zamartz

🤑
New Project Started!
View GitHub Profile
@zamartz
zamartz / Grid.php
Created November 27, 2014 04:27
Ultimate Magento Admin Order Grid
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
@zamartz
zamartz / iAdd2Home
Created April 20, 2014 15:03
This creates a pop-up Callout that asks the user to add the current website to their iPhone home screen. It also allows the user the "x" out the callout and set a number of days in a cookie to keep the callout hidden so it in not persistent. Live with more Explanation = http://zamartz.com/Examples/iadd2home/
<head>
<!-- MOBILE SETTINGS -->
<meta name="viewport" content="width = device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<!-- END MOBILE SETTINGS -->
<!-- Javascript Libraries -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type="text/javascript" src="https://raw.githubusercontent.com/carhartl/jquery-cookie/master/jquery.cookie.js"></script>