14 4 / 2013

The latest site I’ve launched, Beamont Bygones, specialises in vintage jewellery. The site is built on Magento which allows it to do some really powerful things like filter products by the gemstones that are in it, or the era it came from.

23 11 / 2011

I’ve been working on running an ecommerce website / eBay store for the past couple of months, here’s the fancy new set up that arrived yesterday and some of the results. I bought it off eBay for £80. So far I’m impressed with the results, but I’m spending a bit more time than I’d like fixing and trying to totally isolate them in Photoshop - I’m thinking I might start uploading the unfinished result regardless to save time.

Check out the ecommerce website to see them all: mandmcomputers.net

22 9 / 2011

15 9 / 2011

Just sent the final version to the printers, lots of ways to contact M&M Computers now!

Just sent the final version to the printers, lots of ways to contact M&M Computers now!

13 9 / 2011

I’ve started working on a re-brand for my dad’s long running computer repair business. It’s long overdue and I’ve talked about doing it for years, but now I’m finally doing it. I’ve already started building an OpenCart website to replace the current static website on mandmcomputers.net
Planned release date is “eventually”.

I’ve started working on a re-brand for my dad’s long running computer repair business. It’s long overdue and I’ve talked about doing it for years, but now I’m finally doing it. I’ve already started building an OpenCart website to replace the current static website on mandmcomputers.net


Planned release date is “eventually”.

11 8 / 2011

This has nothing to do with the web, but myself and a friend were playing some Minecraft and I started toying with the idea of creating some lomo-esque “photos”. I haven’t spent long on each of these and some have noticeable problems with them, but I enjoyed trying something new creatively. Minecraft is great for this, I just need to know when to stop (before 1am is my new target).

(Source: dropbox.com)

19 7 / 2011

I’m a self confessed Illustrator n00b and I found it hard to work out what the correct search term would be to find a solution to my problem. I eventually found it after wasting 10 minutes so here I am, writing it down for future me.
I couldn’t stop a shape snapping incorrectly, and the element I was trying to align it to was being snapped too, but never to the exact same place. In the interests of perfect symmetry I couldn’t let this go on, even at a zoom level that wouldn’t be visible once printed. I found out that all that I have to do to stop that is turn off “Align to Pixel Grid”. It’s in the Transform panel (Shift+F8). Simple!

I’m a self confessed Illustrator n00b and I found it hard to work out what the correct search term would be to find a solution to my problem. I eventually found it after wasting 10 minutes so here I am, writing it down for future me.


I couldn’t stop a shape snapping incorrectly, and the element I was trying to align it to was being snapped too, but never to the exact same place. In the interests of perfect symmetry I couldn’t let this go on, even at a zoom level that wouldn’t be visible once printed. I found out that all that I have to do to stop that is turn off “Align to Pixel Grid”. It’s in the Transform panel (Shift+F8). Simple!

15 7 / 2011

This is our latest client project that we’re just wrapping up now. We made a custom Stock Management System in CakePHP 1.3 that we’re really proud of, and we think we’ve created a really nice look and experience for the user!

http://littleengineering.co.uk

05 7 / 2011

This isn’t Photoshopped at all. It probably means I copy way too much though.

This isn’t Photoshopped at all. It probably means I copy way too much though.

02 7 / 2011

How to fix “Item was not deleted” in CakePHP 1.3 and delete all associated records

When attempting to delete a record that has related records, for example a User hasMany Comments, CakePHP 1.3 would not delete the item in my baked application. It was giving me this error:

Item was not deleted

The problem is caused by the fact that there are related records. Some Comments still belongTo a User, so you can not delete the User without deleting the Comment. A simple edit to the User model can solve this problem:

var $hasMany = array(
	'Comment' => array(
		'className' => 'Comment',
		'foreignKey' => 'user_id',
		'dependent' => true,
	)
);

The line to pay attention to there is ‘dependent’ => true. By default this is set to false, by simply changing this, you can delete all related records at the same time as the main record automagically.

Tags:

Permalink 11 notes