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
http://devdocs.io/ | |
http://www.sitepoint.com/ | |
http://www.smashingmagazine.com/ | |
http://techcrunch.com/ |
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
- cd shell/ | |
php indexer.php reindexall | |
php indexer.php --reindex [Index Option Code] | |
- Index Option Code: | |
catalog_product_attribute Product Attributes | |
catalog_product_price Product Prices | |
catalog_url Catalog Url Rewrites | |
catalog_product_flat Product Flat Data | |
catalog_category_flat Category Flat Data | |
catalog_category_product Category Products |
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
1. Zurb-foundation: | |
sudo gem install zurb-foundation -v 3.2.5 | |
2. Grunt + Sass + Compass | |
## GRUNT + COMPASS + SASS ## | |
- Ruby | |
sudo apt-get install ruby-full | |
- Sass: | |
sudo gem install sass -v 3.4.9 |
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
perl: warning: Setting locale failed. | |
perl: warning: Please check that your locale settings: | |
LANGUAGE = (unset), | |
LC_ALL = (unset), | |
LC_CTYPE = "UTF-8", | |
LANG = "en_US.UTF-8" | |
are supported and installed on your system. | |
perl: warning: Falling back to the standard locale ("C"). | |
-- Run commands in terminal -- |
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
1. Add follwing code into __construct() function in : | |
app/code/local/[Name_Space]/[Module_Name]/Block/Adminhtml/[Module_Name]/Grid.php file. | |
$this->setUseAjax(true); | |
2. Add following function at last of this file. |
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
http://www.magentocommerce.com/wiki/5_-_modules_and_development/reference/geturl_function_parameters |
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
// Add column | |
$installer->getConnection()->addColumn($installer->getTable('sales/quote'), '<field>', 'TEXT DEFAULT NULL'); | |
// Add an index | |
$installer->getConnection() | |
->addKey( | |
$installer->getTable('sales/quote'), | |
'IDX_PRODUCT', | |
'field' | |
); |
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
1. Check handles in controller: | |
$this->getLayout()->getUpdate()->getHandles() | |
2. ** REINDEX ** | |
- cd shell of project | |
- Reindex all: | |
php.exe indexer.php reindexall | |
- Reindex item: | |
php.exe -f indexer.php -- -reindex <option> | |
- option can be: |
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
<crontab> | |
<jobs> | |
<cron_name> | |
<schedule> | |
<cron_expr>0 0 * * SUN</cron_expr> | |
</schedule> | |
<run> | |
<model>module/observer::jobsFunction</model> | |
</run> | |
</cron_name> |
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
// Get the Magento root directory or path | |
$root = dirname(Mage::getRoot()); |
NewerOlder