While trying to build and send a fairly complicated e-mail using a template from within a task. Unfortunately that resulted in a fairly nasty (and annoying) bug with Symfony’s autoloader:
Fatal error: Class ‘Swift_Message’ not found in apps/lib/email/DomainReportMessage.class.php on line 3
The format of the test files were extremely simple:
class DomainReportMessage extends Swift_Message {
/* Basic code to [...]
I’m investigating using Rackspace CloudSites as a replacement for 90% of my, and my client’s hosting needs. This may come as a disappointment to some, but I’m finding myself out of time for this sort of work. The clients I began migrating to the CloudSites service were experiencing repeated issues with their service.
Until my clients’ [...]
When a good portion of my day is spent working with validating, parsing, and analyzing URLs – I find that I’ve written a small set of tools to ensure consistency, clean, and sane URLs. After an overhaul on a settings page – I had to integrate much of this into a simple (to the viewer, [...]
As I found in recent development of an app, I needed to change one of Symfony’s form on the fly (more specifically, I needed to change a drop-down, sfWidgetFormSelect). After some looking, there wasn’t much documentation on this that I could find. My final solution was easy enough:
<?php
$form = new SomeFancyForm();
$new_choices = array(‘Selection 1′, ‘Selection [...]
Working on my latest project, we needed to force a specific page to be sent to after login. After quite a bit of searching, I went to the most logical location for this information: The README. Duh. sfGuardPlugin v. 3.1.3 README Unfortunately, Symfony’s documentation is notoriously sketchy, however this is verifiably functional.
Add the following to [...]
Here's all the whims and twiddly bits that catch my fancy. Want to get in touch? Feel free to send me an email at graham @ grahamc.com. Or poke me on twitter - @itrebal. Or give me a call, 407-670-9980.