[symfony-users] Re: FormFilter - sfWidgetFormChoice 'multiple' = true ... error

2010-01-26 Thread Tom Ptacnik
Thank you very much, that was exactly what I needed. I modified (generalized) the method a little (inspired by methods in sfFormFilterDoctrine): public function addTkstateColumnQuery($query, $field, $value) { $fieldName = $this-getFieldName($field);

Re: [symfony-users] Re: Subdomain dynamicly

2010-01-26 Thread seifolah Ghaderi
Hi again. For test sub domain I have a problem . I have a win xp and installed wamp on it. After some googleing I find how to confige virtual host name based.I use this confige in my host file(in C:\WINDOWS\system32\drivers\etc) 127.0.0.1 localhost 127.0.0.1 mysite.web 127.0.0.1

[symfony-users] Re: Symfony Filter

2010-01-26 Thread Asif Ali M
Thanks Dheeraj. You are right. the flow is what you explained. What I am trying to find is... Is it a good practice in symfony to have my custom filter run before the security filter? Thanks -Asif On Jan 26, 8:20 am, Dheeraj Kumar Aggarwal dheerajcom...@gmail.com wrote: Hi in my view

[symfony-users] Download day by day code for symfony guide

2010-01-26 Thread Pau Peris
Hi to all, does anyone know where can i download day by day code for Symfony Guide? http://www.symfony-project.org/jobeet/1_4/Doctrine/en/ thanks -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to

Re: [symfony-users] Download day by day code for symfony guide

2010-01-26 Thread Alexandru-Emil Lupu
Via svn doc or there i think is a book A pdf.. sent via htc magic On Jan 26, 2010 12:01 PM, Pau Peris sibok1...@gmail.com wrote: Hi to all, does anyone know where can i download day by day code for Symfony Guide? http://www.symfony-project.org/jobeet/1_4/Doctrine/en/ thanks -- You

Re: [symfony-users] Download day by day code for symfony guide

2010-01-26 Thread Gábor Fási
http://svn.jobeet.org/doctrine/tags/ This is the 1.2 version, according to `svn log` it hasn't been updated for 1.4. On Tue, Jan 26, 2010 at 11:01, Pau Peris sibok1...@gmail.com wrote: Hi to all, does anyone know where can i download day by day code for Symfony Guide?

Re: [symfony-users] Download day by day code for symfony guide

2010-01-26 Thread Alexandru-Emil Lupu
Here it is ... http://svn.symfony-project.org/doc/branches/1.4/jobeet/en/ On Tue, Jan 26, 2010 at 12:06 PM, Gábor Fási maerl...@gmail.com wrote: http://svn.jobeet.org/doctrine/tags/ This is the 1.2 version, according to `svn log` it hasn't been updated for 1.4. On Tue, Jan 26, 2010 at

RE: [symfony-users] Download day by day code for symfony guide

2010-01-26 Thread Olivier LOYNET
Use SVN for that Doctrine version http://svn.jobeet.org/doctrine/tags/ Olivier -Message d'origine- De : symfony-users@googlegroups.com [mailto:symfony- us...@googlegroups.com] De la part de Pau Peris Envoyé : mardi 26 janvier 2010 11:01 À : symfony users Objet : [symfony-users]

Re: [symfony-users] Download day by day code for symfony guide

2010-01-26 Thread Pau Peris
Thanks a lot for your quick answers :) 2010/1/26 Alexandru-Emil Lupu gang.al...@gmail.com: Here it is ... http://svn.symfony-project.org/doc/branches/1.4/jobeet/en/ On Tue, Jan 26, 2010 at 12:06 PM, Gábor Fási maerl...@gmail.com wrote: http://svn.jobeet.org/doctrine/tags/ This is the 1.2

Re: [symfony-users] Download day by day code for symfony guide

2010-01-26 Thread Pau Peris
After configuring my vhost, can i just run: svn co http://svn.jobeet.org/doctrine/tags/release_day_10 myJobeetDir Thanks 2010/1/26 Pau Peris sibok1...@gmail.com: Thanks a lot for your quick answers :) 2010/1/26 Alexandru-Emil Lupu gang.al...@gmail.com: Here it is ...

[symfony-users] Re: Symfony Filter

2010-01-26 Thread ken
Sometimes you will need to run the custom filter before the security filter. On Jan 26, 5:02 pm, Asif Ali M l...@reloadtheweb.com wrote: Thanks Dheeraj. You are right. the flow is what you explained. What I am trying to find is... Is it a good practice in symfony to have my custom filter

