Tags
亲和力网站 小狗钱钱 72小时法则 apache C CakePHP Capistrano Catalyst change filename Cpan css cygwin Database Directory Dreamweaver encoding ext2 Geshi heredoc httperf IP address IPv6 Joomfish Joomla Jquery Junction Kannel Linux MacOS Magento NTFS Oracle Perl PHP Phtml print Read File Regex Shell SqlServer2005 ssh Test touch Ubuntu Windows
Category Archives: Magento
How to override a core controller in the magento
How to Override a core controoler in magento ?? Magento controller class override is something different then others classes. Controller override is not same as model, helper, block override. I found lot of thread on magento forum , but not … Continue reading
在NetBeans给magento添加提示方法功能
在 magento中,如果你用getModel得到一个对象时,默认没有方法提示的,可以通过添加一个注释来实现
$quote = Mage::getModel(‘sales/quote’) ->setStoreId(Mage::app()->getStore()->getId()); /* @var $quote Mage_Sales_Model_Quote */
通过var的定义,就可以有自动的方法提示了。
How to call your hlper class in magento
在magento中,如果你在local下面有自己的模块,并且有自己的空间(象是公司名等),如果你想引用一个 helper的时候,默认magento不能找到你的类,需要在config.xml里定义你的helper类