01 2014 档案

摘要:chmod 777 -R media/ 阅读全文
posted @ 2014-01-17 17:54 lifeinearth 阅读(137) 评论(0) 推荐(0)
摘要:app/code/core/Mage/Core/Model/Session/Abstract/Varien.php // session cookie params $cookieParams = array( 'lifetime' => $cookie->getLifetime(), 'path' => $cookie->getPath(), 'domain' => $cookie->getConfigDomain(), 'secure' => $cookie->isSecu... 阅读全文
posted @ 2014-01-17 17:53 lifeinearth 阅读(269) 评论(0) 推荐(0)
摘要:报connection timed out; no servers could be reached错误修改 /etc/resolv.conf 阅读全文
posted @ 2014-01-17 17:49 lifeinearth 阅读(586) 评论(0) 推荐(0)
摘要:过滤字符串function removeChkStr(chkId){ return chkId.replace(new RegExp("chk_item"), ""); }select选择后控件值变更: 阅读全文
posted @ 2014-01-17 17:47 lifeinearth 阅读(173) 评论(0) 推荐(0)
摘要:left join(左联接) 返回包括左表中的所有记录和右表中联结字段相等的记录right join(右联接) 返回包括右表中的所有记录和左表中联结字段相等的记录inner join(等值连接) 只返回两个表中联结字段相等的行 阅读全文
posted @ 2014-01-12 21:30 lifeinearth 阅读(172) 评论(0) 推荐(0)
摘要:获取Magento中常用的URL路径,如: skin, Media, JS, Base 和 Store URL ,并将其应用到CMS静态页面中 在静态块 STATIC BLOCK 中调用URL {{skin url=’images/sampleimage.jpg ‘}} To get Media URL {{media url=’/sampleimage.jpg’}} To get Store URL {{store url=’mypage.html’}} To get Base URL {{base url=’yourstore/mypage.html’}} 在 PHTM... 阅读全文
posted @ 2014-01-11 18:42 lifeinearth 阅读(1465) 评论(0) 推荐(0)