In the last part of this series of articles we introduced the ability to edit multiple child models in the edit screen of the parent model. In this part we will take it a step further by adding I18N behavior to the child models. To make things a little bit clear before we start coding please take a look at the result we want to achieve below.
Posted on Jan 19, 2009
Posted on Jan 7, 2009
How to Embed Forms in Symfony 1.2 Admin Generator Part 2
In part one of this article we saw how to embed forms in a one-to-one relationship. But I often run into a situation where I want to edit a parent model, it’s children models, and maybe add a new child model while I’m at it, greedy I know, but isn’t that the reason why we use the admin generator. Anyway in this article we will examine the one-to-many relationship.
Continue Reading
Posted on Jan 5, 2009
Functional Testing a Secured Module
Most of the modules we work on in symfony are secured with the popular sfGuardPlugin, but by default you can’t test a secured module each time you will try to access an action from your functional testing file will result in failure of the test. To make my point a little bit clear consider that we have a module called foobar in an application called backend. Of course as you know that when you create the module, automatically a file called foobarActionsTest.php is created in test/functional/backend.
Continue Reading
Posted on Jan 1, 2009
sfJqueryWidgetsPlugin
The sfJqueryWidgetsPlugin is a symfony plugin that adds two jquery widgets to the list of available widgets bundled in the framework.
Posted on Dec 20, 2008
How to embed forms in symfony 1.2 admin generator
Symfony 1.2 added a lot of new and exciting new features to an already great and powerful PHP framework. One of those features is the ability to embed a form into another. So what excatly does this mean?