WordPress is God.  Except better… as it is real :)

I run a lot of websites and frequently use wordpress as the basis of these sites.  It is often quicker and easier to install WordPress than to fire up Dreamweaver.  The power in WordPress is the ability of 3rd party plugins to transform the humble blogging platform in a tool for every occasion.  Here are some of my favourite Plugins Read the rest of this entry »

September 4th, 2009 | Wordpress | No Comments »


The modern theme made available by the good folks at Varian for their free e-commerce product Magento is a great template and a good starting point for anyone looking to customise magento for their own look and feel.  However, the default layout has the Related products block in the left hand menu which unless you have very long product descriptions can leave the page unbalanced.

These instructions will move the block to to the centre under the product descriptions.

You can see this at work here on a <a href=”http://www.cl-floraldesigns.co.uk”>wedding flowers</a> site.
In catalog.xml find

<reference name=“right”>
<
block type=“catalog/product_list_related” name=“catalog.product.related” before=“-” template=“catalog/product/list/related.phtml”/>
</
reference>

Remove or comment out

<block type=“catalog/product_list_related” name=“catalog.product.related” before=“-” template=“catalog/product/list/related.phtml”/>

Read the rest of this entry »

August 27th, 2009 | magento | 6 Comments »

2350 reset info

it was damned hard work finding this information so for anyone else trying to find it… here you go..

This information and information for a whole lot of other makes and models was eventually found here

http://rpsinkandtoners.com/Kpage.html

August 4th, 2009 | Hardware | No Comments »

Found this great script for automatically backing up local mysql databases to local backup storage.  Details can be found in this post

The scripts itself lives here:

http://sourceforge.net/projects/automysqlbackup/files/

July 18th, 2009 | mysql | No Comments »

http://www.freespeedtest.com/

very handy for convincing your hosting company that there really is a problem.

July 7th, 2009 | apache | No Comments »

First, make sure procmail is installed on your server, and change to this directory:

/var/qmail/mailnames/yourdomain.com/yourusername/

Inside that directory, drop in a .procmailrc file which contains the following:

MAILDIR=/var/qmail/mailnames/yourdomain.com/yourusername/Maildir
DEFAULT=${MAILDIR}/
SPAMDIR=${MAILDIR}/.Junk/
:0
* ^X-Spam-Status: Yes.*
${SPAMDIR}

Once that file is in place, move the .qmail file out of the way, and replace it with this:

| /usr/local/psa/bin/psa-spamc accept
|preline /usr/bin/procmail -m -o .procmailrc

Any changes you or your users make in plesk will over write this!

To get around this change the file attributes to immutable:

# chattr +i .qmail .procmailrc

Credit for this trick goes to Russ Wittmann.

March 21st, 2009 | plesk, procmail, qmail | 1 Comment »
  1. ./pear upgrade-all
  2. rm -rf downloader/pearlib/cache/* downloader/pearlib/download/*
March 4th, 2009 | magento | No Comments »

in 

/app/design/frontend/default/modern/template/page/html/header.phtml

comment out 

 <!–    <img src=”<?php echo $this->getSkinUrl(‘images/side_logo_promo.gif’) ?>” alt=”" class=”side-logo-promo”/> –>

as shown
February 13th, 2009 | magento | 4 Comments »

Using the modern theme to create a menu like http://www.cl-floraldesigns.co.uk 

Read the rest of this entry »

February 12th, 2009 | magento | 4 Comments »

Memo to self:

To back up the databases in shell via ssh do:

mysqldump -h localhost -u xxxxx -p db_name > backup-file.sql
restore with
mysql -h localhost -u xxxxx -p db_name < backup-file.sql

February 3rd, 2009 | mysql | No Comments »