白菜粉条汤
make life remembered
  • 首页
  • 分类
    • 随语
    • 杂志
    • 外贸
    • 技术
    • 图片
    • 电影
    • 音乐
    • 饮食
    • 大学
  • 关于
每月存档

9月 2009

杂志

庆国庆60周年

by 曾经沧海 2009年9月30日

60周年!!!!!举国同庆!!

2009年9月30日 0 评论 307 阅读
技术

一位高人的QTP学习笔记

by 曾经沧海 2009年9月22日

转贴一个高人的QTP笔记供大家学习。
文章比较长,一共三部分:
1、连接数据库查询例子,无参数化
//查询收文操作,通过数据库查询记录数是否正确
//1、输出记录数值,例如78条 2、获取输出的记录数值 3、连接数据库,查询记录数
4、输出记录数值和从数据库中查询记录数值,相比较,相等则成功,不等则失败
Browser(“湛江信息化测试登录”).Page(“湛江东兴石油企业有限公司办公自动化系统”).Frame(“mainFrame”).Output CheckPoint(“78”)
Dim mm
‘mm=DataTable.GlobalSheet.GetParameter(“mainFrameOutput_Text_out”).Value
//注释,获取datatable值与DataTable(“mainFrameOutput_Text_out”, dtGlobalSheet)一致
mm=DataTable(“mainFrameOutput_Text_out”, dtGlobalSheet)
MsgBox mm
Dim res,cmd,sql
Set res=createobject(“adodb.recordset”)
Set cmd=createobject(“adodb.command”)
Cmd.activec
Cmd.CommandType = 1
sql=”select count(*) from oa_receivebumf  where BUMFNAME like ‘%收文测试%'”
‘sql=”select  count(*)  from oa_receivebumf  where BUMFNAME='”&nn&”‘”
//注释,sql语句,等于时sql语句
// sql=”select  count(*)  from oa_receivebumf  where BUMFNAME like ‘%nn%'” //like时sql语句
Cmd.CommandText = sql
Set res = Cmd.Execute()
//msgbox res(“name”)
MsgBox res(0)
If   Cstr(res(0)) = Cstr(mm)Then
Reporter.ReportEvent micPass, “test”,   “查询成功”
else
Reporter.ReportEvent micfail, “test”,   “查询失败”
End If
Set res = nothing
Set cmd.ActiveConnection = nothing
Set Cmd= nothing

继续阅读
2009年9月22日 0 评论 348 阅读
音乐

黎明 – Sugar In The Marmalade

by 曾经沧海 2009年9月19日
2009年9月19日 0 评论 387 阅读
音乐

黎明 对不起,我爱谁

by 曾经沧海 2009年9月19日

2009年9月19日 0 评论 334 阅读
音乐

黎明 酸

by 曾经沧海 2009年9月19日
2009年9月19日 0 评论 458 阅读
音乐

谭咏麟-喜爱

by 曾经沧海 2009年9月18日

2009年9月18日 0 评论 366 阅读
图片杂志

纪念我的电风扇

by 曾经沧海 2009年9月17日

终于

这个跟了我有6年的风扇

走完了它的短短的一生。

从03年开始,到09年,

它的风很凉,在当年的宿舍来说,应该是风最大的

价格大概是30多块吧,很便宜了

大概是04年的一个夏天的晚上,突然一声响,它不转了

我起来检查,发现是风扇叶子竟然断了一片,卡在里面了

我拿出断掉的那片,风扇继续转,不过就是很不平衡,

于是我就把坏的那片叶子的对角那一片也撕了一半下来

perfect!

继续运行,

直到05年毕业,又到07年毕业,到广州

几个星期前,它开始出现了不正常的症状了

经常会启动不了,但是拍一下也许又能动了

有时候转了一会又停下来了,毛病逐渐的显示出来,

终于,几天前,彻底的不动了,无论怎么拍就是不动

看来,终于到了该说再见的时候

这么长的时间,我真的很舍不得。。。。。

留下照片,给将来的我自己看看。 20090917082 20090917083 20090917084 20090917085 20090917086 20090917084

2009年9月17日 1 评论 335 阅读
图片

Newyork Now

by 曾经沧海 2009年9月11日

2009年9月11日 1 评论 402 阅读
技术

How to change the Magento Email Templates

by 曾经沧海 2009年9月2日

You’ll probably know by now that the transactional email templates in Magento are a bit, with respect, “naff”. To edit through the admin will take forever and a day so here’s a couple of useful solutions to help make things easier.

1. Locate the email templates

The Magento email templates are located in (note: “en_US” may change depending on language).

