[symfony-users] Re: Symfony2 - routing with subdomains

2010-07-23 Thread gordonslondon
ok thanks, it works good for me, just replace 'REMOTE_HOST' by 'HTTP_HOST' instead -- 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

[symfony-users] Example code is not formatted on API doc

2010-07-23 Thread Rong
http://www.symfony-project.org/api/1_4/JavascriptBaseHelper view source: br / = script type=text/javascriptalert('All is good')/ script -- 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

[symfony-users] Re: Multiple Doctrine Database Issues again

2010-07-23 Thread Tom Ptacnik
Maybe this is for developers list? On 20 čnc, 20:38, PhiKapJames phikapja...@gmail.com wrote: I had this issue back in November and it was fixed on the doctrine side.  I recently updated Symfony from 1.4.3 to the latest 1.4.7 and the issue has cropped back up again.  Even though I'm

[symfony-users] Conditional based redirects

2010-07-23 Thread Daniel Kucharski
Hi, Sometimes I find myself often in a situation where I need to redirect from a given action based on how the current action was reached. For example, from a customer list a user can add a customer(which can be a multiple step form), which will redirect back to the customer list. However, a

Re: [symfony-users] no_script_name and problems with URI

2010-07-23 Thread mehdi hadef
Yes by default it should take the action index like you say but it does not in my case. Maybe it's due to the fact that the URI have parameters ? I think it's not clean because I found strange that changing a parameter in my settings.yml forced me to modify my routings.yml to work. 2010/7/21

[symfony-users] Re: no_script_name and problems with URI

2010-07-23 Thread Tom Ptacnik
If you set no_script_name to false then it shouldn't change you url from http://www.example.com/index.php/module/action to http://www.example.com/moduleName?productId=2 Try to set it to true again (or look on the page in the dev environment - with the frontend_dev.php) and look how the URL

[symfony-users] Re: upgrade sfDoctrineGuardPlugin from 4.0.1 to 4.0.2

