易企cms默认版本能获取指定分类的所有产品,但是不能获取指定的个数,为了能够获取指定的个数,我找到了GetProductList方法进行了改进:1.找到根目录下的include/product.class.php文件搜索关键字"GetProductList"将GetProductList方法替换为如...
分类:
其他好文 时间:
2014-06-25 21:11:44
阅读次数:
223
1.当进行到生成上传包即:点击product》》archive 》》validation时;先是出现“the bundle does not contain an app icon for iphone / ipod touch of exactly '120x120' pixels”的错误解决方法...
分类:
移动开发 时间:
2014-06-25 18:58:03
阅读次数:
271
$attribute = Mage::getSingleton('eav/config')->getAttribute('catalog_product', 'color');if ($attribute->usesSource()) { $options = $attribute->getSour...
分类:
其他好文 时间:
2014-06-25 18:33:38
阅读次数:
228
假定我们有两张表,一张表为Product表存放产品信息,其中有产品价格列Price;另外一张表是ProductPrice表,我们要将ProductPrice表中的价格字段Price更新为Price表中价格字段的80%。 在Mysql中我们有几种手段可以做到这一点,一种是update table1 t...
分类:
数据库 时间:
2014-06-25 16:18:51
阅读次数:
162
First, update the attribute input type to multiselect:UPDATE eav_attribute SETentity_type_id = '4',attribute_model = NULL,backend_model = 'eav/entity_...
分类:
其他好文 时间:
2014-06-25 14:13:24
阅读次数:
285
编辑listener.ora加上:
SID_LIST_LISTENER =
(SID_DESC =
(GLOBAL_DBNAME = ORCL)
(ORACLE_HOME = D:\Oracle\product\11.2.0\dbhome_1)
(SID_NAME = ORCL)
)
)...
分类:
数据库 时间:
2014-06-24 22:12:21
阅读次数:
531
http://www.blueidea.com/download/product/2010/7513.asp#comment1.从头到尾对一遍>,不懂的地方可以暂时掠过,给自己对javascript有一个大体的印象2.认认真真的读完这本书:>,从编码规范,技巧,模式,等各个方面深入体会javascr...
分类:
编程语言 时间:
2014-06-24 15:11:06
阅读次数:
233
查询表中有多少列select count(1) from user_tab_columns where table_name=upper('M_ReturnPicture')//查询数据中某个用户所创建的表数量SELECT table_name FROM all_tables WHERE owner...
分类:
数据库 时间:
2014-06-24 10:55:01
阅读次数:
274
今天是2014-06-17,遇到一个非常奇怪的问题,可能之前测试修改监听的原因,导致监听启动后自动关闭,特此记录一下整个处理过程,
监听配置文件信息如下:
[oracle@dg1 admin]$ more listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome...
分类:
系统相关 时间:
2014-06-22 20:22:38
阅读次数:
445
在项目开发中,我们常常需要将工程文件打包成.ipa文件,提供给越狱的iphone安装。
下面是一种方法:
1、首先应该给工程安装好配置文件(这里不再敖述),在ios device的状态下,运行成功。
2、选择Product->archive,如下图
3、点击Distribute按钮,弹出新窗口,选择Export as Xcode Archive,如下:
4、弹出是...
分类:
移动开发 时间:
2014-06-22 17:36:03
阅读次数:
322