The names and primary keys of MODX objects can be frustrating to new users trying to write MODX PHP code to work with them. Most MODX objects have a primary key called
id, but some don’t. You can also get the name of a MODX object by getting its
name field, but not always.
This post lists some of the anomalies, and contains a plea to regularize things a bit for MODX 3.
Tags: confusion, details, explained, ids, information, keys, MODx, names, object, Objects, source
Posted under MODX
If you have been following any of my articles you will know that I am always looking for ways to improve performance. Nothing is more frustrating than to go to a site and it seems like an eternity to load. This little helpful hint not only will increase performance but also minimize bandwidth requirements.
If you are like me than you have a multitude of images that rarely change on a site. Many of them are used in layouts, buttons, navigation, etc. If you do have a lot then why not tell the browser to use the images that have already been downloaded before. Once again in IIS 7 you can add the following to your web.config. It’s in the system.webServer section. Learn More