SUBSCRIBE VIA RSS


Subscribe to our feed

Symfony Experts

Symfony Experts
If you have an urgent question for a symfony-related issue, this is the place to ask.

Topics

TWITTER

Stack Overflow


The old fashioned way

RECENT TUNES

  Symfony Articles

January 8, 2011 – 3:01pm Symfony 1.4 admin generator sort on custom column

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…

April 7, 2010 – 6:40pm symfony forms: hide created_at, updated_at columns

There are a few different methods you can use if you’d like to hide created_at and updated_at columns from your generated forms.

The first way, and the easiest, is to simply unset the fields in your form class:
More…

Posted by in  Web Development   |     |  2 Comments »

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…

March 22, 2010 – 6:18am symfony sync command configuration (with symfony 1.0)

I recently discovered a quick way to edit the rsync parameters used when executing the symfony sync command with symfony 1.0. More…

Posted by in  Uncategorized   |     |  No Comments »

February 23, 2010 – 9:11am symfony 1.0 migrations

I’m working on a plugin for symfony 1.0 and am really enjoying this workflow. Yes, symfony 1.0 is 4 versions old and should not be used for new projects.

With the help of the sfPropelMigrationsLightPlugin plugin, one of my favorites, I have been rapidly making changes to my plugin schema and adding new data to the database over and over again while I mock things up.

Here is the workflow:
More…

Posted by in  Web Development   |     |  1 Comment »

February 21, 2010 – 4:54pm Symfony Resource Reference Guide

Symfony has a ton of documentation available online. The only problem is, with so many different versions (1.0 – 1.4) in the wild, it can be hard to locate exactly the right resource when you need it. Below is a simple and straightforward list of the most useful documentation:

More…

Posted by in  Web Development   |     |  5 Comments »

February 21, 2010 – 3:37pm Symfony Experts

Two good friends of mine just launched a new site dedicated to providing professional help to symfony developers.

Symfony Experts.

The site is very well designed and will prove to be a valuable resource for developers of all skill levels — experts can make some extra money sharing their expertise, and beginners (or experts encountering a new problem) can get quick and succinct answers to their questions.
More…

Posted by in  Web Development   |     |  1 Comment »

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…

October 4, 2009 – 1:19am Symfony, Doctrine Upload File “validation failed”

After setting up a simple file upload using the symfony 1.2 forms class and a doctrine model, I hit this error right away:

500 | Internal Server Error | Doctrine_Validator_Exception
 1 field had validation error:
 * 1 validator failed on file (type)

The short solution: when using a doctrine form class and $form->save(), set the path option in your sfValidatorFile validator and do not attempt to save/set the file column yourself. If you are curious why this is, continue reading. More…

Posted by in  Web Development   |     |  3 Comments »

August 24, 2009 – 11:28am Speedup: Profile your symfony app using Xdebug – Web Mozarts

Speedup: Profile your symfony app using Xdebug – Web Mozarts.

Haven’t tried this but hope to, soon!

Posted by in  Web Development   |     |  No Comments »