We wanted to use the excellent integrated labels with Magento.
We worked out that we needed to: Copy Abstract.php from app\code\core\Mage\Sales\Model\Order\Pdf to app\code\local\Mage\Sales\Model\Order\Pdf
Add the following to around line 233
/* Print shipping address for postage label */ $this->_setFontBold($page); $this->y = 170; foreach ($shippingAddress as $label){ if ($label!==”) { $page->drawText(strip_tags(ltrim($label)), 70, $this->y, ‘UTF-8′); $this->y -=10; } }
This printed the shipping address fine. However we noticed that it was printing out the customer’s phone number on the label too.
To remove this you have to go to app\code\core\Mage\Customer\etc\config.xml [make a backup first] and remove the references to a telephone number from within the <pdf translate=”title” module=”customer”> block.
Simon
Taken me age to figure out how to remove the Tax column from the magento PDF invoice.
I’ve made all my changes in a local version of the Magento core code as described here.
The two files you need to edit are:
Hope that helps
Melchior in Take A Break
Here’s a scan [PDF]
I don’t know who started the craze of leaving tributes at the scenes of death – or creating themed wreaths (usually of names or pints of beer) to attach to the side of horse drawn hearses – but no matter – they can stop now because they have all been out done.
Friends and family of an Uxbridge man have paid tribute to him by spelling out his name in empty cans of Stella. To top it off, his girlfriend has had the date of his death tattooed on her back.
Check out the story in the Uxbridge Gazette.
http://www.staringintospace.co.uk/wp-content/uploads/2009/06/uxbridge-gas-death-stella-can-tribute.pdf
You fuckers better do this for me when my time is up.
My four favourite Thriller take-off dances.
Thriller on Tube
Thriller in Prison
Thriller at Wedding
Thriller in Tesco
Finger Thriller
The only good thing to come out of celebrity deaths is the jokes.
Here’s a roundup of the jokes about Michael Jacksons death that I have had so far:
The weirdest thing in my loft has to be an Alesis HR-16 drum machine. I bought it in the 90s from a geezer in Loot. It still works although the internal battery is knackered so it won’t save any loops.
The gated snares on it are sooo 80s/90s and I reckon they’ll be in fashion very shortly.
I’m gonna hang onto it, along with my Roland D5 until someone offers me a grand for them.
The only other weird thing in my loft is a wasps nest that looks a bit like Jon Bon Jovi
I am writing this in a fucking pub! I can’t believe it. I think I am creative while drunk – so may stay here for a few. Logged onto The Cloud with the trusty Acer Aspire One – Brown or shit book as a colleague calls it with no problems at all.
You do have to register, but it’s opt in to receive marketing messages from trusted partners, so that’s okay.
Obviously a bit dangerous putting free internet in a pub. A bit like giving a pissed bloke a mobile phone with only his ex-girlfriend or great aunt’s number programmed into it. But hey ho. I think it’s magic.
I think the patrons of the Wetherspoons in Ickenham think it is some kind of magic too as they’re all looking at me.
It’s taken a while for me to post about the last ever show of Spring Awakening in the UK. I’d like to say that my emotions were too raw to contemplate writing about the end of such a fine and under-rated show – but I can’t though as I have just been lazy.
What I did do though, which show’s a bit of a commitment for the cause was smuggle in the old mini video camera into the last ever show and film both the finale song Song of Purple Summer and the encore song Totally Fucked.
I really can’t believe the feedback I’ve had from these videos – just look at the number of views, ratings and comments. I know it was naughty to do, but fuck it, it was worth it.
Purple Summer
Totally Fucked Encore
The show was absolutely amazing. Having seen it was a privalige. It’s like making a really funny, talented friend one day and then someone telling you they only have a month to live. You’re sad, but then you cherish the moments you have.
In the last month of Spring Awakening’s life I saw it three times – once from stage seats. I enjoyed every performance.
I tweeted with CMW at Spring Awakening and they said that some of the set was going to Korea, I think for a show there. I’m glad Spring Awakening is still going somewhere and I hope to go and see it somewhere else in the World (Korea/Japan/USA) soon.
It won’t be the same though.
Clicker Training Manual
In the booklet it says you can easily train the cat to play piano (nothing complicated – just the intros to Ben Folds songs or something) but I don’t have a piano.
I do have a guitar, and seeing as I can’t play it, I might as well live vicariously through Melchior.
I’ll post on youtube when he’s mastered his first Oasis song.