2010-07-23 Thread Tom Ptacnik
I want to try a new version (5.0.0). Do you suggest to connect the trunk to my project (http://svn.symfony-project.com/plugins/ sfDoctrineGuardPlugin/trunk/) via svn external or rather instal it like a package? I'm afraid of to much changes in the trunk in the future... What about creating a tag

Re: [symfony-users] Conditional based redirects

2010-07-23 Thread Joshua Estes
Could you set a user attribute during step 1 and on your last step it checks for that and sends user to the url? On Jul 23, 2010 3:49 AM, Daniel Kucharski dan...@inspiran.be wrote: Hi, Sometimes I find myself often in a situation where I need to redirect from a given action based on how the

[symfony-users] Re: upgrade sfDoctrineGuardPlugin from 4.0.1 to 4.0.2

2010-07-23 Thread Kevin
I would also appreciate a svn tag On Jul 23, 5:25 am, Tom Ptacnik to...@tomor.cz wrote: I want to try a new version (5.0.0). Do you suggest to connect the trunk to my project (http://svn.symfony-project.com/plugins/ sfDoctrineGuardPlugin/trunk/) via svn external or rather instal it like a

RE: [symfony-users] Conditional based redirects

2010-07-23 Thread Daniel Kucharski
Yes, that is indeed a possibility (it corresponds to the second choice I mentioned before). I am still searching for something which is more sustainable (if existent) From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] On Behalf Of Joshua Estes Sent: vrijdag 23

[symfony-users] Re: Conditional based redirects

2010-07-23 Thread Richtermeister
Since most/all of the form handling happens inside the form, you could have 2 separate actions that redirect to different areas. Also, you could have one form submit via ajax. Lastly, there's always the referrer variable. Daniel On Jul 23, 7:24 am, Daniel Kucharski dan...@inspiran.be wrote:

[symfony-users] Re: Conditional based redirects

2010-07-23 Thread Florian
Hi, I'm using 2nd solution too. I just thought to something different / or a mix of both ( use events instead of filter chain ): You could listen on lets say 'request.filter_parameters' and if you find any parameter named 'redirect_after_create' you store it in sfUser attributeHolder. When you

[symfony-users] Re: direct sql in Doctrine_Migration class

2010-07-23 Thread Dennis
Does this work for you? $sql=Do someting in SQL; $PDOHandle = Doctrine_Manager::getInstance()-getCurrentConnection()- getDbh(); $result=$PDOHandle-query($sql); //test result Remember, it happens outside of Doctrine/Propel. Do any necessary refreshes to ket the in mmeory object graphs to be

Re: [symfony-users] Re: upgrade sfDoctrineGuardPlugin from 4.0.1 to 4.0.2

2010-07-23 Thread Jonathan Wage
I can create a tag but just an fyi your external can be stuck to a specific revision. Just use -r - Jon On Fri, Jul 23, 2010 at 8:41 AM, Kevin kevinb...@gmail.com wrote: I would also appreciate a svn tag On Jul 23, 5:25 am, Tom Ptacnik to...@tomor.cz wrote: I want to try a new version

[symfony-users] Re: Facebook style multi-select widget

2010-07-23 Thread Richtermeister
Thanks Joshua, sounds right. I've also come across the swFormExtraPlugin which seems to contain one of those. I'll play with that next. Thanks again, Daniel On Jul 21, 10:56 pm, Joshua Estes f1gm...@gmail.com wrote: Not that I am aware of. The only thing I have seen that comes close to this

[symfony-users] vjCommentPlugin and sfDoctrineGuardUser 5.0.0

2010-07-23 Thread Gustavo Adrian
I've recently upgraded sfDoctrineGuardUser from 4.0.1 to 5.0.0 but when doing the rebuild of the db, models, forms... etc, it throws this error: SQLSTATE[HY000]: General error: 1005 Can't create table 'estudio_development.#sql-29d0_228a' (errno: 150). Failing Query: ALTER TABLE comment ADD

Re: [symfony-users] CCBill or Epoch Plugins

2010-07-23 Thread Gustavo Adrian
I've just seen prestaPaypalPlugin ( http://www.symfony-project.org/plugins/prestaPaypalPlugin) but I didn't try it. I'd like to know about this topic too. Any comment about it will be much appreciated. On Wed, Jul 21, 2010 at 5:53 PM, f1gm3nt f1gm...@gmail.com wrote: Has anyone used any type

Re: [symfony-users] vjCommentPlugin and sfDoctrineGuardUser 5.0.0

2010-07-23 Thread Michał Piotrowski
Hi, 2010/7/23 Gustavo Adrian comfortablynum...@gmail.com: I've recently upgraded sfDoctrineGuardUser from 4.0.1 to 5.0.0 but when doing the rebuild of the db, models, forms... etc, it throws this error: SQLSTATE[HY000]: General error: 1005 Can't create table

Re: [symfony-users] vjCommentPlugin and sfDoctrineGuardUser 5.0.0

2010-07-23 Thread Gustavo Adrian
First of all, thanks for the quick response! I've just installed from trunk of the svn repository the plugin as you said. But now I'm getting an error when I use the task doctrine:build --all: PHP Fatal error: Class 'Commentable' not found in

Re: [symfony-users] vjCommentPlugin and sfDoctrineGuardUser 5.0.0

2010-07-23 Thread Gustavo Adrian
Don't matter. I forgot to enable the plugin again in projectConfiguration.class.php Thanks! On Fri, Jul 23, 2010 at 5:44 PM, Gustavo Adrian comfortablynum...@gmail.com wrote: First of all, thanks for the quick response! I've just installed from trunk of the svn repository the plugin as you

[symfony-users] Setting other default culture in a task in symfony 1.4

2010-07-23 Thread Luis E. Castro
I had a lot of problems setting ES as my default culture.. I need a lot of tests before found a solution. Its necesary to set some variables: app/config/app.yml : all: .settings: default_culture: es_ES //default culture for our app app/config/settings.yml : all: