[symfony-users] Re: [Symfony2] Highlighting menu based on controller called

2011-05-12 Thread Geoff G
It might be better to specify a route on each menu link and see if the current route == link route. -- 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 us

Re: [symfony-users] Extending other bundles

2011-05-12 Thread Christophe COEVOET
Le 12/05/2011 23:45, scott a écrit : Is there any documentation or information on extending existing bundles? I have installed the easy-extend bundle as part of the media bundle installation but I am not sure I really understand how this works and how to override existing controllers, entities an

[symfony-users] Extending other bundles

2011-05-12 Thread scott
Is there any documentation or information on extending existing bundles? I have installed the easy-extend bundle as part of the media bundle installation but I am not sure I really understand how this works and how to override existing controllers, entities and views? Thanks in advance for any hel

Re: Re : Re: [symfony-users] Login check issue

2011-05-12 Thread Gareth McCumskey
Do you not know how functions work? A function often returns a value to whatever called it. Perhaps go relearn your PHP. Seriously. If you do not understand function return values, you really shouldn't be trying to optimise your development with an MVC framework. You have bigger problems. On Thu,

[symfony-users] Re: What is the equivalent to $form->getObject() in Symfony 2 templates?

2011-05-12 Thread thesaint
In my template I have only a FormView object and not a Form, so getData can't be called. I have several possibilities to solve the use case "generate create/update URL depending on entity state" and I'm interested what would be the recommended way: 1) Assign the Entity in the controller, using the

[symfony-users] Re: $form->getErrors() returns an empty array even $form->isValid() evaluates to false

2011-05-12 Thread Anil
Hi, This is what i did to get all form errors, i am not a expert in symfony 2 Yet, but hope it helps https://gist.github.com/968857 On May 3, 1:56 pm, Bernhard Schussek wrote: > Hi Ville, > > getErrors() only returns the errors of that specific Form instance, > but not of any children. You can

[symfony-users] Install/setup issues, new user needs help

2011-05-12 Thread Scal
Hi everyone; I just tried to install/setup Symfony on Windows XP with Wamp server; but runs into issues no matter which approach I take. Could someone explain the simplest way to set symfony according to these folders to see what I'm doing wrong? symfony 1.4 folder (complete source files extracted

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

2011-05-12 Thread Christophe COEVOET
Le 12/05/2011 21:43, Donald Tyler a écrit : 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: re

[symfony-users] Re: User management in Symfony 2

2011-05-12 Thread badllama77
I would have to point out that the available security system in Symfony 2 is really robust. Myself after looking through the available UserBundle then reviewing the security documentation implemented a system to register, authenticate and assign roles pretty quickly. -- If you want to report

