[MODX] Get a Field Value – Fast!

MODX logoSuppose you want the value of a single field from some MODX object (most often, a resource, user, or user profile). Let’s use the example of a resource. You know something about the resource (e.g., its pagetitle, alias, or id). The usual way of getting a field value in code is to get the resource object with $doc = $modx->getObject() and then get the field with $doc->get('fieldName');. You also have to test the return value of getObject() because if it fails, the call to get() will throw a PHP error. Learn More

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

Private Profiles in Elgg

Private Profiles allows you to restrict access to profile pages. In this article, I will explain how to set private profiles in Elgg 1.8 Learn More

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

How to Move Collections’ Comments Section to the Left in Clip-Bucket v2


Per one of our customer’s request, I will show you how to position the comments box you see in the Collections section on the left, instead of the right. You probably may have noticed that the Collections section is the only section where it is at the right. If you have not, go check it and you’ll see what I’m talking about. Works for the whole v2 branch.

Learn More

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