摘要: Snippet code:addPackage('storefinder',$path . 'model/','modx_');$result= $modx->getCollection('sfStore');foreach($result as $res){ $output .= $m... 阅读全文
posted @ 2015-01-07 23:48 Zhentiw 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Simple Example:Lets process this chunk and output its value. We have this Chunk, called "WelcomeChunk":Welcome [[+name]]!We'll put this in our Snippet... 阅读全文
posted @ 2015-01-07 23:46 Zhentiw 阅读(263) 评论(0) 推荐(0) 编辑
摘要: MODx provides a really unfriendly way to work with xPDO class. What I means is you need to define XML schma, mysql table and run the script to generat... 阅读全文
posted @ 2015-01-07 23:20 Zhentiw 阅读(3556) 评论(0) 推荐(0) 编辑
摘要: 1. Install login package.2. Create a Template called 'login':[[!Login? &loginResourceId=`13` // means after login, redirect resource 13 page, in ... 阅读全文
posted @ 2015-01-07 20:53 Zhentiw 阅读(254) 评论(0) 推荐(0) 编辑
摘要: From:http://rangle.io/blog/two-ways-to-build-a-location-picker-for-a-mobile-angularjs-application/Building mobile apps often requires working with loc... 阅读全文
posted @ 2015-01-07 01:46 Zhentiw 阅读(399) 评论(0) 推荐(0) 编辑
摘要: The post we have:http://www.cnblogs.com/Answer1215/p/4185504.htmlgives a breif introduce about bindToController on the directive.Here is a blog about ... 阅读全文
posted @ 2015-01-07 01:33 Zhentiw 阅读(227) 评论(0) 推荐(0) 编辑