Re: [symfony-users] Controller naming format (confusing)

2011-03-11 Thread Hany El-Kerdany
Thanks Fabien, I just read through the Bundles chapter now, and it makes sense now. On Thu, Mar 10, 2011 at 21:12, Fabien Potencier < fabien.potenc...@symfony-project.com> wrote: > On 3/10/11 7:39 PM, Hany El-Kerdany wrote: > >> Dear All, >> >> I was reading in the Symfony2 book, specifically th

[symfony-users] 1:1 relation, is there any way to show the colums of the daughter model just writing in the generator?

2011-03-11 Thread Javier Garcia
Hi, for example I have created with symfony a module based on sfGuardUser. Now, in the list of elements of that module I want to show the sfGuardUserProfile columns (name, surname..). I know i can create a query, but is there any way just writing in the generator? sf 1.4/propel 1.6 Javi -- If

[symfony-users] CRUD method ?

2011-03-11 Thread Christophe Beyer
Hi, Where can I find documentation, examples or best practices for Creating, Reading, Updating and Deleting records in a DB with S2 and Doctrine2 : how to implement routes, controllers, forms, templates... ? Thanks, -- Christophe -- If you want to report a vulnerability issue on symfony, p

[symfony-users] Re: Routing with random optional parameters

2011-03-11 Thread Venzon
Read this topic, can be useful: http://groups.google.com/group/symfony-devs/browse_thread/thread/5159277234e724a4# In last reply you can find modified RouteCompiler class supporting optional parameters: https://github.com/aurelijus/symfony/commit/f550ad89daed6f5e6f82dc81d2c6cca1ce5f1838 -- If

[symfony-users] Symfony2 - Passing current locale in links

2011-03-11 Thread Michal_V
After changing the locale from "en" to "sk" using $this->get('session')->setLocale($locale) in an action, texts are correctly translated but links still point to default locale defined in routing: E.g. route about: pattern: /{_locale}/about defaults: { _controller: MyBundle:Web:about, _l

[symfony-users] How to activate Doctrine Extensions in Symfony 2 (PR 7)

2011-03-11 Thread mindeleven
Hi, I'm trying to integrate Doctrine extensions in Symfony 2 (PR 7 - download from symfony.com) with the steps described in the documentation of the DoctrineExtensionsBundle (index.rst). I've registered the DoctrineExtensions and Stof namespaces in app/ autoload.php and added the DoctrineExtensio

[symfony-users] [symphony-users][Symfony2] Where to register a custom format

2011-03-11 Thread Mark C
Hello all, I am using the .{_format} parameter in my route and want to register jsonp with the same mime-type as json: array('application/json', 'application/x-json'), I know I can do the following in every controller: $request = Request::createFr

[symfony-users] [Symfony 2] After user registration, how to let user automatically logged in?

2011-03-11 Thread Wellming
After user registration, how to let user automatically logged in? -- 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,

[symfony-users] Re: Filter before routing, and sfStopExceptions

2011-03-11 Thread mavinman
Anyone? On Mar 7, 2:50 pm, mavinman wrote: > I would like to create a filter that runs before the routing system > does and am wondering if this is possible. > > Specifically, I would like to parse and redirect URLs myself in > certain situations using a filter.  The urls that needed to be parsed

Re: [symfony-users] Problem with Jobeet Catagories

2011-03-11 Thread Francesco Levorato
Smells like a JOIN went awry :) You could check the query that is being executed and try it directly in PhpMyAdmin/MySQL to see which results it yields, modify it to get the right results and then bring back your findings to your query. Cheers, Francesco On Fri, Mar 11, 2011 at 12:54 AM, oscar bal

[symfony-users] Symfony 1.4.9 vs Oracle 8i

2011-03-11 Thread Mariah
Hi everyone, I'm working with symfony 1.4.9 ,but I'm still having a connexion problem with Oracle 8i, does anyone of you had this problem before,and is it possible to use Symfony 1.4.9 with oracle 8i? Please I need your help!!I can't go any further Thanks in advance. -- If you want to report a

[symfony-users] j'ai modifier ma base de données

2011-03-11 Thread mustapha habia
je travaille sur un projet/site avec Symfony, le problème est que maintenant est apparue des nouvelles fonctionnalités et il faut modifier la BD(nouvelles tables,nouveaux champs) j'ai déjà créer mes modules,formulaires... ma question est:comment mettre mon projets a jour sans refaire le travail dés

[symfony-users] How to activate Doctrine Extensions in Symfony 2 (PR 7)

