Re: [symfony-users] Hi all, I'm begginner in symfony How to fix this mistakes. (The posix_isatty() is available: FAILED, A PHP accelerator is installed: FAILED)

2010-07-16 Thread Pietrino Atzeni
In order to have colored output under Windows, you should install ANSICON. That warning can't be removed, though, but you can ignore it (and the following one). Hope this helps, Pietro My OS: win Vista, Help me please. php.ini used by PHP: C:\wamp\bin\apache\Apache2.2.11\bin\php.ini **

Re: [symfony-users] Re: how can I get url without parameters in view ?

2010-07-16 Thread Gábor Fási
You might be looking for getCurrentRouteName() of sfPatternRouting: http://trac.symfony-project.org/browser/branches/1.4/lib/routing/sfPatternRouting.class.php#L140 On Fri, Jul 16, 2010 at 07:22, alexmm misiekaleksan...@gmail.com wrote: I would like to have universal template for pagintion - so

[symfony-users] Re: genUrl with object

2010-07-16 Thread HAUSa
Anyone? On 14 jul, 15:39, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: Yes: advertisement_show:   url:     /:sf_culture/advertisement/show/:id/:slug/*   class:   sfPropelRoute   options: { model: Advertisement, type: object }   param:   { module: advertisement, action: show }  

Re: [symfony-users] Re: genUrl with object

2010-07-16 Thread Gábor Fási
What's the error message? Did you try removing the *? On Fri, Jul 16, 2010 at 10:19, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: Anyone? On 14 jul, 15:39, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: Yes: advertisement_show:   url:    

[symfony-users] Re: Hi all, I'm begginner in symfony How to fix this mistakes. (The posix_isatty() is available: FAILED, A PHP accelerator is installed: FAILED)

2010-07-16 Thread halfer
I believe you can use Cygwin to get the coloured output on Windows. Or you can go the whole hog and install a virtual machine, like VirtualBox. On Jul 16, 8:36 am, Pietrino Atzeni pietrino.atz...@gmail.com wrote: In order to have colored output under Windows, you should install ANSICON. That

[symfony-users] Mixing 1.0 and 1.3 symfony forms

2010-07-16 Thread halfer
Hi all. We are still using symfony 1.0 for a large multi-module logistics system and it is still working very well. However the fiddly details (validators that should be introspected) are getting frustrating, and I think these issues are solved in the 1.3/1.4 Forms system. I expect that, once a

[symfony-users] convert smarty templates to symfony

2010-07-16 Thread Tofuwarrior
Hi All, we are looking to port our cms across to symfony which is a BIG job of course. It's MVC and uses propel so that side of things isn't too bad BUT all of our templates are in smarty. Does anyone have any idea if there is any kind of smarty-php conversion anywhere that could help us with

Re: [symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin many to many

2010-07-16 Thread François SEDE
Thanks you. 2010/7/16 Daniel Lohse annismcken...@googlemail.com Sorry for not answering in a more timely manner — I'm the plugin developer. :) But as it's a bit late I'll answer your question tomorrow; I hope that alright. ;-) Cheers, Daniel Sent from my iPad On Jul 15, 2010, at 12:29

Re: [symfony-users] Re: how can I get url without parameters in view ?

2010-07-16 Thread Eno
On Thu, 15 Jul 2010, alexmm wrote: I would like to have universal template for pagintion - so I need something like that: ?php echo url_for(.CURRENT URL'?page=1') ? You can use the name of the route in url_for(). Read this:

[symfony-users] Recommended method to add profile image

2010-07-16 Thread Dominic Preuss
What is the preferred way to add a profile image to a Symfony 1.4 Doctrine Project? I tried to do this myself and via searching the forum. This would seem to be a basic function that isn't supported out of the the box and for which isn't a clear example/tutorial. Am I missing something? I have

[symfony-users] Error Task doctrine:generate is not defined

2010-07-16 Thread Paulo Iamanaka
I did the model, schema apps and frontend from the pratical tutorial. When I try do the code php symfony doctrine:generate-module --with-show --non-verbose-templates frontend job JobeetJob the prompt shows the message afCommandException Task doctrine:generate is not defined SO: Windows XAMPP

[symfony-users] caching problem in firefox

2010-07-16 Thread Lea Haensenberger
I've encountered a strange problem with firefox and caching. When I log in and get redirected to the homepage afterwards I don't see that I'm logged in. If I have a look at context-getUser()- isAuthenticated() I get 'false'. After manually reloading the homepage everything is fine. I already tried

[symfony-users] Re: [symfony 2] conflict: annotation validation on a Doctrine Entity using annotation mapping

2010-07-16 Thread gordonslondon
thanks, the patch works great -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to

Re: [symfony-users] Recommended method to add profile image

2010-07-16 Thread Gábor Fási
The error is pretty clear, you'll need to edit the bind() call to pass `$request-getFiles($form-getName)` (or sth like this) as the second parameter. On Fri, Jul 16, 2010 at 01:01, Dominic Preuss domi...@dominicpreuss.com wrote: What is the preferred way to add a profile image to a Symfony 1.4

[symfony-users] Re: caching problem in firefox

2010-07-16 Thread pghoratiu
Do you have this behavior also with the development controller (frontend_dev.php)? gabriel On Jul 16, 4:09 pm, Lea Haensenberger baerne...@gmail.com wrote: I've encountered a strange problem with firefox and caching. When I log in and get redirected to the homepage afterwards I don't see

[symfony-users] Doctrine support for composite fk/pk?

2010-07-16 Thread Etienne Michon
Hello! I have the same problem described here : http://trac.doctrine-project.org/ticket/460 and I'm trying to do something to bypass this doctrine non-support for composite key relations. Does anyone have an idea on how to do that? Should I create my table without any relation and then do my

[symfony-users] Admin generator : Select items on different pages and run a batch action on this items

2010-07-16 Thread Winnie
Hello all, Is it possible to select items on different pages ( page 1 and page 2 for example ) then apply a batch action on them? Don't answer why you don't make the bacth on each actions because the batch action must be done after all items selected. I cant show them on the same page too

[symfony-users] manipulation a form with the eventDispatcher and form.post_configure

2010-07-16 Thread Robert Schoenthal
He Folks, is it possible to manipulate a form with events? I want to mark all labels as required, i think this is a very common task. i tried to do it as central as it could be, therefore im willing to use the sfEventDispatcher... here is my approach: class ProjectConfiguration extends

Re: [symfony-users] Admin generator : Select items on different pages and run a batch action on this items

2010-07-16 Thread Daniel Lohse
This can only be done by using JavaScript — but it requires a bit of work. You'd need to write some code that saves the selected items in a JavaScript object and also make the grid that is pageable here do the loading of its content with Ajax. After that, you can have a look at how multiple

Re: [symfony-users] manipulation a form with the eventDispatcher and form.post_configure

2010-07-16 Thread Daniel Lohse
What do you mean by I don't have the form as reference? Look at the ahDoctrineEasyEmbeddedRelationsPlugin and search for form.post_configure. Although the callback is inside the form itself, I am using the event subject, so don't let that throw you off. :) Cheers, Daniel Sent from my iPhone

[symfony-users] Re: Admin generator : Select items on different pages and run a batch action on this items

2010-07-16 Thread Richtermeister
You could also add a new collection action Add To List, and use that to add selected rows to a list on the server. Then you have another action Process List, and that runs on the list.. Daniel On Jul 16, 7:54 am, Winnie chaiseenb...@gmail.com wrote: Hello all, Is it possible to select items

[symfony-users] forward404Unless() problem

2010-07-16 Thread el-sid
Hi, i am trying to redirect by action when it returns an empty result set using foward404Unless(). the problem is it doesnt seem to have any effect. It just brings me a page without the content in my action i have this public function executeIndex(sfWebRequest $request) {

[symfony-users] Doctrine support for composite fk/pk?

2010-07-16 Thread Etienne
Hello! I have the same problem described here : http://trac.doctrine-project.org/ticket/460 and I'm trying to do something to bypass this doctrine non-support for composite key relations. Does anyone have an idea on how to do that? Should I create my table without any relation and then do my

Re: [symfony-users] Re: Admin generator : Select items on different pages and run a batch action on this items

2010-07-16 Thread Daniel Lohse
Yes, that'd also be possible and not (necessarily) involve JavaScript. But both approaches do have one shortcoming: clearing that list should be possible! This is actually pretty vital because when does this list expire or is cleared? You'd need to do something á la Google Mail that displays a