If you use the symfony 1.4 admin generator with doctrine you may notice that the column headings in the list view are links that enable you to sort your results by that column. If you customize the list view to include columns that include data from a foreign table, the generator will not automatically create these sort links. Here is how I make foreign columns sortable. More…
RECENT TUNES
- Beck - Wow
- Future Islands - The Chase
- Ellie Goulding - Figure 8
- Röyksopp - This Must Be It
- Future Islands - Like the Moon
- Future Islands - Light House
- Future Islands - A Song for Our Grandfathers
- Future Islands - Back in the Tall Grass
- Future Islands - Doves
- Future Islands - Sun in the Morning
Doctrine Articles
January 8, 2011 – 3:01pm Symfony 1.4 admin generator sort on custom column
March 30, 2010 – 8:06pm Symfony 1.2 doctrine file upload in form
Here are the required modifications for to a form class that contains a file upload field in symfony 1.2 using doctrine (and it probably works with propel, too).
More…
December 31, 2009 – 5:44pm “Could not create database for c…o use near” error with Doctrine / Symfony
I was trying to use the symfony command line tools to rebuild my test database and I couldn’t get past this error: More…
July 16, 2009 – 1:38pm PHP Doctrine: Fetching related objects with hasOne relationship or one-to-zero-or-one
People new to the Doctrine ORM have a hard time understanding the magic that happens behind the scenes when you want to fetch a related object through a has-one-or-zero relationship. Looking through the doctrine-user group, it’s clear there is a lot confusion on this to newcomers, especially if you are coming over from Propel or other ORMs. It can be a pretty big conceptual change to how things are done.
More…