摘要:
Snippet code:addPackage('storefinder',$path . 'model/','modx_');$result= $modx->getCollection('sfStore');foreach($result as $res){ $output .= $m... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
1. Install login package.2. Create a Template called 'login':[[!Login? &loginResourceId=`13` // means after login, redirect resource 13 page, in ... 阅读全文
摘要:
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... 阅读全文
摘要:
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 ... 阅读全文