MODX Object Names and Keys: A Source of Confusion

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.

The Problem Learn More

Tags: , , , , , , , , , , | Posted under MODX | Leave a comment

Ratings in Elgg 1.8

Likes in elgg are a good way to engage your users in your elgg network. Another way to make your network more interactive is through ratings. Ratings lets users vote about any type of content such as videos, pictures, etc. For that reason in this article I will give you a step by step guide on how to add ratings in elgg 1.8

1. Elgg doesn’t have this functionality, so start by downloading the plugin “Ajax 5 star rating for Elgg 1.8“, here. Learn More

Tags: , , , , , , , , , , , , , , | Posted under Elgg | Leave a comment

Set Expiration Dates on Web Assets

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

Tags: , , , , , , , , | Posted under ASP .NET 4.0, Programming/Coding | Leave a comment