magento\app\locale\en_US\template\email\account_new.html”(24,48):
magento\app\locale\en_US\template\email\admin_password_new.html”(27,73):
magento\app\locale\en_US\template\email\newsletter_subscr_confirm.html”(28,69):
magento\app\locale\en_US\template\email\order_creditmemo.html”(23,63):
magento\app\locale\en_US\template\email\order_creditmemo.html”(75,62):
magento\app\locale\en_US\template\email\order_invoice.html”(23,63):
magento\app\locale\en_US\template\email\order_invoice.html”(75,62):
magento\app\locale\en_US\template\email\order_new.html”(23,63):
magento\app\locale\en_US\template\email\order_new.html”(79,62):
magento\app\locale\en_US\template\email\order_shipment.html”(23,63):
magento\app\locale\en_US\template\email\order_shipment.html”(81,62):
magento\app\locale\en_US\template\email\order_update.html”(26,52):
magento\app\locale\en_US\template\email\password_new.html”(24,41):
magento\app\locale\en_US\template\email\wishlist_share.html”(23,65):

2. Edit your information in

replace alt=”Magento” with alt=”your store name”

replace Magento Demo Store with your store name

replace mailto:magento@varien.com with mailto:email@yourstore.com

replace dummyemail@magentocommerce.com with email@yourstore.com

replace (800) DEMO-STORE with (0800) YOUR STORE NUMBER

replace Monday – Friday, 8am – 5pm PST with your own store opening times and timezone

3. Advanced – Automated Shell Script

Another option would be to create a shell script with all you’re information in which goes through the directories in question and replaces text as we need. Note: You will need your Store View Name and Store Name to match your domain name.

#!/bin/sh
phone=(123)456-7890

find app/locale/en_US/template/email/sales -type f -exec sed -i ’s/alt=”Magento”/alt=”{{var order.getStoreGroupName()}}”/g’ {} \;
find app/locale/en_US/template/email/sales -type f -exec sed -i ’s/Magento Demo Store/{{var order.getStoreGroupName()}} /g’ {} \;
find app/locale/en_US/template/email/sales -type f -exec sed -i ’s/mailto:magento@varien.com/sales@{{var order.getStoreGroupName()}}/g’ {} \;
find app/locale/en_US/template/email/sales -type f -exec sed -i ’s/dummyemail@magentocommerce.com/sales@{{var order.getStoreGroupName()}}/g’ {} \;

find app/locale/en_US/template/email -type f -exec sed -i ’s/alt=”Magento”/alt=”{{var customer.store.name}}”/g’ {} \;
find app/locale/en_US/template/email -type f -exec sed -i ’s/Magento Demo Store/{{var customer.store.name}} /g’ {} \;
find app/locale/en_US/template/email -type f -exec sed -i ’s/mailto:magento@varien.com/sales@{{var customer.store.name}}/g’ {} \;
find app/locale/en_US/template/email -type f -exec sed -i ’s/dummyemail@magentocommerce.com/sales@{{var customer.store.name}}/g’ {} \;

find app/locale/en_US/template/email -type f -exec sed -i “s/(800)DEMO-STORE/$phone/g” {} \;
find app/locale/en_US/template/email -type f -exec sed -i “s/(800)DEMO-NUMBER/$phone/g” {} \;
find app/locale/en_US/template/email -type f -exec sed -i “s/(800) DEMO-NUMBER/$phone/g” {} \;
find app/locale/en_US/template/email -type f -exec sed -i “s/(800) DEMO-STORE/$phone/g” {} \;
find app/locale/en_US/template/email -type f -exec sed -i ’s/Monday – Friday, 8am – 5pm PST/24×7/g’ {} \;
find app/locale/en_US/template/email -type f -exec sed -i ’s/logo_email.gif/logo.gif/g’ {} \;

2009年9月2日 0 评论 307 阅读
技术

MAGENTO Error:: cannot access the connect manager

by 曾经沧海 2009年9月2日

