[symfony-users] Re: Symfony 2 tutorial on forms and Doctrine

2011-01-07 Thread Damon Jones
Tom, Like Tim said, you can use SillyCMSBundle:Page as a shortcut for Application\SillyCMSBundle\Entity\Page. Also, those docs are a bit outdated now, so unless you're working with PR4, you should check the master docs. In the case of the doctrine ORM page: http://docs.symfony-reloaded.org/maste

Re: [symfony-users] Re: Symfony 2 tutorial on forms and Doctrine

2011-01-07 Thread Tim Nagel
Doctrine2 supports namespaces for elements, HelloBundle:User is valid. (: is the namespace separator) t On Sat, Jan 8, 2011 at 09:26, Tom Boutell wrote: > http://docs.symfony-reloaded.org/guides/doctrine/orm/overview.html seems to > be untested or perhaps based on something that worked long ag

[symfony-users] Re: Symfony 2 tutorial on forms and Doctrine

2011-01-07 Thread Tom Boutell
http://docs.symfony-reloaded.org/guides/doctrine/orm/overview.html seems to be untested or perhaps based on something that worked long ago? $user = $em->createQuery('SELECT u FROM HelloBundle:User WHERE id = ?', $id); $user->setBody('new body'); This will not work, there is no execution

Re: [symfony-users] Re: Removing myself from plugin contributors ?

2011-01-07 Thread Loïc Vernet
So ? No solution except from sending an email the lead dev ? The feature is already implemented, just one test is missing 2011/1/5 Loïc Vernet > I don't think, you appear on the developer list with your contribution > request was accepted by the lead dev. > > 2011/1/5 Grzegorz Śliwiński > > Is

[symfony-users] Symfony 2 tutorial on forms and Doctrine

2011-01-07 Thread Tom Boutell
I'm reading the Symfony 2 tutorials. The early tutorials make it clear to me that: * Bundles are great * The ability to call actions from other actions is a big improvement on actions + components + partials + ... * Twig fills the remaining roles of the old Symfony view/controller concepts by prov

[symfony-users] documentation about hasHelp() mentioned in gentle-introduction 1.4

2011-01-07 Thread neanlos
... And anyone has documentation about the hasHelp function mentioned in the section "Customizing Error Messages Display" of gentle- introduction 1.4? http://www.symfony-project.org/gentle-introduction/1_4/en/10-Forms hasError()): ?> renderError() ?> // List of errors re

[symfony-users] sfForm getValidatorSchema()->setPreValidator() documentation

2011-01-07 Thread neanlos
Anyone has documentation about sfForm getValidatorSchema()- >setPreValidator() mentioned in the article http://www.symfony-project.org/gentle-introduction/1_4/en/10-Forms? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received t

[symfony-users] Pagination problem

2011-01-07 Thread Felipe Gutierrez
Hi Im new in symfony I need a hand with pagination, Im trying to use pagination in a page for search terms, in the module I have 2 actions, index and "buscaletra" the action index works fine, but the other one doesnt work the pagination. please take a look. http://ooodic.planetopenoffice.org/front

[symfony-users] Re: User activation via email

2011-01-07 Thread Whisller
Hi, I have wrote a small plugin that allow you to confirm their registration. It doesn't have any email integrated logic, so you will need to use your own mail templates. It is available on https://github.com/whisller/sfDoctrineGuardConfirmRegisterPlugin On 6 Sty, 11:13, sinu govind wrote: > He

[symfony-users] Re: HelloBundle _format: Unable to find the controller

2011-01-07 Thread mwsaz
Hi again, You need to add the format bit in your 'pattern' line : hello: pattern: /hello/:name.:_format defaults: _controller: HelloBundle:Hello:index requirements: _format: html|xml|json On Jan 6, 2:43 pm, Yan wrote: > Thanks for your reply. > > ../hello/Fabien, wi

Re: [symfony-users] How to include a form in a template in every page?

2011-01-07 Thread Gareth McCumskey
Look up info on slots. That is exactly what you need On 07 Jan 2011 11:38 AM, "Gábor Fási" wrote: This is what components are for. Here's an example from jobeet: http://www.symfony-project.org/jobeet/1_4/Doctrine/en/19#chapter_19_language_switching On Fri, Jan 7, 2011 at 07:33, Eric B wrote:

Re: [symfony-users] How to include a form in a template in every page?

2011-01-07 Thread Gábor Fási
This is what components are for. Here's an example from jobeet: http://www.symfony-project.org/jobeet/1_4/Doctrine/en/19#chapter_19_language_switching On Fri, Jan 7, 2011 at 07:33, Eric B wrote: > Hi, > > This may sound like a newbie question, but I just can't figure out the > "right" way of doin

Re: [symfony-users] Re: Debugging symfony application within Eclipse?

2011-01-07 Thread Stéphane
http://www.xdebug.org/ Look at the docs section, well done (and Thanks Deryck Rethan, creator of xdebug, btw ;) You welcome :) Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Fri, Jan 7, 2011 at 7:27 AM, Eric