Validating Zip Codes for the UserGroupFromZip Plugin in MODX

In the last article, we looked at how to use a plugin to put users into a user group based on their zip codes (or whatever is in the ‘zip’ field). In this one, we’ll refine that plugin a little to normalize and validate the zip code. The article assumes that you’re dealing with USA-style zip (postal) codes, but some of the principles would apply elsewhere.

MODX logo Learn More

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

Add a Tumblr Button to your Textpattern CMS Articles

admin-ajax

In this third article in my short series of social sharing with Textpattern CMS, I’m going to explain the process involved with adding Tumblr support to your Textpattern articles. Like Facebook and Twitter, there are two components to add to your archive page in order to add Tumblr button support: a JavaScript chunk and some markup to make the button itself. Where Tumblr buttons differ is the information needed to make the button: Facebook needs a URL for the article and figures out the other stuff itself, and Twitter just needs the URL. Tumblr has extra whizzy bits that include the article URL, the name of the article and the description. Learn More

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

Configure Lightbox Effect in Joomla

In this article I will give you a step by step guide on how to configure lightbox effect in Joomla. Follow these steps: Learn More

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