MODx – Wayfinder Incorrect Order (menu index)
March 9th, 2010
If you’re using an older version of MySQL then the MODx Wayfinder snippet might fail to order your navigation correctly (regardless of your menu indexes). Here’s one solution.
March 9th, 2010
If you’re using an older version of MySQL then the MODx Wayfinder snippet might fail to order your navigation correctly (regardless of your menu indexes). Here’s one solution.
March 3rd, 2010
If you can’t log into Magento, when developing or testing locally, you will need to perform a few minor changes to have access to the Magento admin backend.
November 5th, 2009
A quick and easy snippet to include a MODx page’s content in another page.
October 15th, 2009
Here’s a quick and simple function I thought I’d share. It recursively scans and maps from a set directory to an array in PHP.
September 15th, 2009
I came to a bit of a road block when trying to determine whether a user is logged in or not with WebLoginPE on MODx. This is a quick and dirty snippet for determining a users login state.
August 14th, 2009
A small niggle I found with MODx was the document tree view that’s displayed in the left hand side of the manager. It displays the “resources” title (aka the page title) which is bit confusing like shown below. After a quick browse through the source I changed it to display the resources alias.
July 15th, 2009
Recently I was put in a situation where I had created a dynamic site that, prior to launch, needed Search Engine Friendly (SEF) URL’s. Without any admin access to the IIS server I was working on, no IIS modules/filters and extremely limited access in the control panel I came up with a method of URL rewriting purely in PHP without Apache and mod_rewrite.
June 30th, 2009
In this reference we’re going to look at how to “decrypt” (or more accurately “collide”) MD5 and SHA1 hashes by creating a resource of pre-hashed words.
June 29th, 2009
Providing you know SQL you can perform SQL injections on websites that perform unescaped queries. In this reference we’ll use a hands on approach and start by performing our own basic injections based on website user input and then looking into prevention methods.
May 17th, 2009
The PHP DOMDocument class in PHP allows you to manipulate HTML and XML files by getting elements, creating elements, validating pages, saving pages and more.
In this quick example we’ll use the DOM Document class to extract links from a remote page, something I’ve had to do recently.
July 30th, 2008
I’ve recently started to develop with the Linux alpha version of Flex Builder and was looking around for a decent introduction for using Flex 3 with PHP. Unfortunately there was nothing basic and the majority of articles related to Flex 2 and simply didn’t work. So here is an article ground down to the bare basics.
Website Designed and maintained by Daniel Gibbs - Powered by WordPress - Copyright 2009