Pear for 1.4, mage for 1.5. File downloaded into /downloader/.cache/community/
./pear download magento-community/Shipping_Agent
./mage download community Shipping_Agent
# http://thenerdary.net/articles/entry/htaccess-environments | |
RewriteEngine On | |
RewriteBase / | |
### SET UP ENVIORNMENTS ### | |
# Default to master | |
RewriteRule .* - [E=ENVIRONMENT:master] |
<block type="cms/block" name="block_name"> | |
<action method="setBlockId"><id>block_code</id></action> | |
</block> | |
{{block type="cms/block" block_id="block_code"}} | |
{{block type="catalog/product_list" category_id="79" template="catalog/product/list_random.phtml"}} |
var parser = document.createElement('a'); | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.host; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" |
/** | |
* Create a mock iterator over the given array. | |
* | |
* @param array $a | |
* @param string $class The class to use for the mock, should be/implement/extend Iterator | |
* @param boolean $complete Whether or not to build a complete iteration. This is | |
* used when an exception/break is expected in the middle of the iteration. | |
* @param integer $numElms The number of elements that should be iterated in the case of an | |
* incomplete iteration. | |
*/ |
{ | |
name: 'greenwellness/wellnessbon' | |
description: 'Definitie voor Green Wellness Wellnessbon.' | |
license: 'proprietary' | |
'minimum-stability': 'dev' | |
config: |
<VirtualHost *:80> | |
DocumentRoot "D:/www/_BuyerQuest" | |
ServerName local.buyerquest.net | |
ServerAlias local.buyerquest.net | |
#SetEnv MAGE_IS_DEVELOPER_MODE "true" | |
<Directory "D:/www/_BuyerQuest"> | |
Options Indexes FollowSymLinks | |
AllowOverride All |
<VirtualHost *:80> | |
DocumentRoot "D:/www/project-name" | |
ServerName local.project-name.net | |
ServerAlias local.project-name.net | |
#SetEnv MAGE_IS_DEVELOPER_MODE "true" | |
<Directory "D:/www/project-name"> | |
Options Indexes FollowSymLinks | |
AllowOverride All |
download and install Solr from http://lucene.apache.org/solr/.
you can access Solr admin from your browser: http://localhost:8983/solr/
use the port number used in installation.