still display attributes in layer
app/code/core/Mage/Catalog/Model/Layer/Filter/Attribute.php public function apply(Zend_Controller_Request_Abstract $request, $filterBlock) { $filter = $request->getParam($this->_requestVar); if (is_array($filter)) { return $this; } $text = $this->_getOptionText($filter); if ($filter && $text) { $this->_getResource()->applyFilterToCollection($this, $filter); $this->getLayer()->getState()->addFilter($this->_createItem($text, $filter)); //注释掉下面这行 // $this......
phpmyadmin
<?php /* Servers configuration */ $i = 0; /* Server: localhost [1] */ $i++; $cfg['Servers'][$i]['verbose'] = 'localhost'; $cfg['Servers'][$i]['host'] = 'localhost'; $cfg['Servers'][$i]['port'] = ''; $cfg['Servers'][$i]['socket'] = ''; $cfg['Servers'][$i]['connect_type'] = 'tcp'; $cfg['Servers'][$i]['extension'] = 'mysqli'; $cfg['Servers'][$i]['auth_type'] = 'config'; $cfg['Servers'][$i]['user'......
草头格习字 让您练得一手好字!
分享到: http://demohour.com/projects/302573 草头格,一种新型练字格,摒弃传统田字格、米字格的低效甚至贻害,适合任何年龄段的人练习写字,写一手好字。 关于我 我,徐长辉,70后。同事们多是80、90后,都亲昵地称我为“老徐”。 从事书法教育培训多年,眼见上大学的越来越多了,可是能写出一手好字的越来越少了,甚急。总想着怎样让更多的人轻轻松松地写一手好字......
magento varian form datetime,date
$dateFormatIso = 'yyyy-M-d HH:mm:ss'; $fieldset->addField( 'start_time', 'date', array( 'name' => 'start_time', 'time' => true, &nb......
magento date
$date="2012-7-18 14:00:00"; $change= Mage::getModel('core/date')->gmtDate("Y-m-d H:i:s", $date); Zend_Debug::dump($change); Zend_Debug::dump(Mage::getModel('core/date')->date("Y-m-d H:i:s", $change)); die(); ......
magento admin form 表单元素大全
开发Magento后台的时候经常用到表单(Varien_Data_Form),下面是所有表单元素的添加方法: 1.input type=”text” $fieldset->addField(‘title’, ‘text’, array( ‘label’ => Mage::helper(‘form’)->__(‘Title3′), ‘class’ => ‘required-entry’, ‘required’ => true, ‘name’ => ‘title’, ‘onclick’ => “alert(‘on click’);”, ‘onchange’ => “alert(‘on change’);”, ‘style’ => “border:10px”, ‘value’ => ‘hello !!’, ‘disabled’ => false, ‘readonly’ =&......
Mysql_不能用ip链接_能用localhost 和 127.0.0.1链接
Mysql_不能用ip链接_能用localhost 和 127.0.0.1链接 OS:Ubuntu lijg@lijg-pc:~/tempdb$ mysql -h localhost -uroot -p lijg@lijg-pc:~/tempdb$ mysql -h 127.0.0.1 -uroot -p 但是用ip就不行了 lijg@lijg-pc:~/tempdb$ mysql -h 192.168.7.247 -uroot -p t800 Enter password: ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.7.247' (111) 解决方法: 步骤1、确认已有账户权限 mysql> use mysql Reading table information for completion of table and column names You can turn off this feature ......
How do I make Magento use two MySQL Servers
I setup a replicated mysql server in magento.. following this blog post: http://www.magentocommerce.com/blog/comments/performance-is-key-notes-on-magentos-performance/ I added this into my /app/etc/local.xml <default_setup> <connection> <......
Connect different database from Magento
Some of you might have worked on Magento. I am listing here points for connecting another database from Magento. 1) Suppose your database for Magento Project is named ‘magento’. 2) There is one other database named ‘wp’. 3) For using this database inside Magento, you need to setup connection in ‘config.xml’ file which resides in ‘urmagentodirectory/app/etc’ 4) In ‘config.xml’ there is a tag ‘’ inside which default connection is setup, you need to write this code under this. ? ......
How does URL rewriting works?
Createa category Diagram1-1 Wejust input the category's name, and set "is active" to Yes,and then click Save Category Diagram1-2 Wecan see that the URL key is automaticly generated. The value is"nikon-camera". Whena category is created, in database table core_url_rewriting,there is a new record created at the&nbs......
- Page:22/146 1451 Blogs
周日 | 周一 | 周二 | 周三 | 周四 | 周五 | 周六 |
文章分类
- 默认(751)
- 日志(47)
- 感悟(15)
- testIT(4)
- PHP_XML(5)
- PHP(78)
- 明星(1)
- 笑话(31)
- 毕业论文(2)
- 生活(60)
- HTML(11)
- CSS(6)
- 考研(3)
- JS(21)
- 简历(6)
- svn(3)
- 音乐(1)
- 学习(7)
- jQuery(9)
- 英语口语(9)
- 书籍(2)
- magento(258)
- apache(12)
- 创意(4)
- 设计(4)
- 休闲(1)
- IT咨询(11)
- 工作(23)
- ubuntu(21)
- bysoft(1)
- zend(1)
- web(2)
- software(1)
- sql(5)
- 娱乐(5)
- photoshop(3)
- zend framework(2)
- nginx(3)
- 小说(1)
- 名言(1)
- 牛人(1)
- Mysql(6)
- vim(2)
- wordpress(8)
- drupal(1)