Re: [symfony-users] PDF version of book

2011-06-02 Thread Donald Tyler
If you're talking about 1.4, there are PDF versions of all books available here: http://www.symfony-project.org/doc/1_4/ If you're talking about 2.0, then I'm sure it'll be available one Symfony is actually relealsed. On Thu, May 26, 2011 at 2:43 PM, Symfonier wrote: > A PDF version of the boo

Re: [symfony-users] Aw: SF2 Forms - form_rest() renders fields already rendered with form_widget

2011-05-23 Thread Donald Tyler
I would suggest creating this as an issue on github. On Mon, May 23, 2011 at 3:25 PM, pzwosta wrote: > Hi, > > I have the same problem since BETA 2: > > public function buildForm(FormBuilder $builder, array $options) > { > $builder->add('firstname', 'text'); > $builder->a

Re: [symfony-users] Re: Need Help to Install Symfony

2011-05-23 Thread Donald Tyler
You need to setup aliases in the apache configuration file for your site. The images used by Symfony are not stored in the public web folder, so you need aliases to instruct apache where to find them. See this page for more info. The sect

Re: [symfony-users] Migrating Propel schema to Doctrine

2011-05-23 Thread Donald Tyler
You *can* use the yaml files in Symfony 2, but they'll need to be updated for Doctrine 2, which is now used. This page has information on using ORM in Symfony 2: http://symfony.com/doc/current/book/doctrine/orm.html One key thing that's different is that in Symfony 1, you would generate PHP clas

[symfony-users] [FOS/RestBundle] parent & other non standard routing keys

2011-05-17 Thread Donald Tyler
I'm trying to define a parent for a Rest controller, but I'm getting the following error: [InvalidArgumentException] Yaml routing loader does not support given key: "parent". Expected one of the (type, resource, prefix, pattern, options, defaults, requirements). I've defined the route as describ

[symfony-users] [Symfony 2] REST Batch

2011-05-17 Thread Donald Tyler
Does anyone know if it's possible to do REST batch actions via HTTP pipelining when using Symfony 2? -- 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

Re: [symfony-users] Any chance of creating a new Google group for Symfony2 only?

2011-05-17 Thread Donald Tyler
+1 I would be happy with either different mailing lists, or shutting these down in favor of the forums. But it's definitely not working the way it is now. I do agree that forums will see less traffic though. I think "splitting the community" can also be seen as "organizing the community" or "hel

Re: [symfony-users] [FOS/RestBundle] default _format for routes

2011-05-17 Thread Donald Tyler
That worked, Thanks! On Tue, May 17, 2011 at 11:36 AM, Christophe COEVOET wrote: > Le 17/05/2011 18:32, Donald Tyler a écrit : > > I added the following to my action, and it made no difference. I still get >> the same error message. >> >> @extra:Route(defaults={&

Re: [symfony-users] [FOS/RestBundle] default _format for routes

2011-05-17 Thread Donald Tyler
I added the following to my action, and it made no difference. I still get the same error message. @extra:Route(defaults={"_format"="html"}) Any ideas why this might not work? On Thu, May 12, 2011 at 2:56 PM, Christophe COEVOET wrote: > Le 12/05/2011 21:43, Donald Ty

[symfony-users] [FOS/RestBundle] default _format for routes

2011-05-12 Thread Donald Tyler
Is it currently possible to set a default _format for routes that are automatically created by importing a controller? In my current setup, given the following routing.yml: phone: resource: Chekote\MyBundle\Controller\PhoneController type: rest And the following controller: class PhoneC

Re: [symfony-users] [Symfony2] Documentation - Community Contributed Suggestions

2011-05-11 Thread Donald Tyler
Yup, I am aware of that. I was speaking more to the differences between a mailing list vs github. On Wed, May 11, 2011 at 11:20 AM, Christophe COEVOET wrote: > Le 11/05/2011 18:13, Donald Tyler a écrit : > > I agree with stof also. That would also open the opportunity for >>

Re: [symfony-users] [Symfony2] Documentation - Community Contributed Suggestions

2011-05-11 Thread Donald Tyler
I agree with stof also. That would also open the opportunity for individuals to provide patches along with their suggestions. On Wed, May 11, 2011 at 11:07 AM, Luis Cordova wrote: > fully agreeing with Stof > > On Wed, May 11, 2011 at 11:06 AM, Christophe COEVOET > wrote: > > Le 11/05/2011 17:4

Re: [symfony-users] Re: How disable validation inherit parent?

2011-05-11 Thread Donald Tyler
t; * repository methods below. > > */ > > class ParceiroRepo extends EntityRepository > > { > > public function save(Parceiro $parceiro) { > > > > $parceiro->setSalt(md5(time())); > > $password = $parceiro->getSe

Re: [symfony-users] Re: How disable validation inherit parent?

2011-05-09 Thread Donald Tyler
Constraint violation? On Mon, May 9, 2011 at 9:19 AM, elcabong wrote: > Yes > > What can I try to do for this not to happen?? > > Tanks > > On May 9, 9:51 am, Donald Tyler wrote: > > You said that you weren't creating a new Cidade, so that means that > > the Pa

Re: [symfony-users] deploy site symfony

2011-05-09 Thread Donald Tyler
Not a problem, no need to apologize. On Mon, May 9, 2011 at 8:26 AM, Hamza Tlili wrote: > > ok thanks for your reply donald i will view the webserver logs and sorry > for my bad english > > 2011/5/9 Donald Tyler > >> Then your only option for detailed info is to

Re: [symfony-users] deploy site symfony

2011-05-09 Thread Donald Tyler
put frontend_dev.php in the url a message said that i'm not >>> allowed to access to this file >>> >>> >>> 2011/5/9 Donald Tyler >>> >>>> Also, are you accessing your pages with the "frontend_dev.php" prefix in >>>&

Re: [symfony-users] deploy site symfony

2011-05-09 Thread Donald Tyler
o access to this file > > > 2011/5/9 Donald Tyler > >> Also, are you accessing your pages with the "frontend_dev.php" prefix in >> the url? If you don't use the development front controller, you won't get >> detailed error output. >> >> >>

Re: [symfony-users] Re: How disable validation inherit parent?

2011-05-09 Thread Donald Tyler
A senha precisa ser > no mínimo 6 dígitos option> > > >Erro senha > > > > > > > > > > > On May 9, 9:32 am, Donald Tyler wrote: >

Re: [symfony-users] deploy site symfony

2011-05-09 Thread Donald Tyler
Also, are you accessing your pages with the "frontend_dev.php" prefix in the url? If you don't use the development front controller, you won't get detailed error output. On Mon, May 9, 2011 at 7:45 AM, Donald Tyler wrote: > If you're only getting a 500 error in the b

Re: [symfony-users] deploy site symfony

2011-05-09 Thread Donald Tyler
If you're only getting a 500 error in the browser, you're going to have to look in the logs for more information on what exactly went wrong. On Mon, May 9, 2011 at 2:55 AM, Hamza Tlili wrote: > and also the authentification don't work i used sfguardplugin ,everything > locally work fine but afte

Re: [symfony-users] Symfony2 JS i18n: How to translate Javascript strings?

2011-05-09 Thread Donald Tyler
@Gediminas Im curious: Why not use JS with twig? If you need dynamic JS, it seems like a logical solution. On Mon, May 9, 2011 at 3:34 AM, Gediminas Morkevicius < gediminas.morkevic...@gmail.com> wrote: > old fashioned way as for javascript, I recommend including different js > file. > thats my

Re: [symfony-users] Re: How disable validation inherit parent?

2011-05-09 Thread Donald Tyler
efone > */ >public function setTelefone($telefone) >{ >$this->telefone = $telefone; >} > >/** > * Get telefone > * > * @return string $telefone > */ >public function getTelefone() >{ >return $

Re: [symfony-users] default collaction

2011-05-08 Thread Donald Tyler
I would suggest searching the Doctrine site and mailing lists, since this is more of a Doctrine question. On Sun, May 8, 2011 at 7:47 AM, Inori wrote: > Hi, I'm trying to change default collation, charset and engine when > creating database with doctrine:database:create. > Right now it sets to l

Re: [symfony-users] Symphony not working

2011-05-08 Thread Donald Tyler
Check your logs. It sounds like you're getting a PHP error, but have your server configured to not output them to the browser. On May 8, 2011, at 1:39 PM, ken6171 wrote: > Hi all, > > I am beginner and just start symphony. > > after i setup the virtualhost in the apache httpd.conf, i run > 127.0

Re: [symfony-users] How disable validation inherit parent?

2011-05-08 Thread Donald Tyler
It sounds like you're approaching the problem in the wrong way. If you're trying to disable some part of the validation, that says to be that there's either a problem with how you're building the Entity behind the form, or some problem with your object model. Maybe if you could give more info on y

Re: [symfony-users] Re: Advice for different windows setups

2011-05-07 Thread Donald Tyler
I've tried it before. It can be clunky, depending on your workflow. If your developing on Windows, and then running it on the Linux VM, it's going to be clunky if you're constantly having to deploy your changes to the VM before you test. Now if you're actually developing in the Linux VM too, then

Re: [symfony-users] Somebody knows any example that using repeated type form???

2011-05-07 Thread Donald Tyler
This recent conversation seems to be addressing the same issue: http://groups.google.com/group/symfony-users/browse_thread/thread/90552daa1cda2e30 On Fri, May 6, 2011 at 9:21 AM, elcabong wrote: > Somebody knows any example that using repeated type form (Symfony2 > Beta1)??? > I try everything

Re: [symfony-users] about form, and name tag

2011-05-07 Thread Donald Tyler
it would be really useful for doing the validation in my rest api, > also just to build the login form.. > > Best regards, > Michael Holm > > > > On Thu, May 5, 2011 at 4:27 PM, Donald Tyler wrote: > > It's possible to have "anonymous forms", or at least it was

Re: [symfony-users] Symfony2 Beta1 + MongoDB + Forms

2011-05-07 Thread Donald Tyler
You shouldn't be persisting the Form itself, you should persist an Entity. You need to bind the Form to the request, and pass it the Entity that you want the Form values to be applied to. Read here for step by step instructions: http://symfony.com/doc/current/book/forms.html On Fri, May 6, 2011

Re: [symfony-users] Need to explicitly tell Doctrine which column to use in leftJoin when I have two joins from one table to another

2011-05-07 Thread Donald Tyler
Your relation names need to be unique: peer_request: columns: person_id: { type: integer, notnull: true } peer_id: { type: integer, notnull: true } relations: person:{ local: person_id, foreign: id } *peer*: { local: peer_id, foreign:

Re: [symfony-users] Re: IDE code completion + service container ? (eclipse, netbeans)

2011-05-07 Thread Donald Tyler
I don't have this problem so much anymore, but I've been using Symfony 2 for quite some time now. I do however completely agree with you. Not only is the code completion this a problem, but having the argument to Controller->get be a string gives absolutely no guidance to what the possible values

Re: [symfony-users] deploy site symfony

2011-05-06 Thread Donald Tyler
>> hi thanks for your answer the problem was I have not cleared the cache i >> deleted the directory in the cache directory and now it work >> >> >> 2011/5/6 Donald Tyler >> >>> Sounds like you're receiving a PHP error and your server has outpu

Re: [symfony-users] Advice for different windows setups

2011-05-06 Thread Donald Tyler
It does make a difference, but as long as you're aware of those differences, you'll be fine. What's more important is which platform you are more productive with. Ideally you would have some kind of CI server that will run your tests against your target platform so it doesn't matter what you devel

Re: [symfony-users] deploy site symfony

2011-05-06 Thread Donald Tyler
Sounds like you're receiving a PHP error and your server has output errors to off. You should check the logs. On Fri, May 6, 2011 at 8:43 AM, Hamza Tlili wrote: > Hello > I try to deploy my site symfony, I changed the file .htaccess but when I > go to index.php there is nothing teh page is empt

Re: [symfony-users] [sf2] get current environment in controller

2011-05-06 Thread Donald Tyler
$this->container->get('kernel')->getEnvironment() On Fri, May 6, 2011 at 9:17 AM, Conrad wrote: > Hi all, > is it possible to get the current environment from inside the controller? > I'd like to separate some ajax json return messages for developers with the > stacktrace and for the public with

Re: Re : [symfony-users] Re: [Beta1] POST rendering with two forms inside the same view

2011-05-06 Thread Donald Tyler
This made me LOL. Here you go: http://groups.google.com/support/bin/answer.py?answer=46608 On Thu, May 5, 2011 at 8:51 AM, mamadou aliou diallo wrote: > hello, > how can i remove my email from this group. > please, i receive all your email it's boring. > > regards. > > Mamadou Aliou Bobo Diallo

Re: [symfony-users] Re: Symfony2 forms : can I show/hide fields

2011-05-06 Thread Donald Tyler
Symfony *does* create forms based on inheritance. It all depends on what class you use as the data_class for the form. If you create a form for Content class, it's going to allow you to add any field from Content or any of it's parent classes. It would work the same way for your Test class. Symfo

[symfony-users] Re: [Symfony2] PUT data & Forms in Beta1

2011-05-05 Thread Donald Tyler
Opened a pull requests with a fix for this: https://github.com/symfony/symfony/pull/793 On Thu, May 5, 2011 at 10:02 AM, Donald Tyler wrote: > I noticed that after the Forms refactor in Beta1, that the code in > Form::bindRequest() gives the impression that it should now support PUT

[symfony-users] [Symfony2] PUT data & Forms in Beta1

2011-05-05 Thread Donald Tyler
I noticed that after the Forms refactor in Beta1, that the code in Form::bindRequest() gives the impression that it should now support PUT data. But it still doesn't function correctly. Doing a PUT with Symfony's test framework works correctly (which is even did before the refactor), but doing a t

Re: [symfony-users] about form, and name tag

2011-05-05 Thread Donald Tyler
gt; > i have the same problem when i want to render my login form, i have to > do that manually because symfony except: > > > ever i can call it, i would be so glad to know.. if there are no way, > its fine too.. i just cannot find any documents telling me the one > thing or

Re: [symfony-users] [SYMFONY2 Beta1] No render for an action and redirect performing an HTTP POST request

2011-05-05 Thread Donald Tyler
You might also want to look into HTTP Response Code 307, but depending on your implementation, and the Browser's you intend to support, it may not work consistently. On Thu, May 5, 2011 at 9:13 AM, Donald Tyler wrote: > A redirect by it's very nature cannot send any POST dat

Re: [symfony-users] [SYMFONY2 Beta1] No render for an action and redirect performing an HTTP POST request

2011-05-05 Thread Donald Tyler
A redirect by it's very nature cannot send any POST data. It's not a limitation of Symfony, but the HTTP protocol itself. You have two ways to accomplish this: 1. Server side: Have the controller make the POST request, get the response, and then relay that to the client. 2. Client side: Have a s

Re: [symfony-users] about form, and name tag

2011-05-05 Thread Donald Tyler
Why is this complicated? As long as the FormType has a getName() method that returns "register", the Form will properly bind to the data when you call bindRequest(). On Thu, May 5, 2011 at 9:03 AM, Michael Holm wrote: > Hi, > > Im building a REST API for my application, and what i want to do is

Re: [symfony-users][sf2-beta1] Having multiple forms on the same view when post rendering

2011-05-05 Thread Donald Tyler
I'm not sure I understand. But from what I read it sounds like you don't need to bind. If you're just rendering a view, there should be nothing to bind at that point. You only want to bind once data is submitted by the client. On Thu, May 5, 2011 at 7:56 AM, maboiteaspam wrote: > Hi, > > How to

Re: [symfony-users] Symfony 2 - Pulling the pieces together

2010-09-19 Thread Donald Tyler
to do is to look at other people's work. Head > over to http://symfony2bundles.org/ and look at some of the projects. > > On 09/17/2010 05:31 AM, Donald Tyler wrote: > > One thing I've noticed with the documentation (unless I'm just missing it), > is that there see

[symfony-users] Symfony 2 - Pulling the pieces together

2010-09-17 Thread Donald Tyler
One thing I've noticed with the documentation (unless I'm just missing it), is that there seems to be documentation on the various parts of the framework (Validation, Forms, ORM etc), but no documentation on how to best integrate these pieces in a cohesive project. For example, I'm not sure where

Re: [symfony-users] Re: Symfony 2 - Stability & rate of change

2010-09-17 Thread Donald Tyler
are still > in the pipeline (e.g. Fabien is still deciding how to implement the > security component). Given that, if you were to utilize knplabs' > DoctrineUserBundle right now, you might find yourself having to adapt > that down the line once security is implemented as a first

[symfony-users] Symfony 2 - Stability & rate of change

2010-09-16 Thread Donald Tyler
Hi everyone, I've been following the development of Symfony 2 since it was announced, and I would like to try it out with a real project I'm working on. It seems to be coming along very nicely, and I'd really like to try building something with it. Now, I know that it's not "production ready", and

Re: [symfony-users] Re: Are the design of Symfony2 and Doctrine2 in right direction?

2010-09-13 Thread Donald Tyler
I'm interested in trying Doctrine 2, but the setters / getters thing that the OP mentions concerns me a little. In my own ORM, I use the __set and __get methods to have a consistent access method for properties on my entities. e.g. class Entity { public function __set ($property, $value) {

Re: [symfony-users] newbie stuck on apache conf

2010-07-26 Thread Donald Tyler
Is mamp running apache as you, or as www? On Monday, July 26, 2010, Ted wrote: > Hello sf users > > I'm new to sf.  I've spent days messing with the MAMP based apache > config.   I can successfully get the project created page but not with > images.  Docs only say "f you see no image in this

Re: [symfony-users] Setting a widget's "id_format" option has no effect

2010-07-25 Thread Donald Tyler
This problem was introduced a whole ago. I have a ticket open for it but it's still not been addressed. It appears that the widget id format is ignored and the forms id format is used instead. This actually makes more sense to me, since you'd typically want to change the id format of the whole for

Re: [symfony-users] Screen-cast

2010-07-04 Thread Donald Tyler
Jobeet is probably the simplest thing you should start with. Anything simpler and you'll miss some important key concepts. On Sunday, July 4, 2010, Armansyah Tjogong wrote: > >  I have learned another PHP framework and currently moving into Symfony. I > have read some tutorials and I found it a

Re: [symfony-users] Re: Determine sfGuardPermission required for action, from within an action or filter

2010-07-02 Thread Donald Tyler
Doh! Why didn't I think of that? sfBasicSecuritFilter->getUserCredential() seems to have what I need. Thanks for the help! On Fri, Jul 2, 2010 at 1:26 AM, Daniel Lohse wrote: > Have a look at the bundled filters, you'll find your answers there. :) > > Daniel > > On

Re: [symfony-users] Re: Determine sfGuardPermission required for action, from within an action or filter

2010-07-01 Thread Donald Tyler
Excellent, thanks for the pointer. Now, it would be perfect if I could do the same from within a filter. Is there a similar method I can use, or is there a way to access the action object from within a filter? On Thu, Jul 1, 2010 at 1:59 AM, Tom Ptacnik wrote: > Try this > http://www.symfony-pr

[symfony-users] Determine sfGuardPermission required for action, from within an action or filter

2010-06-29 Thread Donald Tyler
I'm trying to determine what sfGuardPermission was required for an action, from within the action. Is this possible? *myModule/config/security.yml:* show: credentials: view something *myModule/actions/actions.class.php:* class myModuleActions extends sfActions { public function executeShow

Re: [symfony-users] render multiple partials ajax

2010-06-03 Thread Donald Tyler
I'm not completey understanding what you're trying to accomplish. When you say Ajax call from a controller, what exactly do you mean? It doesn't sound like you're talking about a typical ajax request from a browser. On Thursday, June 3, 2010, fRAnKEnSTEin wrote: > Hi, > > is there any way to ren

Re: [symfony-users] Cache problem? I don't know

2010-06-02 Thread Donald Tyler
He means he has to refresh the page, which means it's a caching issue. I'm not that familiar with caching, but it sounds like it's probably the client side caching that's the issue, because if it was the symfony caching system, refreshing on the client side wouldn't fix it. On Wednesday, June 2,

Re: [symfony-users] generare_csv

2010-06-02 Thread Donald Tyler
There are a few pieces to this puzzle, and the quickest way to cover them is to read Day 14 of the Jobeet tutorial: http://www.symfony-project.org/jobeet/1_4/Doctrine/en/14 It will demonstrated how to create an atom feed, but the concept is the same, you'll just be outputting CSV instead of atom.

Re: [symfony-users] how to deal with pagination?

2010-06-02 Thread Donald Tyler
You should definitely real the Practical Symfony guide. It'll answer a lot of questions that you might not even know need to be asked. Starting off on the right foot is going to make your life a lot easier in the long run. Good luck! On Wednesday, June 2, 2010, mel_06 <06melc...@gmail.com> wrote

Re: [symfony-users] Re: Symfony 1.4 Alias

2010-05-31 Thread Donald Tyler
I am in "web" folder. > I want the same without this unnessesary alias > > On 31 Maj, 19:19, RedQueen wrote: > > The problem is I HAVE NO ACCESS TO APACHE.CONFIG. > > And thats why I dont want the alias :D > > > > On 31 Maj, 19:10, Donald Tyler

Re: [symfony-users] Re: Symfony 1.4 Alias

2010-05-31 Thread Donald Tyler
It sounds like you're just having trouble understanding how to setup a site in Apache. If you can you post the apache configuration for your site, maybe I can point you in the right direction. On Mon, May 31, 2010 at 12:04 PM, RedQueen wrote: > I still don't get it :/ > I will try to explain mo

Re: [symfony-users] Re: shopping cart?

2010-05-31 Thread Donald Tyler
Bretth, Eno is right, *almost* everything that you mention is not really part of a shopping cart solution. The features that you mention are obviously all very useful for various aspects of sales, but I think you'll have more luck if you search for and combine various different plugins and soluti

Re: [symfony-users] another ajax doubt

2010-05-28 Thread Donald Tyler
This isn't really Ajax related, it's just JavaScript related. You can easily accomplish this by triggering some JavaScript in the onchange event of the drop down, then having that JavaScript create the text inputs programatically. On Thursday, May 27, 2010, Parijat Kalia wrote: > So guys, > > so

[symfony-users] Invitation to connect on LinkedIn

2010-04-15 Thread Donald Tyler
LinkedIn Donald Tyler requested to add you as a connection on LinkedIn: -- Sammi, I'd like to add you to my professional network on LinkedIn. - Donald Accept invitation from Donald Tyler http://www.linkedin.

[symfony-users] Re: [FORMS] Merge forms in backend

2009-08-19 Thread Donald Tyler
I think most people (including myself) are going to have a very hard time understanding what you are asking here. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send ema

[symfony-users] Re: how to change database login information

2009-08-19 Thread Donald Tyler
Just to clarify: You didn't have to run "symfony propel:build-model" after changing the files either. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfon

[symfony-users] Re: Symfony Project configuration on another machine

2009-08-19 Thread Donald Tyler
You're really going to have to provide a lot more information to get useful help. Specifically info regarding your sites configuration in apache (or whatever you're using), and info on the full paths you're trying to access. Without more info, I can only speculate that it's one of four things: 1

[symfony-users] Re: Swift Mail

2009-08-13 Thread Donald Tyler
You have two opening "b" tags in your body. The second one should be . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To uns

[symfony-users] Re: Best way to learn Symfony

2009-08-12 Thread Donald Tyler
I find that understanding some of the fundamental OOP concepts that symfony employs will help a lot when using the framework. A good book on design patterns is s great place to start. I'd recommend "Head First Object Analysis and Design" or the Gang of Four's original book. Most of these books a