got a form that needs fromdate and a todate (that i will use to search table transactions column tr[...]
Since Doctrine needs to be "aware" of all my mappings before I can use them in a DQL join[...]
Usually each PHP class definition has its own separate file. When writing object-oriented non-framework applications, you may need to include lots of files, each one separately. Moreover, during initial development, file names and paths may change and this can be frustrating to care about. This[...]
I built a SF 1.4-backend-module, which needs to be kind of "pre-filtered". So I added the GET-parameter ?type=A to the menue-link. Now I need to "keep this param alive" within the module when klicking on "edit", "delete", ... Is there an easy way to keep this get-param all within [...]
On my website I wanted to increase the performance on certain pages, so i've decided to put varnish on 2 pages. Homepage List page Those 2 respective controllers has tag @Cache(smaxage="10800") (and only on those 2 controllers) As you may have notice, there is a dynamic menu o[...]
I need to load user config from config.yml into my bundle. There 3 solutions described in symfony website: 1) the simple way: add just needed config under parameters key in config.yml like: # app/config/config.yml parameters: foo: fooValue bar: barValue this method [...]
I would like to know in Symfony2 what is the best way to store a path to a class on a doctrine entity? I would either like to store the full path to the class or maybe the service id against the entity. I like the way the routing object converts to a controller, is there a method [...]
I am developing a small drawing tool which collects some data from the user before starting the tool. I'm using Symfony2 - the drawing tool is pure javascript. So once the user reaches the page where the tool loads, javascript needs to know about some of the data the user has ente[...]
I have a custom library that lives in apps/frontend/lib/ This class needs to access Doctrine_Query and a few other basic Symfony classes. What is the best way to go about doing this?
Reading around and playing with what I've got, I've concluded that I'm on the right path simply embedding the form(s) like any other: $builder->add('user', 'fos_user_registration', array( 'label' => 'Sign up', 'error_bubbling' => false )); And I've been theorisi[...]