Quantcast
Channel: My Rant » Symfony
Browsing all 5 articles
Browse latest View live

How to get sfFormExtraPlugin working in Symfony 1.4 using Doctrine

I’m talking about this plugin: http://www.symfony-project.org/plugins/sfFormExtraPlugin For some reason, getting the plugin to work took a lot of Googling and some trial and error. So here is how I got...

View Article



Symfony 1.4 Doctrine 1.2 MS SQL Server

Web server: Linux (Ubuntu on my dev setup), Apache, PHP 5.3, Symfony 1.4, Doctrine 1.2. Database server: Microsoft Windows 2008 Server, MS SQL Server Trying to get Symfony to talk to the database...

View Article

Adding extra fields to FOSUserBundle / SonataUserBundle

Sadly, this isn’t really documented (at time of writing). Adding new protected variables to your User.php entity will not actually create database entries when you try to do a doctrine:schema:update....

View Article

Making an entity repository container aware in Symfony2.1

I had a need to add ACL rules to entities at the repository level. My biggest struggle was getting dependancy injection working. This is what I finally came up with after a fresh mind and an instant...

View Article

Symfony2 pagination

Using Symfony2, DQL and knplabs/knp-paginator-bundle – how to get around “Cannot count query which selects two FROM components, cannot make distinction”

View Article

Browsing all 5 articles
Browse latest View live




Latest Images