2011-03-11 Thread Juergen Kober
Greetings, I'm trying to integrate Doctrine extensions in Symfony 2 (PR 7 - download from symfony.com) with the steps described in the documentation of the DoctrineExtensionsBundle (index.rst). I've registered the DoctrineExtensions and Stof namespaces in app/autoload.php and added the DoctrineEx

[symfony-users] Production environment

2011-03-11 Thread Federico Bernardin
Hi, I'm new to Symfony, but I've already used many MVC Framework. Symfony2 seems very nice and robust, but I've a problem with PR3: my bundle test works fine with app_dev front controller, but it doesn't show anything with app controller. Could you help me? Thanks Federico -- If you want to

[symfony-users] Re: sfWidgetFormDoctrineJQueryAutocompleter problem

2011-03-11 Thread emanu.ti
You can try modify the function render on sfWidgetFormJQueryAutocompleter.class.php I haved this problem and solve with this code. public function render($name, $value = null, $attributes = array(), $errors = array()) { // put this code. $name = $name . '[text]'; I hope it was usefull.

[symfony-users] Validation of Embedded forms

2011-03-11 Thread Roman Gnatyuk
Hi. Symfony 1.4 How to do that with the successful validation of one of embedded forms main form pass validation? -- 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 Gro

[symfony-users] Re: Trying to adapt lcOpenInviterPlugin 0.9.3 for symfony 1.4.8

2011-03-11 Thread laurent choblet
hi got the same problem how did you solve the problem? thx On 13 jan, 16:27, dmitrypol wrote: > My users need to import contacts from various address books.  I am trying to > use lcOpenInviterPlugin even though it's only supported for Symfony 1.2 and > I am running 1.4.8.   > > After deploying p

[symfony-users] [Symfony 2] Routing with random optional parameters

2011-03-11 Thread Marco Oliveira
Hi everyone, I'm currently in the process of learning Symfony 2, while implementing a project, and I came to a point in which I need to specify a route that can take multiple optional parameters, and in an arbitrary order. I was expecting to find something about it on the documentation about Ro

[symfony-users] [PR7] Fatal errors (new xsd and class not found)

2011-03-11 Thread Lideln
Hi, I downloaded the PR7, and got a few fatal errors. On my project first, I updated the files from PR6 and I "think" I did not forget anything, but I get that error : Fatal error: Uncaught exception 'InvalidArgumentException' with message '[ERROR 1845] Element '{http://symfony.com/schema/dic/ser

[symfony-users] Routing with random optional parameters

2011-03-11 Thread Marco Oliveira
Hi everyone, I'm currently in the process of learning Symfony 2, while implementing a project, and I came to a point in which I need to specify a route that can take multiple optional parameters, and in an arbitrary order. I was expecting to find something about it on the documentation about Ro

[symfony-users] Production environment

2011-03-11 Thread Federico
Hi, I'm new to Symfony, but I've already used many MVC Framework. Symfony2 seems very nice and robust, but I've a problem with PR3: my bundle test works fine with app_dev front controller, but it doesn't show anything with app controller. Could you help me? Thanks Federico -- If you want to rep

Re: [symfony-users] 1:1 relation, is there any way to show the colums of the daughter model just writing in the generator?

2011-03-11 Thread Francesco Levorato
If I understand correctly, you may simply add a field rendered as a partial (using underscore) and inside it use getProfile()->getName() Keep in mind that if user profiles haven't been JOINed in the listing query, you will execute an extra query each time you call getProfile(). Cheers, Francesco

Re: [symfony-users] How to activate Doctrine Extensions in Symfony 2 (PR 7)

2011-03-11 Thread Christophe COEVOET
Le 10/03/2011 21:42, mindeleven a écrit : Hi, I'm trying to integrate Doctrine extensions in Symfony 2 (PR 7 - download from symfony.com) with the steps described in the documentation of the DoctrineExtensionsBundle (index.rst). I've registered the DoctrineExtensions and Stof namespaces in app/

Re: [symfony-users] [Symfony 2] Routing with random optional parameters

2011-03-11 Thread ryan weaver
Hi there! Can you show what your route looks like in symfony1? The real ideas behind routing haven't changed, so what you did there should work here. If there's something lacking in the documentation, then please do let me know - I want to make sure we've got everything covered. Thanks! Ryan Wea

[symfony-users] ACL - Problem

2011-03-11 Thread Florian Semm
hi, following situation: i have a area for user-registration. everyone has access to it. if the registration was correct, the user should edit his profile with the same forms. so what acl/role-hierarchy is necessary for it. after a successful registration the user has the role ROLE_CANDIDATE.

[symfony-users] Routing, pass several variable url to one action

2011-03-11 Thread sepelloo
Hi any body. Just a quick question. How can i redirect this url to one action: 1-mysite.om/qq=b1_f1 2-mysite.com/qq=a1_v1-a2_v2 I want to extract a1 and v1 as its value and also for a2,b1,b2, What rules need to be define? -- If you want to report a vulnerability issue on symfony, please send

[symfony-users] DoctrineBundle no longer recognized my DBAL config

2011-03-11 Thread Justin Fortier
Anyone know why since upgrading to the latest master it no longer recognizes my entry: doctrine: dbal: dbname: agent_adams user: root password: mypassword logging: %kernel.debug% Give me a message saying it doesn't recognize the options dbname, user, passwor

[symfony-users] Re: ACL Groups

2011-03-11 Thread maxpowel
And the use of roles would not cause performance problems when the number of roles is high? Symfony needs to load the list of roles (array of strings). With 200 or 300 roles and many requests (if the page shows 15 pictures, it would need to check the permissions 15 times) could go a little slower.

Re: [symfony-users] DoctrineBundle no longer recognized my DBAL config

2011-03-11 Thread ryan weaver
Hey Justin- Yes, we've removed what's known as the "short syntax". I think this will actually make things a bit simpler and more transparent. You should now actually define the connections beneath the connections key: doctrine: dbal: default_connection: defau

AW: [symfony-users] How to activate Doctrine Extensions in Symfony 2 (PR 7)

2011-03-11 Thread Juergen Kober
I guess that means, there's no "easy" way to use Doctrine extensions with Symfony 2 (PR7) right now or in the near future? Thanks for the answer. - Jürgen Am 11.03.2011 18:14 Uhr schrieb "Christophe COEVOET" unter : > Le 10/03/2011 21:42, mindeleven a écrit : >> Hi, >> >> I'm trying to integr

Re: [symfony-users] Production environment

2011-03-11 Thread Vincent Lechemin
Did you enable mod_rewrite? Or just check php_error.log -- Vincent Lechemin -- 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

[symfony-users] Re: DoctrineBundle no longer recognized my DBAL config

2011-03-11 Thread Justin Fortier
Thanks for the quick response, I didn't realize there was short/long syntax. I'm guessing this was done to standardize the configuration. Thanks again, Justin Fortier On Mar 11, 1:09 pm, ryan weaver wrote: > Hey Justin- > > Yes, we've removed what's known as the "short syntax". I think this wil

Re: AW: [symfony-users] How to activate Doctrine Extensions in Symfony 2 (PR 7)

2011-03-11 Thread Christophe COEVOET
Le 11/03/2011 19:42, Juergen Kober a écrit : I guess that means, there's no "easy" way to use Doctrine extensions with Symfony 2 (PR7) right now or in the near future? Thanks for the answer. There is: just get the master branch of the Doctrine repo instead of the 2.0.x one and it will work. -

Re: [symfony-users] Re: DoctrineBundle no longer recognized my DBAL config

2011-03-11 Thread oscar balladares
It is a shame that Docs are not sync with the changes. Thanks for the tip, I was about to start playing with PR7. 2011/3/11 Justin Fortier > Thanks for the quick response, I didn't realize there was short/long > syntax. I'm guessing this was done to standardize the configuration. > > Thanks agai

Re: [symfony-users] Re: DoctrineBundle no longer recognized my DBAL config

2011-03-11 Thread Christophe COEVOET
Le 11/03/2011 23:33, oscar balladares a écrit : It is a shame that Docs are not sync with the changes. Thanks for the tip, I was about to start playing with PR7. The symfony-docs repo is in sync. The only point is that the website has not been regenerated. -- Christophe | Stof -- If you want

Re: [symfony-users] Re: DoctrineBundle no longer recognized my DBAL config

2011-03-11 Thread oscar balladares
Oh! I didnt know, thanks for the tip. I'll look after that repo [?] 2011/3/11 Christophe COEVOET > Le 11/03/2011 23:33, oscar balladares a écrit : > > It is a shame that Docs are not sync with the changes. >> Thanks for the tip, I was about to start playing with PR7. >> >> The symfony-docs rep

Re: [symfony-users] Re: DoctrineBundle no longer recognized my DBAL config

2011-03-11 Thread Christophe COEVOET
Le 12/03/2011 00:09, oscar balladares a écrit : Oh! I didnt know, thanks for the tip. I'll look after that repo 2011/3/11 Christophe COEVOET mailto:s...@notk.org>> Le 11/03/2011 23:33, oscar balladares a écrit : It is a shame that Docs are not sync with the changes. Thanks