magento date

piaoling  2012-06-14 11:52:52

15天前 $locale         ->date()         ->sub("15", Zend_Date::DAY)         ->toString('YYYY-MM-dd HH:mm:ss'))     ) ......

类别 :  magento(258)  |  浏览(3484)  |  评论(0)

英语口语

piaoling  2012-06-13 21:53:29

i need to get fit 我需要减肥 my dad has a real sweet tooth 我爸特别喜欢吃甜食 a minute on the lips, forever on the hips 贪得一刻嘴馋,平添一身赘肉 time to hit the gym i'm on a diet 我正在减肥 let's go for a jog 我们去慢跑吧 i go to power walking every morning 我每天早上都进行快走锻炼 cut back on the fat 戒掉一切脂肪类的食物 ......

类别 :  学习(7)  |  浏览(4505)  |  评论(0)

Magento Robots.txt & SEO

piaoling  2012-06-07 22:11:13

Today I’m going to talk about robots.txt files and their impact on a Magento Website. Thanks to a current customer of ours who stumbled across a robots.txt thread in the magento forums we have the basis for a comprehensive robots.txt file. First, a little history. Imagine your website as a stately manor – a bit like that series “Downton Abbey” that was on TV recently. A big expansive and exquisitely designed piece of magnificence. You are lord and lady of this manor, you know where things are and where they need to be. However you are nervous, you pace the corridor......

类别 :  magento(258)  |  浏览(3820)  |  评论(0)

magento get session id

piaoling  2012-06-06 15:40:19

$this_session_id = Mage::getSingleton('core/session', array('name' => 'frontend'))->getSessionId(); ......

类别 :  magento(258)  |  浏览(3451)  |  评论(0)

MYSQL常用命令

piaoling  2012-05-31 14:12:08

1.导出整个数据库 mysqldump -u 用户名 -p --default-character-set=latin1 数据库名 > 导出的文件名(数据库默认编码是latin1) mysqldump -u wcnc -p smgp_apps_wcnc > wcnc.sql 2.导出一个表 mysqldump -u 用户名 -p 数据库名 表名> 导出的文件名 mysqldump -u wcnc -p smgp_apps_wcnc users> wcnc_users.sql 3.导出一个数据库结构 mysqldump -u wcnc -p -d –add-drop-table smgp_apps_wcnc >d:wcnc_db.sql -d 没有数据 –add-drop-table 在每个create语句之前增加一个drop table 4.导入数据库 A:常用source ......

类别 :  sql(5)  |  浏览(4731)  |  评论(0)

cizhixin

piaoling  2012-05-18 18:19:37

英文中 “to quit one’s job” 是辞职比较口语化的表达方式,而 “to resign”是比较正规的表达方式。递交 辞职信则为“to tender one’s resignation”。导致辞职的原因因人而异:有的人举家迁移(relocation)不得已换工作,有的人是因为健康、 年龄或家庭因素,有的人是另谋高职,有的人是与同事或上级发生矛盾, 有的人是迫于工作压力。但不管怎样,作为辞职人你应本着好聚好散、心平气和的精神书写辞职信, 提一下公司给你带来的好处......

类别 :  默认(748)  |  浏览(3490)  |  评论(0)

IP国家对照表在PHP MySQL中的应用

piaoling  2012-05-03 11:57:30

IP国家对照表在PHP+MySQL中的应用 Posted on June 11, 2009 最近项目中要用到IP国家对照表,于是google到一个由webhosting推出的免费的IP国家数据库:The IP to Country Database,更新速度也很快,使用起来也很方便。最新版:点击下载 在PHP使用之前,首先要把csv导入到MySQL中,用以下语句创建MySQL表,用来存放数据: CREATE TABLE IF NOT EXISTS `ipcountry` ( `ip_from` int(10) unsigned NOT NULL default '0', `ip_to` int(10) unsigned NOT NULL default '0', `country_code2` char(2) NOT NULL......

类别 :  默认(748)  |  浏览(5608)  |  评论(0)

qq 空间分享

piaoling  2012-05-02 11:17:38

http://www.bshare.cn/intro/services     http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=http://www.bshare.cn/intro/services?utm_source=bshare&utm_campaign=bshare&utm_medium=qzone&bsh_bid=92107821&title=新浪微博分享代码,分享到qq空间代码,人人网代码|支持的平台-bShare介绍&pics=&summary=我正在用bShare分享服务,可以轻松的把喜欢的东西分享到各大微博、社交网站,还能给站长带回更多的流量。有兴趣的话,你也来试试吧! ......

类别 :  默认(748)  |  浏览(3264)  |  评论(0)

Tutorial: Multi-Site, Multi-Domain Setup

piaoling  2012-04-23 18:10:50

Tutorial: Multi-Site, Multi-Domain Setup Category: Build Your Store Tomas G, Magento Support One of Magento’s greatest strengths is its capabilities for scaling to support multi-store and multi-language retailing all from the same backend. In this tutorial, we will be showing you how to take advantage of Magento’s scalability by creating multiple websites with unique domain names sharing the same product catalog. (***NOTE: Each store can also be configured to offer a unique product catalog as well.) For this example, we’ll be attempting to set up doma......

类别 :  magento(258)  |  浏览(4051)  |  评论(0)

bluebell

piaoling  2012-04-13 17:14:09

<?php $menus[SITE][‘name’] = ‘brand1m’; $menus[SITE][‘languages’][‘languages’] = array(‘fr’, `en`); $menus[SITE][‘languages’][‘fr’][‘menuname’][‘TITLE0’] = ‘PATH0‘; $menus[SITE][‘languages’][‘fr’][‘menuname’][‘TITLE1’] = ‘PATH1‘; $menus[SITE][‘languages’][‘fr’][‘menuname’][‘TITLE2’] = ‘PATH2‘; $menus[SITE][‘languages’][‘fr&r......

类别 :  默认(748)  |  浏览(3292)  |  评论(0)
  • Page:24/145  1448 Blogs
    <<
    >>
    20088
    周日 周一 周二 周三 周四 周五 周六

    文章分类