Quantcast
Channel: Bob Ray – Arvixe Blog
Browsing all 115 articles
Browse latest View live

Adding MODX Users to User Groups

As I’m sure you know, there’s almost never just one way to do something in MODX. In this article, we’ll see several different ways to add a user to a … Learn More

View Article


Clearing User Session Data

When making changes to a user’s status or capabilities, as we discussed in the previous article, sometimes you’d like the changes to take effect right away. Suppose, for example, that … Learn More

View Article


A PHP Code Clarity Tip

This is a quick tip on making your PHP code easier to read (both for others, and for you). Complicated if statements can be fairly obscure, so we’ll look at … Learn More

View Article

MODX Snippet Development I

This is the first in a series of articles about snippet design and improvement. In the series, I’d like to walk you through the process of creation and enhancement of … Learn More

View Article

MODX Snippet Development II

In the last article, we looked at a way to show the word NEW on pages when the resource was published recently. It’s common to develop a quick snippet to … Learn More

View Article


MODX Snippet Development III

In the last article, we cleaned up our snippet code to make it more readable and to meet some standard coding practices. We’ll do some more of that in this … Learn More

View Article

MODX Snippet Development IV

In the last article, we cleaned up our code and gave the snippet a single exit point. But there’s still a problem with the design. We’ll fix that in this … Learn More

View Article

Log Failed Logins in MODX

A MODX forum user asked for a way to log failed logins when a user complained that they were entering the correct credentials and sometimes not getting in. Here’s a … Learn More

View Article


MODX Snippet Development V

In the last article, we cleaned up our code, improved the design, and made the snippet more flexible by adding properties to the snippet tag. In this article we’ll look … Learn More

View Article


MODX Snippet Development VI

In the last article, we changed the &interval property to make the snippet more user-friendly, and we did a little error handling. In this article we’ll look setting placeholders in … Learn More

View Article

MODX Snippet Development VII

In the last article, we cleaned up our code, improved the design, and made the snippet more flexible by adding properties to the snippet tag. In this article we’ll look … Learn More

View Article

Using MODX Language Tags

In the last article, we looked at a few ways to use the MODX lexicon in a snippet. In this one, we’ll see an even simpler way that can be … Learn More

View Article

MODX Upcoming Article Teaser

A MODX Forum user asked for a way to show upcoming blog articles as a teaser to get people to return to the site. In this article we’ll look at … Learn More

View Article


MODX Upcoming Teaser Outside of Articles

In the previous article, we looked at a way to display a “teaser” for upcoming blog posts, but what if you want to use the same idea for non-articles? In … Learn More

View Article

Upcoming Teaser with Multiple Resource Types

In the previous article, we looked at a way to display a “teaser” for upcoming blog posts and set the &classKey property to select the resources you want. In this … Learn More

View Article


Calling MODX getResources in Code

In the previous article, we looked at a way to display a “teaser” for upcoming blog posts and set the &classKey property to select the resources you want. In this … Learn More

View Article

StripWords Custom Output Modifier for MODX

Here’s a nice custom output modifier developed by MODX Forum user michelle84. It removes or replaces unwanted words or phrases and can be used with any tag in MODX revolution. … Learn More

View Article


Hardening Your MODX Site

I don’t claim to be an expert on hardening web sites, but I thought I’d write about something a little concerning, basically I’ve learned about how MODX protects your web site … Learn More

View Article

StripWords with Multiple Replacements

In the previous article, we looked at a custom output modifier (and plugin) to remove or replace unwanted words or phrases from a web page. The output modifier ccould be … Learn More

View Article

Replacing Strings with an Associative Array (PHP)

In the previous article, we looked at using str_replace with two separate arrays, one for the strings to replace, and one for the replacements. This isn’t always the most convenient … Learn More

View Article
Browsing all 115 articles
Browse latest View live