This file contains hidden or 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" encoding="UTF-8"?> | |
<layout> | |
<catalogsearch_term_popular> | |
<reference name="head"> | |
<action method="setRobots"><value>NOINDEX,NOFOLLOW</value></action> | |
</reference> | |
</catalogsearch_term_popular> | |
</layout> |
This file contains hidden or 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/sh | |
WEBDIR=/var/www/mysite.com | |
GIT_WORK_TREE=$WEBDIR git checkout -f | |
cd $WEBDIR |
This file contains hidden or 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"?> | |
<!-- app/etc/modules/Meteorify_Checkout.xml --> | |
<config> | |
<modules> | |
<Meteorify_Checkout> | |
<active>true</active> | |
<codePool>local</codePool> | |
</Meteorify_Checkout> | |
</modules> | |
</config> |
This file contains hidden or 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" encoding="UTF-8"?> | |
<layout version="0.1.0"> | |
<!-- the block is set to show on the individual product page; change the layout name to use this block on other pages. | |
You can also add the block to other layouts --> | |
<catalog_product_view> | |
<reference name="left"> | |
<block type="randomtestimonial/template_random" name="random.testimonial"> | |
<!-- remove comments to set the title of this testimonial block or leave commented out to use the CMS block title --> | |
<action method="setTitle" translate="title"><title>What Customers Say...</title></action> | |
<!-- set the cms block identifier prefix for all cms blocks to be used with this template --> |
This file contains hidden or 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
# Replace all files line endings from current directory onwards. | |
$ find . -type f -exec perl -pi -e 's/\r\n?/\n/g' {} \; | |
# Only replace line endings in php files within current directory | |
$ perl -pi -e 's/\r\n?/\n/g' *.php |
This file contains hidden or 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
# Never save database creditentials in your repo. Keep a dummy copy with a different name eg "local.xml.dev" | |
app/etc/local.xml | |
downloader | |
# If you'd like to keep the downloader, use the following instead: | |
# downloader/.cache | |
# downloader/cache.cfg | |
# downloader/connect.cfg | |
# All of the var folders can be excluded. |
This file contains hidden or 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
<action type="dataflow/convert_parser_csv" method="parse"> | |
<var name="delimiter"><![CDATA[,]]></var> | |
<var name="enclose"><![CDATA[]]></var> | |
<var name="fieldnames"></var> | |
<var name="map"> | |
<map name="sku"><![CDATA[sku]]></map> | |
<map name="image"><![CDATA[image]]></map> | |
<map name="image_label"><![CDATA[image_label]]></map> | |
<map name="small_image"><![CDATA[small_image]]></map> | |
<map name="small_image_label"><![CDATA[small_image_label]]></map> |
This file contains hidden or 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
<script type="text/javascript"> | |
Checkout.prototype.gotoSection = Checkout.prototype.gotoSection.wrap(function(parentMethod, section, reloadProgressBlock) { | |
// Call parent method. | |
parentMethod(section, reloadProgressBlock); | |
var _gaq = _gaq || []; | |
try { | |
// push current checkout section to google analytics if available. |
NewerOlder