[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 --

[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] [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 =

[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 jnan...@gmail.com 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

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

[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

[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

[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 dmitry...@gmail.com 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.  

[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

[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

[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

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 ?php echo $sf_guard_user-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

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

[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] 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,

[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] 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

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 justfort...@gmail.com Thanks for the quick response, I didn't realize there was short/long syntax. I'm guessing this was done to standardize the

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 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 for the tip, I was about to start playing with PR7. The

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 s...@notk.org 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.