[symfony-users] Running symfony projects in Netbeans 6.8

2010-01-26 Thread Javier Garcia
Hi, if i go to File Project Properties Run configuration, a dialog box appears where i write this: Project URL: http://rs.localhost/ Index file: frontend.php But I get this line at the bottom of the dialog box: Index file must be a valid relative URL. Any idea? Javi -- You received

[symfony-users] Re: Different edit and new forms: what should i do with _form.php

2010-01-26 Thread Tom Ptacnik
Related topics on the forum http://forum.symfony-project.org/index.php?t=rviewgoto=92113#msg_92113 On 25 led, 14:08, karansoni kanu8...@gmail.com wrote: Make two forms 1)           Emp_Form 1st one a having widgets  name, address, and city AND THAT form will extend your base form 2)      

Re: [symfony-users] Re: Different edit and new forms: what should i do with _form.php

2010-01-26 Thread Stéphane
I prefer using what is done in the related topic (link given by Tom) than creating two distinct forms. Less classes, less code. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Tue, Jan 26, 2010 at

[symfony-users] Re: How to force the Doctrine behaviour Timestampable values in a main table when embedded data are updated

2010-01-26 Thread Tom Ptacnik
Doctrine Timestampable behaviour use class Doctrine_Template_Listener_Timestampable. This class use the preUpdate and preInsert methods for changing the insert_at and update_at columns. So maybe better to use preUpdate than postUpdate for this purpose. On 25 led, 15:11, Olivier LOYNET

[symfony-users] sfForm standalone - Upload file with prefix

2010-01-26 Thread DoRiaN
Hello (sorry for my english i'm french), I use sfForm standalone to upload file. When i don't use prefix with $this-widgetSchema-setNameFormat(self::PREFIX . '[%s]'); I can bind my data with my form $oFormFile-bind(array(), array('file' = $_FILES['file'])); But when i use prefix lie that :

[symfony-users] Re: to doctrine from propel

2010-01-26 Thread Tom Ptacnik
Try to delete all tables from database by hand and then run symfony doctrine:build --all --and-load --no-confirmation On 25 led, 20:47, g0d br g0d...@gmail.com wrote: Hi, I'd start an new project to try doctrine orm with symfony. This is a test project and i change schema.yml a lot but it

[symfony-users] Re: sfYamlDumper.php gives 'step exceeds the specified range'

2010-01-26 Thread Tom Ptacnik
One right bracket is missing? return $dt-diff(new DateTime('NOW')-format('%y years'); - return $dt-diff(new DateTime('NOW'))-format('%y years')); On 25 led, 15:00, Dw dan.r.war...@gmail.com wrote: Im looking to add a function to a doctrine generated model that will return the users age as a

[symfony-users] Re: Subdomain dynamicly

2010-01-26 Thread Tom Ptacnik
What if you add a 127.0.0.1 test.my.com to the hosts file and ServerAlias test.my.com to the virtualhost config. Does this subdomain works? On 26 led, 09:17, seifolah Ghaderi sepel...@gmail.com wrote: Hi again. For test sub domain I have a problem . I have a win xp and installed wamp on it.

Re: [symfony-users] Re: Subdomain dynamicly

2010-01-26 Thread seifolah Ghaderi
No !! It doesn't work. On Tue, Jan 26, 2010 at 6:45 PM, Tom Ptacnik to...@tomor.cz wrote: What if you add a 127.0.0.1 test.my.com to the hosts file and ServerAlias test.my.com to the virtualhost config. Does this subdomain works? On 26 led, 09:17, seifolah Ghaderi sepel...@gmail.com wrote:

[symfony-users] Re: How to secure links with CSRF

2010-01-26 Thread Enrico Stahn
finally gerryvdm from the #symfony irc channel gave me a good answer: [17:12] gerryvdm: the goal is to prevent users unwillingly perform actions on your site, which really only should be possible when submitting a form [17:13] gerryvdm: never use GET requests for destructive operations [17:15]

[symfony-users] symfony under mac OSX 10.6 and MAMP

2010-01-26 Thread Andrea
Hi all, i'm new of symfony project and i would like to learn more of it for improve my php project. I successful install all under my mac and MAMP. I Have a strange problem, if I run MAMP and I visit symfony project at http://localhost:8080/ the first time I can see the default page. If I

[symfony-users] how to use get_partial from service function

2010-01-26 Thread xhe
I am using afmphpPlugin, and I want to use get_partial function, but always got fatal error, Fatal error: Call to undefined function getPartial() the class defination is class FaceBookService extends sfAmfService So can anyone tell me how to call the getPartial function here? Thanks -- You

[symfony-users] Re: how to use get_partial from service function

2010-01-26 Thread Frank He
I know that in task, I can use partial as this: $configuration = ProjectConfiguration::getApplicationConfiguration('frontend', 'prod', true); $context = sfContext::createInstance($configuration); $configuration-loadHelpers('Partial'); $message-attach( new

Re: [symfony-users] symfony under mac OSX 10.6 and MAMP

2010-01-26 Thread Andrea Marin
Hi all, I have found the problem, i make a mistake into httpd.conf at line: Listen 127.0.0.1:8080 before there is Listen 80.0.0.1:8080 Thanks. Il giorno 26/gen/2010, alle ore 17.36, Andrea ha scritto: Hi all, i'm new of symfony project and i would like to learn more of it for improve my

[symfony-users] Re: Running symfony projects in Netbeans 6.8

2010-01-26 Thread stuart.lo...@gmail.com
Hi Javi, You also need to set the web root in the Sources section of the project configuration. Set the web root to web Cheers, Stu On Jan 26, 2:05 pm, Javier Garcia tirengar...@gmail.com wrote: Hi, if i go to File Project Properties Run configuration,  a dialog box appears where i write

[symfony-users] method_for_query semantics

2010-01-26 Thread Patrick Leblanc
My question is really more semantic related rather than technical, since it works. But from the Day 6 of jobeet: -- # apps/frontend/config/routing.yml job_show_user: url: /job/:company_slug/:location_slug/:id/:position_slug class: sfDoctrineRoute options: model: JobeetJob

Re: [symfony-users] Re: Running symfony projects in Netbeans 6.8

2010-01-26 Thread Javier Garcia
On 01/26/2010 08:28 PM, stuart.lo...@gmail.com wrote: You also need to set the web root in the Sources section of the project configuration. Set the web root to web Thanks Stuart, it worked!. I dont have that line in red anymore.. -- You received this message because you are subscribed to

[symfony-users] sfSimpleForumPlugin: for Symfony 1.3 1.4 (and Doctrine)

2010-01-26 Thread pbh
I was looking to use the sfSimpleForumPlugin, but this project has been abandoned by the author and there is no version for Doctrine. My first question is: 1) Has anyone done this? (converted the sfSimpleForumPlugin to Doctrine) 2) If there is not a copy of this plugin (sfSimpleForumPlugin)

