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
#Allow Cross Domain Fonts | |
<FilesMatch "\.(ttf|ttc|otf|eot|woff|svg)$"> | |
<IfModule mod_headers.c> | |
Header set Access-Control-Allow-Origin "*" | |
</IfModule> | |
</FilesMatch> |
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
// ## Note: If not in a module sql setup use the following 2 lines | |
require_once('app/Mage.php'); | |
Mage::app()->setCurrentStore(Mage::getModel('core/store')->load(Mage_Core_Model_App::ADMIN_STORE_ID)); | |
// ## Note: Setup the new category attribute | |
$installer = new Mage_Sales_Model_Mysql4_Setup; | |
$installer->startSetup(); | |
$installer->addAttribute('catalog_category', 'additional_css', array( | |
'type' => 'text', | |
'backend' => '', | |
'frontend' => '', |
NewerOlder