安装程序中有部分代码:
//this will set data of your custom attribute for root category
Mage::getModel('catalog/category')
->load(1)
->setImportedCatId(0)
->setInitialSetupFlag(true)
->save();
//this will set data of your custom attribute for default category
Mage::getModel('catalog/category')
->load(2)
->setImportedCatId(0)
->setInitialSetupFlag(true)
->save();
Run Code Online (Sandbox Code Playgroud)
这里有两个问题:
函数加载有一个参数.这是身份证.应该使用哪个表?
什么是setImportedCatId?这是它的制定者,但我没有说明它是什么.
我有zend服务器.所以我试着在System-> Preferences-> Sessions Added /usr/local/zend/bin/zendctl.sh中做出选择.还尝试了/usr/local/zend/bin/zendctl.sh start-apache和/ usr/local/zend/bin/sh zendctl.sh start-apache.什么都没有开始.MySQL也是如此 - 也没有开始.
任何想法如何为这些自动运行?
MagickWand不合适,因为它不适用于简单的托管.
我正在寻找图像框架来解决以下任务:1)合并图像2)调整图像大小
我试图使用codeigniter组件,但它无法组合图像.
我想用jquery帖子:
var CONST_KEY = 'key';
var CONST_VALUE = 'value';
$.post('/', {CONST_KEY: "'" + CONST_VALUE + "'" }, function(){
//.....
});
Run Code Online (Sandbox Code Playgroud)
但在这种情况下服务器得到:
CONST_KEY =值
为什么CONST_KEY作为变量名发送但不作为'值'发送?
frameworks ×2
apache ×1
codeigniter ×1
image ×1
javascript ×1
layout ×1
linux ×1
magento ×1
php ×1
ubuntu ×1
yii ×1
zend-server ×1