Showing articles from all topics (13)
Modx get Formit Forms
The Formit Extra for Modx is a versatile snippet that makes form handling a breeze. One of its abilities is to encrypt and store submitted form data which can be accessed through the Formit CMP. But what if you want to access those stored forms and display them on the front end? A number of years ago I submitted a quick and dirty way of accessing Formit form data using a raw SQL statement, today I'd like to show you my new method for accessing and decrypting Fomit form data.
Cache busting in Modx
In the fast-paced world of web development, ensuring that your website serves the latest version of stylesheets and scripts is crucial. Cache-busting techniques play a vital role in achieving this goal. In this article, we will dive into the world of MODX CMS and explore various methods to add cache busters to stylesheets and scripts. From manual versioning to leveraging built-in features and an alternative code snippet using filemtime(), we'll equip you with the knowledge to optimize your website's performance and deliver an up-to-date user experience. Let's get started!
getMany() with newQuery()
Did you know you can use the Modx newQuery() method to enhance your getMany() relationship calls? In this article, we'll quickly look at a scenario where this could come in handy.
Export & import large MySQL Database
Working with large MySQL databases can be a right pain in the ass! I've found the best way to import/ export large databases is to use the command line rather than PHPMyAdmin or a program like Navicat. Here's how to export & import MySQL Database using a few simple commands over SSH.