[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

[symfony-users] Re: [Symfony2] Highlighting menu based on controller called

2011-05-12 Thread Carl
I've been looking for a way to do something similar. I want to highlight a menu item if the user is in a particular category on the site. I use the Knplabs MenuBundle for menus on my site but it uses the full URL for checking to see if it should highlight a particular menu item. Without adding

Re: [symfony-users] [Symfony2] Highlighting menu based on controller called

2011-05-12 Thread Vincent Lechemin
I am using the route name to do that and it works most if the time, except when there is an internal redirection. It is better than the path because it is not parameter dependant. But I'm still looking for a better way. -- Vincent -- If you want to report a vulnerability issue on symfony, pleas

[symfony-users] [Symfony2] Highlighting menu based on controller called

2011-05-12 Thread Filipe La Ruina
Hey guys, I've been searching for a way of getting the controller that was called so I can highlight the menu. I looked in the HTTP Foundation class and it seems that there is no way of doing it. Even searching here I couldn't find anyone that had the same problem. Well, now i'm doing it the fol

[symfony-users] Re: Fatal Error Using "date" widget

2011-05-12 Thread Roger Webb
Muchas Grasias! That was easier than expected. Could be problematic for those on shared hosting, but I'm up and running. For my fellow RHEL users, it's "yum install php-intl" On May 12, 11:30 am, Luis Cordova wrote: > sudo apt-get install intl > > > > > > > > On Thu, May 12, 2011 at 11:11 AM,

RE: [symfony-users] Re: [Assetic] Error: Unable to launch a new process

2011-05-12 Thread Daniel Gomes
Hi Winzou, I have done what you said, just changed the code like your commit but it still doesn’t work. I’m using compass Filter and at same time the sass files will import some .scss files, need i change any more files? The warnings: Warning: proc_open() [

Re: [symfony-users] Fatal Error Using "date" widget

2011-05-12 Thread Luis Cordova
sudo apt-get install intl On Thu, May 12, 2011 at 11:11 AM, Matt Robinson wrote: > Sounds like you're missing the PHP intl extension…? > > On 12 May 2011, at 17:07, Roger Webb wrote: > >> The Error: >> >> Fatal error: Call to undefined function Symfony\Component\Form >> \Extension\Core\DataTransf

[symfony-users] Re: Fatal Error Using "date" widget

2011-05-12 Thread Roger Webb
Do you *have* to have the intl extension to use the date widget? Our site is English only, and I don't see that changing. Thanks for the reply. On May 12, 11:11 am, Matt Robinson wrote: > Sounds like you're missing the PHP intl extension…? > > On 12 May 2011, at 17:07, Roger Webb wrote: > > > >

Re: [symfony-users] Fatal Error Using "date" widget

2011-05-12 Thread Matt Robinson
Sounds like you're missing the PHP intl extension…? On 12 May 2011, at 17:07, Roger Webb wrote: > The Error: > > Fatal error: Call to undefined function Symfony\Component\Form > \Extension\Core\DataTransformer\intl_get_error_code() in /var/www2/ > vendor/symfony/src/Symfony/Component/Form/Extens

[symfony-users] Fatal Error Using "date" widget

2011-05-12 Thread Roger Webb
The Error: Fatal error: Call to undefined function Symfony\Component\Form \Extension\Core\DataTransformer\intl_get_error_code() in /var/www2/ vendor/symfony/src/Symfony/Component/Form/Extension/Core/ DataTransformer/DateTimeToLocalizedStringTransformer.php on line 84 The Code: >From the Form Cla

Re: [symfony-users] Deal with Doctrine - Migrations y Git

2011-05-12 Thread Jeremiah Dodds
On Thu, May 12, 2011 at 6:00 AM, Fran wrote: > Hi! > > I have a Symfony project with Git and we are three developers, two of > us are working on a develop branch and the other one is working in a > new branch with new features, the problem is the changes in the > database and the generation of mi

Re: [symfony-users] Re: Use two different database into the same controller

2011-05-12 Thread badllama77
ya since in either case, the beta1 or beta2 it is just a string. -- 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, s

[symfony-users] ACL Retrieving all aces by security user identity

2011-05-12 Thread realmfoo
Is it planned to add method for retrieving all ace records for specific user security identity? -- 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"

[symfony-users] Deal with Doctrine - Migrations y Git

2011-05-12 Thread Fran
Hi! I have a Symfony project with Git and we are three developers, two of us are working on a develop branch and the other one is working in a new branch with new features, the problem is the changes in the database and the generation of migration versions, how can we deal with that? I mean, when

Re: [symfony-users] Re: Invalid Schema error during quickstart with 2.0.0beta1

2011-05-12 Thread Christophe COEVOET
Le 12/05/2011 15:03, Greg a écrit : I should also mention that I tried pulling Symfony from git with no change. I am running PHP 5.3.5 with a ZendServer CE install. Pulling it from which repo ? -- Christophe | Stof -- If you want to report a vulnerability issue on symfony, please send it to s

Re: [symfony-users] What is the equivalent to $form->getObject() in Symfony 2 templates?

2011-05-12 Thread Christophe COEVOET
Le 12/05/2011 15:14, thesaint a écrit : In Symfony 1 the default template instructions in a form template were like this: getObject()->isNew() ? 'create' : 'update'). (!$form->getObject()->isNew() ? '?id='.$form->getObject()->getId() : '')) ?> What would the equivalent template for this in S

[symfony-users] What is the equivalent to $form->getObject() in Symfony 2 templates?

