Understanding addPackage(), loadClass(), and getService() in MODX

I have never completely understood the differences between getService(), addPackage(), and loadClass(), and I find most descriptions of them somewhat thin and misleading (including the ones in my book). I recently ran some tests, and although my understanding is still imperfect, I thought I’d share what I learned. Learn More

Tags: , , , , | Posted under MODX | 2 Comments

SocialEngine 4: Redirect non-www Requests to www

This simple tutorial will teach you how to redirect non-www requests to www using .htaccess for social engine 4 or any other website.

This will basically create a 301 Permanent redirect.

All you have to do is to append/add to your .htaccess file and the result would be like this: Learn More

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