会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
舟行一方
没有才能之人是无法虚度光阴的
博客园
首页
新随笔
管理
订阅
上一页
1
2
3
4
下一页
2016年5月18日
yii2 checkbox 的使用实例
摘要: 使用的是Yii自带的Grid,在使用checkbox希望可以把选中行的id值传到我想要的页面。 首先需要改变key值 button: $('#w0') 可换成自己grid的ID;
阅读全文
posted @ 2016-05-18 14:38 舟了个舟
阅读(3814)
评论(0)
推荐(0)
2015年10月21日
Magento Order 状态详解
摘要: 流程图:最后 文字介绍:http://www.ecomdev.org/2012/08/28/magento-checkout-functionality-concept.html
阅读全文
posted @ 2015-10-21 13:47 舟了个舟
阅读(213)
评论(0)
推荐(0)
2015年5月26日
yii2 设置多个入口文件
摘要: 在web下希望加个core.php的后台入口,但因为权限问题,总是会跳转到index.php解决方案:在core.php 引用的配置文件main-core.php加入如下代码: 'components' => [ 'urlManager'=>[ 'showScri...
阅读全文
posted @ 2015-05-26 17:03 舟了个舟
阅读(856)
评论(0)
推荐(0)
2015年5月19日
composer 加快更新速度
摘要: 一.使用代理set http_proxy=http://127.0.0.1:8087 //Windowsexport http_proxy=http://127.0.0.1:8087 //linux or Mac OS二. 使用中国镜像。http://pkg.phpcomposer.com/
阅读全文
posted @ 2015-05-19 15:28 舟了个舟
阅读(195)
评论(0)
推荐(0)
2014年8月12日
magento getMessage 不显示或者显示html标签解决方案
摘要: 在模板页面不显示getMessage的解决方案是,在对应的控制器里加上如下代码:$this->_initLayoutMessages('customer/session'); 如果加入后出现如下图的bug则再加入如下代码$this->_initLayoutMessages('catalog/sess...
阅读全文
posted @ 2014-08-12 13:25 舟了个舟
阅读(255)
评论(0)
推荐(0)
2014年8月5日
magento 自建插件通道服务
摘要: 首先建立如下的目录结构在channel.xml中如此写上 local http://localhost/channel/ local 在packages.xml中如此写 Jago_Deal 插件名 1.0.0 版本号 ...
阅读全文
posted @ 2014-08-05 16:46 舟了个舟
阅读(223)
评论(0)
推荐(0)
2014年7月29日
magento 获得当前产品页面的产品id
摘要: $product_id = Mage::registry('current_product')->getId();
阅读全文
posted @ 2014-07-29 10:28 舟了个舟
阅读(285)
评论(0)
推荐(0)
2014年7月25日
magento CURD操作
摘要: 查询:$model = Mage::getModel('mynews/mynews'); $collection = $model->getCollection(); $collection->addAttributeToSelect(array('name', 'image', 'url_key'...
阅读全文
posted @ 2014-07-25 15:58 舟了个舟
阅读(444)
评论(0)
推荐(0)
2014年7月7日
magento 添加事件
摘要: 首先是配置文件config.xml里的配置 /*事件名字*/ /*模块名字*/ deal/observer_cart /*文件地址deal/Model/Observer/Cart.p...
阅读全文
posted @ 2014-07-07 17:10 舟了个舟
阅读(350)
评论(0)
推荐(0)
2014年5月29日
magento controller直接渲染Block 以及传参
摘要: class Jago_Deal_IndexController extends Mage_Core_Controller_Front_Action{ public function ajaxAction() { $block = $this->getLayout()->cr...
阅读全文
posted @ 2014-05-29 10:34 舟了个舟
阅读(399)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告