2011-05-12 Thread thesaint
In Symfony 1 the default template instructions in a form template were like this: getObject()->isNew() ? 'create' : 'update'). (!$form->getObject()->isNew() ? '?id='.$form->getObject()->getId() : '')) ?> What would the equivalent template for this in Symfony 2? Or is there another recommended w

[symfony-users] Re: Invalid Schema error during quickstart with 2.0.0beta1

2011-05-12 Thread Greg
I should also mention that I tried pulling Symfony from git with no change. I am running PHP 5.3.5 with a ZendServer CE install. On May 11, 9:42 pm, Greg wrote: > I was hoping to try out Symfony again after testing a beta of v1 and > settling on ZF four years ago. > > I have been searching but ca

Re: [symfony-users] [Symfony2] Routing - Problem with the _locale default value

2011-05-12 Thread Christophe Willemsen
I've tried every possibility - does anyone can get this working ? -- 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: [Solved] Only use anonymous role if user is not logged in?

2011-05-12 Thread thesaint
Now I know what my mistake was: I only relied on the firewall rules and did not configure the access_control part in security.yml. This makes sense when configuring admin sections, but my case is different: Some pages are for certain roles only, other parts of the site can be visited by anonymous a

Re: [symfony-users] User management in Symfony 2

2011-05-12 Thread Christophe COEVOET
Le 12/05/2011 14:14, Imran a écrit : Hi folks, Is there user management plugins/bundels (similar to sfGuardPlugin for 1.x) exists in symfony2? Check https://github.com/FriendsOfSymfony/UserBundle -- Christophe | Stof -- If you want to report a vulnerability issue on symfony, please send it to

[symfony-users] User management in Symfony 2

2011-05-12 Thread Imran
Hi folks, Is there user management plugins/bundels (similar to sfGuardPlugin for 1.x) exists in symfony2? Thanks -Imran -- 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 Go

Re: [symfony-users] Re: Symfony2 returning a JSON object

2011-05-12 Thread Christophe COEVOET
Le 12/05/2011 14:04, Javier Garcia a écrit : On May 12, 1:51 pm, Christophe COEVOET wrote: the render method is not about creating a response. It is about creating a response *with a content set by a template*. Yes, but.. why not implement render() to create responses whose *content could be

[symfony-users] Re: Symfony2 returning a JSON object