The problem was due to the directory permissions on /downloader (was 775, needed to be 755 and the /downloader/index.php (was 755 needed to be 644).

Also, the magento php.ini changes needed to be added to a custom php.ini in the main directory and /downloader.

2009年9月2日 0 评论 367 阅读
加载更多

热门

  • 无线餐饮点菜系统–去年的毕业设计

    2008年9月21日 36 评论 2.4k 阅读
  • Magento设置Paypal支付步骤

    2011年5月29日 1 评论 1k 阅读
  • 垃圾

    2017年3月12日 0 评论 892 阅读
  • 办公室的两只猫

    2017年12月19日 0 评论 874 阅读
  • 记录

    2007年10月6日 0 评论 870 阅读

最新

  • 每天都好难过

    2023年3月3日 0 评论 24 阅读
  • 梦见

    2023年3月1日 0 评论 27 阅读
  • 再没有机会当面叫伯伯了

    2023年2月27日 0 评论 29 阅读
  • 我对不起你

    2023年2月7日 0 评论 48 阅读
  • 我回来了

    2023年2月6日 0 评论 50 阅读

分类

  • 图片 (71)
  • 外贸 (6)
  • 大学 (103)
  • 技术 (75)
  • 杂志 (290)
  • 电影 (13)
  • 资源 (1)
  • 随语 (66)
  • 音乐 (96)
  • 饮食 (3)

归档

  • 2023年3月 (2)
  • 2023年2月 (3)
  • 2023年1月 (27)
  • 2021年8月 (2)
  • 2021年1月 (1)
  • 2020年3月 (1)
  • 2019年3月 (1)
  • 2017年12月 (2)
  • 2017年3月 (2)
  • 2011年10月 (3)
  • 2011年8月 (1)
  • 2011年7月 (1)
  • 2011年5月 (1)
  • 2011年4月 (1)
  • 2011年1月 (2)
  • 2010年12月 (1)
  • 2010年9月 (2)
  • 2010年8月 (5)
  • 2010年7月 (1)
  • 2010年6月 (1)
  • 2010年5月 (2)
  • 2010年4月 (3)
  • 2010年2月 (4)
  • 2010年1月 (9)
  • 2009年12月 (3)
  • 2009年11月 (3)
  • 2009年9月 (11)
  • 2009年8月 (6)
  • 2009年7月 (1)
  • 2009年6月 (2)
  • 2009年5月 (7)
  • 2009年4月 (13)
  • 2009年3月 (14)
  • 2009年2月 (2)
  • 2009年1月 (12)
  • 2008年12月 (19)
  • 2008年11月 (1)
  • 2008年10月 (9)
  • 2008年9月 (12)
  • 2008年8月 (5)
  • 2008年7月 (7)
  • 2008年6月 (13)
  • 2008年5月 (4)
  • 2008年4月 (10)
  • 2008年3月 (7)
  • 2008年2月 (7)
  • 2008年1月 (11)
  • 2007年12月 (4)
  • 2007年11月 (8)
  • 2007年10月 (30)
  • 2007年9月 (25)
  • 2007年8月 (29)
  • 2007年7月 (32)
  • 2007年6月 (2)
  • 2007年4月 (1)
  • 2007年3月 (2)
  • 2007年2月 (5)
  • 2007年1月 (7)
  • 2006年12月 (11)
  • 2006年11月 (24)
  • 2006年10月 (13)
  • 2006年9月 (16)
  • 2006年8月 (21)
  • 2006年7月 (18)
  • 2006年6月 (9)
  • 2006年5月 (27)
  • 2006年4月 (44)
  • 2006年3月 (21)
  • 2006年2月 (9)
  • 2006年1月 (6)
  • 2005年12月 (12)
  • 2005年11月 (17)
  • 2005年10月 (44)
  • 2005年9月 (12)

标签

asp错误 (1) cache (1) django (1) joomla (8) joomla extension (3) magento (2) magento connect (1) Magento Email Templates (1) pink (1) Plone (1) python (3) QTP (1) sef (2) so what (1) stop 0x0000007b (1) Sugar In The Marmalade (1) vbs (1) virtuemart (3) Virtuemart Menu (1) Zope (1) 专升本 (4) 周慧敏 (2) 喜爱 (1) 国庆 (1) 域名注册,域名 (1) 学生处 (6) 我爱谁 (1) 我的大学 (6) 我的大学编年史 (6) 拉肚子 (1) 樊海军 (6) 物理学系 (6) 物理系 (4) 电子信息工程 (4) 简单电话薄 (1) 聚会 (1) 肇庆 (4) 肇庆学院 (6) 计算机系 (4) 谭咏麟 (3) 软件测试 (4) 邓奎元,蔡金生,喝酒 (1) 酸 (1) 黎明 (2) 黎明 对不起 (1)
  • 首页
  • 分类
    • 随语
    • 杂志
    • 外贸
    • 技术
    • 图片
    • 电影
    • 音乐
    • 饮食
    • 大学
  • 关于

@2005-2023 - 白菜粉条汤

白菜粉条汤
  • 随语
  • 杂志
  • 资源
  • 外贸
  • 技术
  • 图片
  • 电影
  • 音乐
  • 饮食
  • 大学
登入

保持登录状态,直到我退出

忘记密码了吗?

找回密码

新密码将通过电子邮件发送给您。

收到新密码了吗? Login here