link.png Remove Input Box Drop Down History

Here is a quick tip on how to remove the dropdown history, on form dropdown elements, you get with modern browsers.

link.png Excellent Hosting Option

One of the best lesser know hosting companies


link.png Ionize Error On Articles

Codeigniter, Ionize version 0.9.7

When editing an article you will see a php error ...

link.png Hawkes Bay Cricket

Cricket is a game of stats and I've built a website for Hawke's Bay Cricket Umpires' and scorers' association that displays news and features plus a content type that shows the weekly appointments, this wil also be used to show the umpires' profiles and activities over the coming years.

link.png Working programmatically with custom content types

Learning to create custom content types programmatically in Drupal is like jumping without a parachute.  The documentation in the core API is very limited.  I've create a short list of websites that have generated useful helpers and tutorials. I hope they help you, please leave a comment if you have any other useful links.

 


link.png Validate a Domain Name

I was looking for a decent way to validate against a domain name (not a url) but could not see one in either Drupal or Codeigniter so I quickly built this function

 


link.png Colorbox Error with IE8

I came across a small bug that really got to me today.

Using the colorbox module with colorbox node in Drupal 7, which I will say are just great modules I was getting one of those useless script error in IE7 and IE8


link.png Codeigniter Auth

Codeigniter Access Control List that doesn't require a database table.

https://github.com/dollardad/CI-ACL

I've just updated this library so it now includes a full login system with role base permissions.


link.png Codeigniter Simple ACL

A simple Role Based Access Control List that dosen't require a database for Codeigniter.

Users can have multiple roles, and roles have access permissions.

I've based this on the Drupal ACL which I very much like.

 

link.png Simple responsive webdesign example

To create different layouts on web pages according to the size of the users browser simply use different ccs files.

Quick reminder


link.png Now I am a web hosting company

 

Welcome to LiveHost

After resigning as a director of Devol - I needed to host a few website, although I still have access to Devol's servers and continue to maintain them, I thought it would be unethical to continue using their resources for own my personal use.

What would happen if one of my development projects brought the their servers down !!!!


link.png Drupal Professional For Hire

I have recently resigned as technical director from Devol Limited, although I'm still contracted back to do some work. This means I have spare time on my hands for freelance work.

You can see some of my latest work on Devol's Portfolio page which shows a range of sites build on Drupal 6 & 7, Codeigniter and WordPress.


link.png Drupal Hosting in New Zealand

Hosting Drupal websites in New Zealand can be quite a hassle. Overseas, offer much more options and can be a lot cheaper but the latency sometimes is just not acceptable.  I tried using Rackspace but we ended up with WSOD so many times because of their server speed.

link.png Using IMCE with Image Field in CCK

Just another quick tip for Drupal 7.

Within a custom content type that has an image upload field I want to give the user access to images already uploaded rather than uploading the image again to use on a node.

link.png My WordPress Site got hacked

I don't believe it - my WordPress site got hacked !

They were posting comments with link backs to their sites, I've got anti-spam blah blah blah. Now to post a comment you have to leave an email address but there was no email address in the comment form when I looked at them from the admin screen. Strange.

link.png Drupal 7.10

Last year I was very disappointed with Drupal 7 to the fact that we as a company stopped using it but at last Drupal 7 is stable enough to start using on production sites.

I'm also very impressed with how Drupal Commerce is coming along and I'll be using it in the next project that requires a shopping cart.

We looked at Wordpress for shopping carts but they all seemed to lack something and you needed to pay for the pro version to get any useful functionality.


link.png My Rates Quote

I just love this quotation!

My rates are as follows:

  • $50/hour
  • $75/hour if you watch
  • $100/hour if you help

link.png Wordpress 3 Quick Tip Import Content

This tip probably applies to all versions of WP but when you export your content from one site to another the user id for anonymous users that have left a comment changes from zero to the authors' id.

This causes a problem if you have Gravatars enabled because it send the wrong email address to the Gravatar Site.

Weird !!!!


link.png Codeigniter smtp from localhost

Just a quick tip on how to use smtp on codeigniter from your localhost without using gmail etc.

First of all,  with codeigniter 2+ you can create separate directories inside your application/config folder

ie

application/config/development/

and

application/config/production/

link.png Pyro CMS Plugin

Just been messing around with PyroCMS (version 2), a cms built on codeigniter.

I couldn't find a function/plugin within the core install that allows you to switch between classes for the purpose of setting up columns.

So I've thrown a quick one together.

So create a plugin called switcher (You can call it anything you like) ....

 

link.png New Website in Codeigniter

Another happy customer as we launch another cms website using Codeigniter.

http://www.easterngwc.co.nz/

This site allows the client to add, edit clone stock and also push it to Autobase and TradeMe. I don't think I've found something that I can't do using Codeigniter.


link.png Absolute Path For Codeigniter

In an earlier post I spoke about a missing helper in Codeigniter.  An absolute path, particularly useful when handling images and files.

I think it is probably better to extend the core helper path.


link.png dyn.com is the worst service in the world

I've been with them a few years but now they are so interested in the money grab I can't even find how to update my dns zone.

Kick them into touch - they are useless.

link.png Drupal is dead

So I have finally got rid of Drupal as my choice of CMS and changed to WordPress.  OK I know that I'm still using a default theme but I have never claimed to be a designer.  As a company we still use Drupal for e-commerce sites although that may well change in the near future.  The majority of our commercial sites are built using Codeigniter or raw PHP which is of course my preferred option.