2011-05-12 Thread Javier Garcia
On May 12, 1:51 pm, Christophe COEVOET wrote: > the render method is not about creating a response. It is about creating > a response *with a content set by a template*. Yes, but.. why not implement render() to create responses whose *content could be 'anything' (JSON data for example, you kno

Re: [symfony-users] Re: "No Metadata Classes to process" when trying to create the schema.

2011-05-12 Thread Christophe COEVOET
Le 12/05/2011 13:38, Javier Garcia a écrit : But I change the location and I'm getting that ReflectionException (in my second post)..or maybe I don't understand.. The ReflectionException is because your class does not exist. -- Christophe | Stof -- If you want to report a vulnerability issue o

Re: [symfony-users] Re: Only use anonymous role if user is not logged in?

2011-05-12 Thread Christophe COEVOET
Le 12/05/2011 13:47, thesaint a écrit : Ah, thanks. So then let me rephrase my question: How do I configure firewalls in security.yml for a page that allows authenticated users but also showing content to anonymous users? How Do I configure it in a way that the regular user info takes precedence

Re: [symfony-users] Re: Symfony2 returning a JSON object

2011-05-12 Thread Christophe COEVOET
Le 12/05/2011 13:34, Javier Garcia a écrit : Since for rendering templates you have to use this: return $this->render('FooBarBundle:Default:index.html.twig'); wouldn't be more "natural" implementing something like: $this->render(json_encode($data), 'json'); ??? The second argument would set th

[symfony-users] Re: Only use anonymous role if user is not logged in?

2011-05-12 Thread thesaint
Ah, thanks. So then let me rephrase my question: How do I configure firewalls in security.yml for a page that allows authenticated users but also showing content to anonymous users? How Do I configure it in a way that the regular user info takes precedence to the anonymous info? I have tried the f

[symfony-users] Re: "No Metadata Classes to process" when trying to create the schema.

2011-05-12 Thread Javier Garcia
But I change the location and I'm getting that ReflectionException (in my second post)..or maybe I don't understand.. On May 12, 12:41 pm, Christophe COEVOET wrote: > Le 12/05/2011 12:31, Zolzaya Erdenebaatar a crit :> Can you put your code > please? > > no need to put the code. I still gave the

[symfony-users] Re: Symfony2 returning a JSON object

2011-05-12 Thread Javier Garcia
> > On Apr 26, 8:11 am, Fabien Potencier > project.com> wrote: > > >> return new Response(json_encode($data)); > > >> Fabien Since for rendering templates you have to use this: return $this->render('FooBarBundle:Default:index.html.twig'); wouldn't be more "natural" implementing something like:

Re: [symfony-users] Re: "No Metadata Classes to process" when trying to create the schema.

2011-05-12 Thread Christophe COEVOET
Le 12/05/2011 12:31, Zolzaya Erdenebaatar a écrit : Can you put your code please? no need to put the code. I still gave the answer: the location of the mapping file is wrong. -- Christophe | Stof -- If you want to report a vulnerability issue on symfony, please send it to security at symfony

Re: [symfony-users] Re: SF2 | Implementing Doctrine entities audit logging

2011-05-12 Thread Christophe COEVOET
Le 12/05/2011 12:11, Valera a écrit : Unfortunately, this does not completely solve the problem. It appears that I'm adding a listener (which indirectly depends on doctrine.orm.entity_manager) and am injecting AuditService into it; also I have the AuditService depending on the doctrine.orm.entity

Re: [symfony-users] Re: "No Metadata Classes to process" when trying to create the schema.

2011-05-12 Thread Zolzaya Erdenebaatar
Can you put your code please? On Thu, May 12, 2011 at 6:27 PM, Javier Garcia wrote: > > On Thu, May 12, 2011 at 5:51 PM, Christophe COEVOET > wrote: > > > > Or place it in Resources/config/doctrine/metadata/orm/ and remove the > .orm > > > part if you are using beta1 > > > I did that but now whe

[symfony-users] Re: "No Metadata Classes to process" when trying to create the schema.

2011-05-12 Thread Javier Garcia
> On Thu, May 12, 2011 at 5:51 PM, Christophe COEVOET wrote: > > Or place it in Resources/config/doctrine/metadata/orm/ and remove the .orm > > part if you are using beta1 I did that but now when I do schema:create I get: PHP Warning: class_parents(): Class Jander\ClarBundle\Entity\User does

Aw: Re: [symfony-users] Twig question?

2011-05-12 Thread Conrad
You can make a form theme to achieve this: http://symfony.com/doc/current/cookbook/form/twig_form_customization.html -- 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 Gr

Re: [symfony-users] Re: SF2 | Implementing Doctrine entities audit logging

2011-05-12 Thread Gediminas Morkevicius
Hi, you can check http://www.gediminasm.org/article/loggable-behavioral-extension-for-doctrine2 Maybe with some changes you will get some specific logic you need, you can inject your service in listener On Thu, May 12, 2011 at 12:11 PM, Valera wrote: > Unfortunately, this does not completely so

Re: [symfony-users] "No Metadata Classes to process" when trying to create the schema.

2011-05-12 Thread Zolzaya Erdenebaatar
Register your bundle to config file. On Thu, May 12, 2011 at 5:51 PM, Christophe COEVOET wrote: > Le 12/05/2011 11:44, Javier Garcia a écrit : > > Hi, >> >> after doing php app/console doctrine:schema:create I'm getting the >> message "No Metadata Classes to process.". >> >> My steps are just t

[symfony-users] Re: SF2 | Implementing Doctrine entities audit logging

2011-05-12 Thread Valera
Unfortunately, this does not completely solve the problem. It appears that I'm adding a listener (which indirectly depends on doctrine.orm.entity_manager) and am injecting AuditService into it; also I have the AuditService depending on the doctrine.orm.entity_manager so a circular referencing occur

Re: [symfony-users] return in javascript help needed please

2011-05-12 Thread Helloise Smit
oops sorry will re-post -- 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 symfony-users@googlegroups.c

Re : Re: Re : Re: [symfony-users] Login check issue

2011-05-12 Thread absdv
It works, thank you very much. -- 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 symfony-users@googleg

Re: [symfony-users] return in javascript help needed please

2011-05-12 Thread Christophe COEVOET
Le 12/05/2011 11:37, Helloise Smit a écrit : i have this line of code: //if user clicked ok then populate messagebox en send button here then i have my JS: function viewornot(id) { var e = confirm('Do you want to view this profile?'); if (e == true) { window.location.

Re: [symfony-users] "No Metadata Classes to process" when trying to create the schema.

2011-05-12 Thread Christophe COEVOET
Le 12/05/2011 11:44, Javier Garcia a écrit : Hi, after doing php app/console doctrine:schema:create I'm getting the message "No Metadata Classes to process.". My steps are just these: - Download sf2, create the bundle Jander/ClarBlundle. - Create Jander/ClarBundle/Resources/config/doctrine/ Ja

Re: Re : Re: [symfony-users] Login check issue

2011-05-12 Thread Christophe COEVOET
Le 12/05/2011 11:42, absdv a écrit : Here is my security.yml file : Your configuration is wrong: the firewall handles only the /admin/* part of your site but you configured the check_path to /secured/login_check which is outside this pattern. So the firewall is not handling the form. -- Chri

[symfony-users] "No Metadata Classes to process" when trying to create the schema.

2011-05-12 Thread Javier Garcia
Hi, after doing php app/console doctrine:schema:create I'm getting the message "No Metadata Classes to process.". My steps are just these: - Download sf2, create the bundle Jander/ClarBlundle. - Create Jander/ClarBundle/Resources/config/doctrine/ Jander.ClarBundle.Entity.User.orm.dcm.yml with th

Re : Re: [symfony-users] Login check issue

2011-05-12 Thread absdv
Here is my security.yml file : security: encoders: Symfony\Component\Security\Core\User\User: plaintext role_hierarchy: ROLE_ADMIN: ROLE_USER ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH] providers: in_memory: use

Re : Re: [symfony-users] Login check issue

2011-05-12 Thread absdv
If I add return; it doesn't change a thing. If I add return true; or return new Response('');, I get : The controller must return a response ('1' given). -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message beca

[symfony-users] return in javascript help needed please

2011-05-12 Thread Helloise Smit
i have this line of code: //if user clicked ok then populate messagebox en send button here then i have my JS: function viewornot(id) { var e = confirm('Do you want to view this profile?'); if (e == true) { window.location.href = "http://www-rainbowcode-net/apps_de

Re: [symfony-users] Login check issue

2011-05-12 Thread Christophe COEVOET
Le 12/05/2011 11:05, absdv a écrit : Hello, I've copied the AcmeDemo Secured configuration to my Bundle. But when I submit the login form, le login_check action give me this error : "The controller must return a response (null given). Did you forget to add a return statement somewhere in your con

Re: [symfony-users] Login check issue

2011-05-12 Thread Gareth McCumskey
You forgot to add a return statement into the action it specifies. go to the login_check action, see if there the keyword "return" is used and if not add it. On Thu, May 12, 2011 at 11:05 AM, absdv wrote: > Hello, > I've copied the AcmeDemo Secured configuration to my Bundle. But when > I submit

[symfony-users] Login check issue

2011-05-12 Thread absdv
Hello, I've copied the AcmeDemo Secured configuration to my Bundle. But when I submit the login form, le login_check action give me this error : "The controller must return a response (null given). Did you forget to add a return statement somewhere in your controller?" Could you help me with this,

Re: [symfony-users] [Symfony2] Routing - Problem with the _locale default value

2011-05-12 Thread Christophe Willemsen
It does the same if I use another variable like : cool: pattern: /{var}/cool defaults: { _controller: AcmeDemoBundle:Demo:index , var: en } requirements: var: en|fr -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received t

[symfony-users] Re: [Symfony2 and Doctrine2] Unable to Persist Entities

2011-05-12 Thread Carl
I finally fixed this. I can't believe it took me half a week to solve this but it was simply a matter of Doctrine being unable to convert a date string to a DateTime object. That's it. I have no idea why this error wasn't showing up in custom PHP error functions or why PDO wouldn't at least give

Re: [symfony-users] [Symfony2] Routing - Problem with the _locale default value

2011-05-12 Thread Christophe Willemsen
Of course ! -- 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 symfony-users@googlegroups.com To unsubs

Re: [symfony-users] [Symfony2] Routing - Problem with the _locale default value

2011-05-12 Thread Christophe COEVOET
Le 12/05/2011 10:26, Christophe Willemsen a écrit : I've clone the last symfony-standard, executed bin/vendors.sh so the symfony is updated and I have still the problem. ?? Did you cleared your cache after updating ? It is necessary to regenerate the routing matcher as your cache is still consid

Re: [symfony-users] Re: One-to-one association in form

2011-05-12 Thread Zolzaya Erdenebaatar
Hey I need a it on Symfony 2.0. Please help me? On Thu, May 12, 2011 at 4:31 AM, Erkhembayar Gantulga wrote: > in sf1.4. > It's very simple to create drop down. for example: > in you Form $this->widgetSchema['your_field'] = new > sfWidgetFormChoice(array('choices' => your query from model), > arr

Re: [symfony-users] [Symfony2] Routing - Problem with the _locale default value

2011-05-12 Thread Christophe Willemsen
When executing bin/vendors.sh it fetch the symfony/symfony.git repo https://github.com/symfony/symfony-standard/blob/master/bin/vendors.sh -- 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 sub

[symfony-users] Re: One-to-one association in form

2011-05-12 Thread Erkhembayar Gantulga
in sf1.4. It's very simple to create drop down. for example: in you Form $this->widgetSchema['your_field'] = new sfWidgetFormChoice(array('choices' => your query from model), array()); And just validate it Either it exists or not using postVAlidator, I hope it would help you If i understand your

Re: [symfony-users] [Symfony2] Routing - Problem with the _locale default value

2011-05-12 Thread winzou
The master branch means the symfony/symfony master branch : https://github.com/symfony/symfony -- 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"

Re: [symfony-users] [Symfony2] Routing - Problem with the _locale default value

2011-05-12 Thread Christophe Willemsen
I've clone the last symfony-standard, executed bin/vendors.sh so the symfony is updated and I have still the problem. ?? -- 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 Goog

[symfony-users] Re: Routing issue with dots in URL

2011-05-12 Thread Womble
Yeah that was correct, seems that this isn't the issue after all as I still get a route error. No route found for "GET /network/graph/SPAR22/xe-0_1_0.0" @extra:Route("/network/graph/{node}/{interface}", options={"segment_separator"="/"}, name="network_graph_node_interface") It seems the issue is

Re: [symfony-users] installation help

2011-05-12 Thread Christophe COEVOET
Le 12/05/2011 09:05, Glenn Z a écrit : I'm a Symfony newbie. I inherited a project and for some reason, I can’t get the files to run on my dev server. There is a full working site on production and all I need to do is make some easy html type changes, which I could just go into the code and do.

Re: [symfony-users] SF2 | Implementing Doctrine entities audit logging

2011-05-12 Thread Christophe COEVOET
Le 12/05/2011 09:16, Valera a écrit : Hi, I'd like to make use of @orm:postPersist/postUpdate/postRemove features to perform audit logging ("who" and "when" has done "what" to a Doctrine-powered entity) into DB. The audit code is located in a service, say \My\TestBundle\Service \AuditService.php

[symfony-users] Re: [Assetic] Error: Unable to launch a new process

2011-05-12 Thread winzou
Wait for this PR https://github.com/kriswallsmith/assetic/pull/40/files to be merged, or modify your local code yourself according to it. -- 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 subsc

Re: [symfony-users] Twig question?

2011-05-12 Thread Christophe COEVOET
Le 12/05/2011 09:38, Zolzaya Erdenebaatar a écrit : Hi guys, I have a collection of entity objects. Now I want to build following html table structure in twig. How to do it. for="check9">Yes A for="check10">Yes B for="check11">Yes C for="check12">Yes D You probably want to use a for loop

Re: [symfony-users] [Symfony2] Routing - Problem with the _locale default value

2011-05-12 Thread Christophe Willemsen
Ok thank you -- 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 symfony-users@googlegroups.com To unsub

[symfony-users] installation help

2011-05-12 Thread Glenn Z
I'm a Symfony newbie. I inherited a project and for some reason, I can’t get the files to run on my dev server. There is a full working site on production and all I need to do is make some easy html type changes, which I could just go into the code and do... Environment: WAMP installed and runni

[symfony-users] Twig question?

2011-05-12 Thread Zolzaya Erdenebaatar
Hi guys, I have a collection of entity objects. Now I want to build following html table structure in twig. How to do it. Yes A Yes B

Re: [symfony-users] Re: How to deal with Form Collection on Symfony2 Beta ?

2011-05-12 Thread Zolzaya Erdenebaatar
Hi guys, How to generate following html table structure in twig? {% for source in form.sources %} Yes Foo Yes Bar {% endfor %} On Tue, May 10, 2011 at 10:45 AM, barbacan wrote: > Thanks for this example! But this doesn't work with me. With this > call: > > {% for address in form.

[symfony-users] SF2 | Implementing Doctrine entities audit logging

2011-05-12 Thread Valera
Hi, I'd like to make use of @orm:postPersist/postUpdate/postRemove features to perform audit logging ("who" and "when" has done "what" to a Doctrine-powered entity) into DB. The audit code is located in a service, say \My\TestBundle\Service \AuditService.php. The problem I'm facing is how to inje

[symfony-users] Creat a new column for existing table

2011-05-12 Thread city's
I'm working with stock project. I have 2 tables. One for companies and one for stock. Total number of companies are 100. The number of companies will increase every day (when a new company joins). Same way stock items are nearly 200. And every day this stock item name will increase(when i introduce

Re: [symfony-users] Re: One-to-one association in form

2011-05-12 Thread Zolzaya Erdenebaatar
No not yet. I need a it. If you found a answer please share it to me. On Wed, May 11, 2011 at 7:12 PM, JP wrote: > I have the same question, did you find an awnser? > > I'm using sf 1.4 > > regards, > JP > > -- > If you want to report a vulnerability issue on symfony, please send it to > securi

[symfony-users] Re: Pratical Symfony day 5 - Class sfPropelRoute does not exist

2011-05-12 Thread Giuseppe
ok I found on google code project jobeet and saw that the routing file job_show_user: url: /job/:company_slug/:location_slug/:id/:position_slug class: sfPropelRoute options: { model: JobeetJob, type: object } param: { module: job, action: show } requirements: id: \d+ sf_m

[symfony-users] Invalid Schema error during quickstart with 2.0.0beta1

2011-05-12 Thread Greg
I was hoping to try out Symfony again after testing a beta of v1 and settling on ZF four years ago. I have been searching but cannot find and answer to this. Using Symfony_Standard_Vendors_2.0.0BETA1.tgz and the Quickstart tutorial I get the following when I click either "Configure your Symfony Ap

Re: [symfony-users] [Symfony2] Routing - Problem with the _locale default value

2011-05-12 Thread Christophe COEVOET
Le 12/05/2011 09:58, Christophe Willemsen a écrit : Hi everybody, I'm having problem with my routes when trying to use the _locale, it works fine if I set fr or en but it does not take into account the default value with a url /cool : Here my route : cool: pattern: /{_locale}/cool defaults:

[symfony-users] [Symfony2] Routing - Problem with the _locale default value

2011-05-12 Thread Christophe Willemsen
Hi everybody, I'm having problem with my routes when trying to use the _locale, it works fine if I set fr or en but it does not take into account the default value with a url /cool : Here my route : cool: pattern: /{_locale}/cool defaults: { _controller: AcmeDemoBundle:Demo:index, _locale