Skip to content

Instantly share code, notes, and snippets.

Yousef Cisco yousefcisco

Block or report user

Report or block yousefcisco

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View onename
Verifying that +yousefcisco is my blockchain ID.
yousefcisco / config.xml
Created Nov 1, 2015
Example config to add a new Magento page type and disable one_column form being default
View config.xml
<?xml version="1.0"?>
<vendor_page module="page">
<label>Vendor Default</label>
yousefcisco / BaseBlocker.php
Last active Nov 13, 2015
Example rewrite to disable Magento from falling back to base/default
View BaseBlocker.php
class Vendor_BaseBlocker_Rewrite_Mage_Core_Model_Design_Package extends Mage_Core_Model_Design_Package
* Magento's function with additional condition to around falling back to base/default
* @author Wenjiang Xu <>
protected function _fallback($file, array &$params, array $fallbackScheme = array(array()))
yousefcisco / gist:db7db210026c08301744
Created Oct 11, 2014
Backbone.stickit handler that allows function as select label
View gist:db7db210026c08301744
selector: 'select',
events: ['change'],
update: function($el, val, model, options) {
var optList,
selectConfig = options.selectOptions,
list = selectConfig && selectConfig.collection || undefined,
isMultiple = $el.prop('multiple');
// If there are no `selectOptions` then we assume that the `<select>`
You can’t perform that action at this time.