I’m talking about this plugin: http://www.symfony-project.org/plugins/sfFormExtraPlugin For some reason, getting the plugin to work took a lot of Googling and some trial and error. So here is how I got it working. Hopefully I did this in the ‘correct’ way… cd plugins wget “http://plugins.symfony-project.org/get/sfFormExtraPlugin/sfFormExtraPlugin-1.1.3.tgz” tar zxvf sfFormExtraPlugin-1.1.3.tgz mv sfFormExtraPlugin-1.1.3 sfFormExtraPlugin cd .. ./symfony plugin:publish-assets cd [...]
Archive for the ‘Computers’ Category
Which Windows applications are used by this web developer?
This list is partly to remind myself what essential apps need to be reinstalled after a system wipe. But it does have me thinking, what do other web developers use on a daily basis? Web browsers: Google Chrome FireFox IE Opera Safari FireFox addons: Adblock Plus British English Dictionary ColorZilla Dummy Lipsum Firebug Html Validator [...]
Magento: pre filter by multiple option custom attributes
Requirement: pre-filter products by customer group name to product attribute. I was looking for the “proper” way of filtering items by multiple custom attribute settings, but couldn’t find out how. So, the following is a brief explanation of how I’ve got this running in Magento 1.4.1. There are two ways of editing core code in [...]
White space trim for JavaScript
I originally blogged about this on my other site lazygnome.net but that was simply a quick place to record it. I present to you a very quick and handy way of replicating PHP’s trim() function in JS: function ws_trim(value) { return value.replace(/(^\s+|\s+$)/g, ”); } There it is, simple and usable. I don’t claim to [...]
upstart failing to manage mysqld on Ubuntu 10.04
Installed Ubuntu 10.04 from ISO onto a blank virtual box machine. All worked well for a while, until I recently did an aptitude safe-upgrade. The next time I booted the system, mysql failed to start and refused to do so when I issued: sudo service mysql start It would just hang there. Tracked the issue [...]
Sharing Nexus One internet connection with Ubuntu
Just a quicky… Using the guide from here, I’ve managed to use the ‘net connection of my Nexus One with my Eee PC running Ubuntu Netbook Remix. Speed tests… Nexus One using Wi-Fi and home cable: Nexus One using 3G in the Telford & Wrekin region:
writeAttribute() example
The documentation on http://prototypejs.org/api/element/writeAttribute is a wee bit scarce. So here’s a quick one on usage. To add an attribute: $(‘foo’).writeAttribute(‘title’, ‘bar’); To remove an attribute: $(‘foo’).writeAttribute(‘title’, null); To enable all disabled form elements (in a form with the id ‘container’): $(‘container’).select(‘[disabled="disabled"]‘).each(function(e) { $(e).writeAttribute(‘disabled’, null); });
When MySQL servers go weird
The MySQL PASSWORD() function has started giving a different value on a client’s live server compared to local development servers. This has resulted in end users not being able to log in when PASSWORD() is used to compare the stored and entered passwords. Why this has happened I have no idea. Any thoughts? dev mysql> [...]
Installing Boxee on Ubuntu 9.10 on Acer Aspire Revo R3600
This is on myrant.net rather than my other blog on lazygnome.net as it wasn’t as quick and easy as I’d have liked to set up. So, in a way, a very tiny rant with a lot of helpful content (I hope). Inspiration for this article came from following Popey’s setup instructions with Ubuntu 9.10 alpha. [...]
Please, somebody standadise the order of function variables
Finding a needle in a haystack is a wonderful bit of symbolism and I welcome its use in many situations. It’s just the implementation of that symbolism that needs to be standardised. For forgetting the order in which a function expects variables to be passed in is tedious. In PHP, for example, there are some [...]