[symfony-users] Loading YAML data into an existing database

2010-01-26 Thread Scott Bargabus
Hello, I want to add data to an existing database and neither fixtures nor migrations seem like the right solution. We have a white-label system and we need to publish data for each label that we add (15+ entity types, 200+ entities for each label). We have all this data in YAML format and are

[symfony-users] sfEasyGMapPlugin only one info window displayed for markers

2010-01-26 Thread Zach
I'm trying to display several markers on a map and when you click on the marker you get more info in the info window box. Here is my code: // INITIALIZE GOOGLE MAP $gMap = new GMap(); $gMap-setWidth(533); $gMap-setHeight(268); foreach($objects as $object){ $info = new

[symfony-users] What do you use symphony for?

2010-01-26 Thread raviu
Hello, Could you tell us what you use symphony for, and how it has helped. Just a summary of one or two lines. I'm making up a report and would like some output from the symphony community. Thanks for any help. Best, Ravi -- You received this message because you are subscribed to the Google

Re: [symfony-users] What do you use symphony for?

2010-01-26 Thread Dheeraj Kumar Aggarwal
Hi ravi Symfony is a framework that will help to you properly organize your code in MVC (Model View Controller) style and provides features like routing, dispatching request, form handling and also integrates with other tools like propel or doctrine for ORM (Object relationship mapping). On Wed,

[symfony-users] Re: Symfony Filter

2010-01-26 Thread Asif Ali M
okay. Thanks for your comment On Jan 26, 4:56 pm, ken marfillas...@gmail.com wrote: Sometimes you will need to run the customfilterbefore the securityfilter. On Jan 26, 5:02 pm, Asif Ali M l...@reloadtheweb.com wrote: Thanks Dheeraj. You are right. the flow is what you explained. What

Re: [symfony-users] Re: Message size of an email...

2010-01-26 Thread Gareth McCumskey
Just bear in mind that the -actual- message size isn't exactly what you pass to Swift Mailer. The sending MTA (Mail Transfer Agent) could possibly add on additional headers, additional content if there is SMTP signature adding mechanisms etc. At best you will get the minimum size that the message