Category Archives: work

Javascript URI Address Segment Selection

I use the great CodeIgniter, PHP Framework a lot, Most site’s now days I create use it. One of the many good things is that way it handles pages request’s and PHP $_SERVER['REQUEST_URI'] to find which page we are on. … Continue reading

Posted in Code, fun, javascript, Technology, work | Tagged , , , | Leave a comment

Now using FeedBurner RSS

In preparation to a major overhaul of this site, I have moved my RSS feeds to Google’s FeedBurner. Please alter your RSS subscription links to ; http://feeds.feedburner.com/sheldonlendrum

Posted in Code, Life, Technology, wordpress, work | Leave a comment

Use PHP and the GD Library to make CSS Sprites

I came across some neat free Icons a couple of day’s ago. I found 178 free icons by WooThemes. They suited my needs for some navigation icons I was after, so after a quick download, I have them all. Great. … Continue reading

Posted in Code, design, fun, Life, Technology, work | Tagged , , , | Leave a comment

Basic REGEX for cleaning and prepping data

Over the last year or so, I have used a PHP Framework Code Igniter, Amongst many of its good features is its built in Form Validation Library. Every now and then I either write a a small site out of … Continue reading

Posted in Code, fun, Technology, work | Tagged , , | Leave a comment

Using Mootools Request.HTML response Javascript using $exec

Javascript frameworks are great, no matter which one you use their all built to do more, quickly. I use Mootools for most of my JS needs, and something is I often use is the AJAX request functionality. Today I needed … Continue reading

Posted in Code, javascript, Technology, Uncategorized, work | Tagged , , , , , | Leave a comment

Calculator & Search Engine Optomisation for Glass Art NZ

Recently the firm I work for got a job to rewrite the Online Quotation calculator for a local tauranga Painted Glass company called GlassArt. We took the existing design and completely recoded the site, the original company had done such … Continue reading

Posted in Code, Search Engine Optomisation, Technology, work | Tagged , , | Leave a comment

CodeIgniter & SPAW Editor Tabs

A few months ago, I updated a great SPAW editor plug-in for CodeIgniter to use the most recent version of SPAW at the time, that included Safari Browser fixes and some CSS tweeks. Well over the weekend I look at … Continue reading

Posted in Code, fun, Life, Technology, work | Tagged , | 12 Comments

Use PHP to subStr to cut length in whole words

In work, we often output a section of content and don’t always either want the whole content, or want a quick summary; Below is a quick piece of code that will create a quick clean summary of a full HTML … Continue reading

Posted in Code, work | Tagged , , | Leave a comment