MODX User-related Resource Fields II

In the last article, we saw how to get the full name (or username) oMODX logof the user for any of the user-related fields, but to change the field, we had to rewrite the code of the snippet. In this article we’ll see a snippet that will handle the current user plus any other user-related field for the current resource.

We’ll send the name of the field we want to render as a property in the snippet tag. Learn More

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

SocialEngine 4: PHP notice ‘Undefined variable:

Andrew - SocialEngine

There is a known issue resulting in the main.log log file being filled with a non-existent variable being used ‘$user’ (instead of the proper variable which is ‘$viewer’).

Here’s a patch for the error: Learn More

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

Easy Translations for Elgg

Letting users change the language of the site is a key feature that all network sites should have. In this article I will give you a step-by-step guide on how to easily add translations in Elgg. Learn More

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