September 2011 - JRWDevelopment

This is just a small function that I wrote to connect to an LDAP server. It will connect to one server but will take multiple domains within that server as arguments. It parses the results and outputs three very common fields (firstname, lastname, and email address). The code is pretty well documented, so I’ll just leave it at that. Keep reading »

I’ve recently begun development on a new plugin for WordPress that will be useful to restaurant owners. I’m going to call it Daily Specials. I found a website today that allows you to list your menu and output it to almost any development environment. In fact, they already have an official WordPress plugin. The only thing it doesn’t do is add the ability to have a daily special. What if I want to feature my tri tip grilled steak on Tuesday evenings from 4PM-8PM for only $10? How do I show this on my page? Do I just write an article about it? What if I feature this every Tuesday? What if I have a new special everyday that runs for weeks at a time? Keep reading »

In Expressionengine 2.0+, stand alone entry forms (saef) are practically deprecated because of the introduction of the new safecracker entry forms. While the new safecreacker forms are much better as a whole…there is still a need to use them in a stand alone form. For instance, in the backend of EE, there is really no way to create your own custom field for a form. What if I want a select box that only lists the members who have glasses? Obviously, this isn’t a real world example, but there’s still no real way to do that in EE. So we must resort to stand alone forms that Keep reading »

Before I really get into this article, I want to say that WordPress is the best CMS available. Not only is it free and open source, but it is supported by the largest community of developers in the world. Every day something better comes out for WordPress that jettisons it farther ahead of the competition. With that said, today’s topic is using the loop in WordPress to create relationships between posts.

With the advances in custom-post-types and custom-fields in WordPress 3.0, your content can now be taken to the next level. A project I was working on today created the need for me to relate posts to pages. You say, “That’s easy. That’s what tags and categories are for.” This is true. Tags and categories were created to allow you to sort your collection of data by its content. However, what if you wanted to show a group of posts on a page based on the content in the page? Let me give an example. Keep reading »