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
<?xml version="1.0"?> | |
<!-- | |
/** | |
* This is the override xml for my theme | |
* | |
* @category design | |
* @package simplestore_mytheme | |
* @copyright Copyright (c) 2011 YourCompany. (http://www.magentocommerce.com) | |
* @license http://www.yourwebsite.com/license Commercial License | |
*/ |
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 | |
class Decadentwaste_Chromeframe_Model_Observer | |
{ | |
const HEAD_EXPRESSION = '{(<head[^>]*?>)}i'; | |
public function insertMetaTags($observer) | |
{ | |
$body = $observer->getResponse()->getBody(); | |
if(strpos(strToLower($body), 'x-ua-compatible') === false) { | |
$body = preg_replace(self::HEAD_EXPRESSION,'$1'.$this->_getTag(),$body); | |
$observer->getResponse()->setBody($body); |
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
{exp:weblog:entries | |
entry_id="47" | |
dynamic="off" | |
status="not closed" | |
disable="categories|category_fields|member_data|pagination|trackbacks" | |
} | |
{embed="page/.screen" | |
title='{if "{seo_title_{nsm_lang}}" != ''}{seo_title_{nsm_lang}}{if:else}{title}{/if}' | |
meta_description="{meta_description_{nsm_lang}}" | |
} |
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
* Clears and hasLayout fixes */ | |
.ie .header-container, | |
.ie .header-container .top-container, | |
.ie .header, | |
.ie .header .quick-access, | |
.ie #nav, | |
.ie .main, | |
.ie .footer, | |
.ie .footer-container .bottom-container, | |
.ie .col-main, |
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
public function getThumbnailUrl() | |
{ | |
$url = false; | |
if ($image = $this->getThumbnail()) { | |
$url = Mage::getBaseUrl('media').'catalog/category/'.$image; | |
} | |
return $url; | |
} |
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
<option value="Maat S">T-shirt maat S €19,95</option> | |
<option value="Maat M">T-shirt maat M €24,95</option> | |
<option value="Maat L">T-shirt maat L €29,95</option> |
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
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo Mage::helper('core/url')->getCurrentUrl();?>&layout=standard&show_faces=true&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowtransparency="true" style="display:block; clear:both; border:none; overflow:hidden; width:450px; height:61px"></iframe> |
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
p img[style*='float: left;'] {margin: 0 1.5em 0 0;} | |
p img[style*='float: right;'] {margin: 0 0 0 1.5em;} |
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
class Mage_Catalog_Block_Product_List extends Mage_Catalog_Block_Product_Abstract |
NewerOlder