随笔分类 -  MODX

摘要:If you also run into this problem, dont' worry, here is the solution for you.First: In Modx, go "System settings" --> Search "Maximum upload size" --... 阅读全文
posted @ 2015-09-07 16:53 Zhentiw 阅读(201) 评论(0) 推荐(0) 编辑
摘要:We are not finishing yet...1. Under MIGX Management, we need to add some "Actionbuttons"2. Also some "contextmenus":3. Add some 'columns' to the forms... 阅读全文
posted @ 2015-03-05 21:04 Zhentiw 编辑
摘要:BIG FUCK for MODxMODx document is not that good ... at least in my opint of view. I spend hours to search martirals to find out how to build a CMP by ... 阅读全文
posted @ 2015-03-05 19:26 Zhentiw 编辑
摘要:1. Go to 'Extras' -> download and install 'Babel'.2. Set up '.htaccess' file, currently, we set up three languages:find '# The Friendly URLs part' in ... 阅读全文
posted @ 2015-01-16 19:04 Zhentiw 编辑
摘要:Snippet code:addPackage('storefinder',$path . 'model/','modx_');$result= $modx->getCollection('sfStore');foreach($result as $res){ $output .= $m... 阅读全文
posted @ 2015-01-07 23:48 Zhentiw 编辑
摘要: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 编辑
摘要: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 编辑
摘要: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 编辑
摘要:1. Install the wayFinder package2. Select the resource which you want to show:The 'published' resources are shown in drak icon, otherwise light color.... 阅读全文
posted @ 2015-01-06 21:21 Zhentiw 编辑
摘要:1. Create a chunk call 'white_content' for white content: The Endorsements ... 阅读全文
posted @ 2015-01-06 18:01 Zhentiw 编辑
摘要:1. Add chunk:For example, replace the header by using chunk.Usage: [[$chunk_name]]Cut all the header code from the Learn template [[++site_... 阅读全文
posted @ 2015-01-05 23:24 Zhentiw 编辑
摘要:1. The package we might need:2. Install the package:Select InstallerDownload ExtrasInstall the package you need3. Check the result:For exmaple: Ace, i... 阅读全文
posted @ 2015-01-05 22:45 Zhentiw 编辑
摘要:1. Connet MODx by SSH:Go to the MODx cloud;Find you current user and right click selet Edit Cloud;Find your SSH connect information:2. Upload an HTML5... 阅读全文
posted @ 2015-01-05 22:29 Zhentiw 编辑
摘要:A chunk may be used in many pages, different page may require different style.We can use Placeholder to pass in the value.[[+placeholder_name]]For exm... 阅读全文
posted @ 2014-12-19 22:36 Zhentiw 编辑
摘要:Chunk in Modx can cut your template into samll pieces to make code reuseable.[[$chunk_name]]For example we can replace the html header with [[$html_he... 阅读全文
posted @ 2014-12-19 21:51 Zhentiw 编辑
摘要:After uploading javascript, css and images to the assets folder.We try to use Template to customizeour html.First template: We set up some placeholder... 阅读全文
posted @ 2014-12-19 19:32 Zhentiw 编辑
摘要:In Modex, there are three tabs: Resoources, Elements & FilesFirst: 'Files' is the place where to put javascript, css & images. I also want to put font... 阅读全文
posted @ 2014-12-19 19:22 Zhentiw 编辑

点击右上角即可分享
微信分享提示