All posts in modx

Exporting to CSV in Modx

Sometimes the easiest way to bulk edit or export data is through a csv or excel file. While its easy enough to export a database table as CSV if your exporting from Modx then it’s not that straight forward. The reason for this is due to the way Modx stores Template Variables – within a table that references the page the TV belongs to and the type of variable it Read More...

Creating a static website with Modx

Given that title, you may be thinking “hang on, if it’s a CMS then it’s not going to be static pages, right?” – wrong. Along with one the co-founder and lead Architect of Modx – Jason Coward, for my book review site SFBook, I’ve managed to get the best of both worlds – a static site that can be edited in the Modx CMS. Why bother? – No matter how Read More...

GetPage Pagination

GetPage is a very useful extra for Modx that allows the pagination of results, most of the time generated by the GetResources extra. It’s pretty straightforward to use however by default there isn’t really any thought given to the duplication that will result from it’s use. There doesn’t seem to be much about this on the net either, it’s pretty straight forward to fix though, you just need to include Read More...

Supercache and the permissions of Doom

I’ve been using a great plugin for Modx Revolution recently called Supercache which expands on the existing caching system and for complex sites can improve the performance of the website substantially. So far so good, except the caching was so good it didn’t want to give up the cached files and trying to delete them through FTP held no joy either. So I had the choice of using a plugin Read More...