Symfony tutorials
Symfony 1.4: Widget Does Not Exist Error after Unset
contributed by David Kirk on under SymfonyWith symfony’s form builder, users will need to unset several common fields such as created_at and updated_at. Beginners frequently experience a “widget does not exist” error after unsetting form fields.
Symfony: Detect Which Version is Installed
contributed by David Kirk on March 5, 2010 under SymfonyThe Symfony php framework is frequently updated. Detecting which version is actively installed, however, is not well documented. Here is how to do it.
Symfony: Drop Down List Box Without Submit Button
contributed by David Kirk on November 25, 2009 under SymfonyI needed a drop down list box for a symfony site I was designing. As a newbie symfony programmer, I wanted to record this so I could reference it later. Although this uses a little javascript, it will correctly function and is backwards compatible to users without javascript enabled.
Symfony / Propel: How to Left Join
contributed by David Kirk on July 4, 2008 under SymfonyA JOIN is a way to connect related database tables by the common values between them. A left join contains all of the rows from the primary table plus related members of the second database if they exist. Using joins can significantly reduce the number of database queries required to render a web page. This Tech-Recipe describes how to do a left join in Symfony using Propel.
Symfony: Rebuild from Schema.yml Without Loss of Data
contributed by David Kirk on June 27, 2008 under SymfonyAs my test database became more complex, I hated entering data again after doing a propel-build-all. Following these commands, you can save your database content after rebuilding your database from your schema file.
Symfony: Delete an Application
contributed by qmchenry on April 6, 2008 under SymfonyThe command line provisioning utility in symfony provides mechanisms to create an application, but doesn’t have the means to delete one. If you’ve unintentionally created an application or no longer need an app and want to do housecleaning, this Tech-Recipe describes how to get it gone.
Symfony: Fix propel-insert-sql error: Can’t connect to local MySQL server
contributed by qmchenry on April 4, 2008 under SymfonyAfter building your model and the SQL code to represent it, symfony offers a mechanism to insert the SQL code directly into your configured database. If you are running MySQL locally, this should work for you with no additional configuration. If you are running MySQL on another server, as is common in shared web hosting and other environments, you’ll get an error. In the past, I’ve just grunted and sent the SQL code to the database manually, but there is an easy fix to make things work as they should.
RECENT POPULAR RECIPES
- Symfony / Propel: How to Left Join
- Symfony: Rebuild from Schema.yml Without Loss of Data
- Symfony: Add log message manually
- Symfony: Fix propel-insert-sql error: Can't connect to local MySQL server
- Symfony: Delete an Application
- Symfony: Drop Down List Box Without Submit Button
- Symfony: Detect Which Version is Installed
- Symfony: Troubleshooting file uploads
- View our Top Tens
TECH-RECIPES BLOGS
- Symfony Propel 1.4: New Project Workflow
- quickie: video on adding 3G modem to a Thinkpad Tablet
- modding: adding 3G to my Lenovo Thinkpad Tablet
- quick look: Lenovo Thinkpad Tablet (Honeycomb) and Pen (pics)
- design: my geek lair
- How to Delete Your Twitter Account
- Flash Error May Slow Down OS X Lion
- Mass Effect: Cannot See Mouse Pointer






