This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//add this in page.tpl.php | |
<?php if ($main_menu): ?> | |
<div class="row"> | |
<div class="twelve columns"> | |
<nav id="navigation" class="top-bar"> | |
<ul> | |
<li class="name"><h1><a href="#">Navigation</a></h1></li> | |
<li class="toggle-topbar"><a href="#"></a></li> | |
</ul> | |
<section class="section"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Magento | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Academic Free License (AFL 3.0) | |
* that is bundled with this package in the file LICENSE_AFL.txt. | |
* It is also available through the world-wide-web at this URL: | |
* http://opensource.org/licenses/afl-3.0.php | |
* If you did not receive a copy of the license and are unable to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once Mage::getModuleDir('controllers', 'Mage_Adminhtml') . DS . 'Catalog' . DS . 'ProductController.php'; //faccio il require della classe da estendere | |
class Namespace_Valerio_Catalog_ProductController extends Mage_Adminhtml_Catalog_ProductController{ | |
public function newAction(){ | |
echo "Ho riscritto il core di newAction"; | |
die; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
ini_set('display_errors', 1); | |
require "app/Mage.php"; | |
Mage::init(); | |
Mage::setIsDeveloperMode(true); | |
umask(0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NameVirtualHost *:80 | |
Include /etc/httpd/vhosts.d/*.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- *****************for customers***************** | |
SET FOREIGN_KEY_CHECKS=0; | |
-- reset customers | |
TRUNCATE customer_address_entity; | |
TRUNCATE customer_address_entity_datetime; | |
TRUNCATE customer_address_entity_decimal; | |
TRUNCATE customer_address_entity_int; | |
TRUNCATE customer_address_entity_text; | |
TRUNCATE customer_address_entity_varchar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Patch apllying tool template | |
# v0.1.2 | |
# (c) Copyright 2013. Magento Inc. | |
# | |
# DO NOT CHANGE ANY LINE IN THIS FILE. | |
# 1. Check required system tools | |
_check_installed_tools() { | |
local missed="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
ini_set('display_errors', 1); | |
ini_set('display_startup_errors', 1); | |
error_reporting(E_ALL); | |
//echo "hello world"; | |
try { | |
require __DIR__ . '/app/bootstrap.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# place this few lines in /etc/cron.daily/trim | |
#!/bin/sh | |
LOG=/var/log/trim.log | |
echo "*** $(date -R) ***" >> $LOG | |
fstrim -v / >> $LOG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 6aba001aedc29f3c2b69f81dd46cd2bb38be97ca Mon Sep 17 00:00:00 2001 | |
From: valerio masciotta <[email protected]> | |
Date: Fri, 6 May 2016 15:32:53 +0000 | |
Subject: [PATCH] fix bug admin manufacturer search | |
--- | |
.../Zeon/Manufacturer/Model/Mysql4/Manufacturer/Collection.php | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/app/code/community/Zeon/Manufacturer/Model/Mysql4/Manufacturer/Collection.php b/app/code/community/Zeon/Manufacturer/Model/Mysql4/Manufacturer/Collection.php |
OlderNewer