[symfony-users] Schema comments, docs.

2010-08-01 Thread Allen S. Rout
If I reverse-engineer a MYSQL schema, via Propel, into the Symfony YAML, the comments I put in the schema are stripped. Is there another conventional method by which I ought to annotate my schema, if I'm all tanked up on Symfony kool-ade? - Allen S. Rout -- If you want to report a vulnerabilit

[symfony-users] Re: Twig Usage

2010-08-01 Thread Paulo Ribeiro
Thanks! On Aug 1, 6:26 am, Fabien Potencier wrote: > On 7/31/10 4:42 PM, aikistudio wrote: > > > Hello, > > > is anyone using Twig template framework in a serious project? If yes, > > how is it doing so far? > > > I'm considering using it for a new webapp, but it seems nobody has > > being talkin

[symfony-users] Re: Symfony2 comments and questions

2010-08-01 Thread Henrik Bjornskov
> > 2. Filters > > A killer feature I miss is the old filters framework for requests. > > Should events be used in the future? > > Yep, we have events now. There are more flexible. I have wondered about this since the first preview release. Lets say i wanted to add some sort of autologin when a co

[symfony-users] Re: Symfony2 comments and questions

2010-08-01 Thread Tarjei
Hi, as with my other answer, I've been on vacation so apologies for a late reply. On 12 Jul, 10:47, Fabien Potencier wrote: > On 7/11/10 1:17 PM, Tarjei wrote: > > > Hi, here are my initial questions and comments regarding Symfony2. > > Wow, that's a lot of feedback! Thank you very much. My answe

[symfony-users] [JOB] Symfony Developer, NYC | 70-90k

2010-08-01 Thread OSS
This is a full time, on-site, salaried PHP Developer position located in New York City paying $70,000-90,000 depending on experience + benefits. No telecommuting allowed. US Citizens or Green Card holders only please. Local candidates only. Thank you. My NYC client is a fast-growing, full-serv

[symfony-users] load to include_partial without using action

2010-08-01 Thread Sela
i want to load stuff to include_partial without actually doing it through the action, i thought about doing it as a filter, but can't find any thing similar. i need that to build a menu which is populated according to the route, so for example if the route is /cars it'll retrieve list of cars from

[symfony-users] Re: Jobeet - Day 6 Issue.

2010-08-01 Thread claudia_k
Hi Mauricio The query you posted confirms that the expires date is not taken into consideration at all which, together with your previous information indicates that it does not use the current routing information at all. Could you go the the command line and examine the routing? The command should

[symfony-users] Re: Jobeet - Day 6 Issue.

2010-08-01 Thread Mauricio Rivera Schneider
Ok, found my mistake, on day five I was supposed to change the executeShow() function in the job class to "$this->job = $this->getRoute()->getObject();", which I didn't. Now it's executing the correct sql statement and giving me the 404 error page on expired jobs. Thanks for your help guys.

[symfony-users] Re: 2 hours spent on : Unknown record property / related component "fullname" on "sfGuardUserProfile"

2010-08-01 Thread Grzegorz Śliwiński
What class does your sfGuardUserProfile extends? is it PluginsfGuardUserProfile? If not, change it to extend, becouse there's already defined getFullname method. On 1 Sie, 15:14, Tristan wrote: > ok i added the function to the sfGuardUserProfile, and it fixed the > error > > On 1 août, 02:53, Tri

Re: [symfony-users] Re: Jobeet - Day 6 Issue.

2010-08-01 Thread Mauricio Rivera Schneider
Thanks Halfer, I'm gonna give a look at your code. I was thinking it could be a good idea to upload a zip file with the finished code to download at the end of each day in the tutorial, for comparison purpose. All that refactoring can be a little misleading :P. Regards, Mauricio Rivera Schn

[symfony-users] Re: Jobeet - Day 6 Issue.

2010-08-01 Thread halfer
On Jul 31, 5:24 pm, Mauricio Rivera Schneider wrote: >   Hello, > > I'm working with the Jobeet tutorial and I'm having a little problem in > *day 6*. Everything works fine until I get to the "Secure the Job Page" > > secti

Re: [symfony-users] Re: Jobeet - Day 6 Issue.

2010-08-01 Thread Mauricio Rivera Schneider
Well, this is what the logs say: sfPatternRouting: Match route "job_show_user" (/job/:company_slug/:location_slug/:id/:position_slug) for /job/sensio-labs/paris-france/3/web-developer with parameters array ( 'module' => 'job', 'action' => 'show', 'company_slug' => 'sensio-labs', 'location

[symfony-users] Re: Jobeet - Day 6 Issue.

2010-08-01 Thread claudia_k
Ooops, I understood the the problem, but I somehow messed up in my previous reply - sorry about the confusion. I did not mean the 404 page but the page you see when requesting the (expired) job. What is the query that you see in the web debug bar? What happens when you try this query in phpmyadmin?

[symfony-users] Re: Symfony Almost Live: building a new Symfony application in 26 minutes

2010-08-01 Thread pghoratiu
It's really nice, I think that something like this is missing on http://www.symfony-project.org/. When I started first with symfony (1.0.x) there was a screencast with building an application with Ajax on the front page. From my point of view these type of presentations have a high marketing value

[symfony-users] Re: Timestampable

2010-08-01 Thread pghoratiu
You can store the column in a separate table and link it to the master table 1:1 relationship. An even better solution is to store this in memcache (also use the memcache incrementation mechanism) and save this value in the database from time to time. gabriel On Jul 30, 11:18 am, comb wrote

[symfony-users] Re: Timestampable

2010-08-01 Thread Richtermeister
You can override the isModified() method on the object to introduce that custom logic. Currently it returns whether any field has been modified. You can change it to return false if only the view field has been modified. Daniel On Jul 31, 6:13 pm, comb wrote: > Well I need the updated_at field

[symfony-users] Re: Jobeet - Day 6 Issue.

2010-08-01 Thread Rivoot
Claudia, Thanks for your answer. The issue I'm having is the following. In the jobeet tutorial, the list of jobs is generated based on their status (expired, not expired). If a job is expired it won't be shown in the homepage, but if you try to access the job by writing the url directly in the b

[symfony-users] Re: Trying to redirect a user to a login page with ajax: 401 unauthorized

2010-08-01 Thread Tristan
mmhhh i'm not sure in understand everything here ='( -- 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 emai

[symfony-users] Re: 2 hours spent on : Unknown record property / related component "fullname" on "sfGuardUserProfile"

2010-08-01 Thread Tristan
ok i added the function to the sfGuardUserProfile, and it fixed the error On 1 août, 02:53, Tristan wrote: > Hello, > > i'm close to shoot a bullet in my head, i've spent 2 plain hours on > it : > > Right after creating a new account with sfForkedDoctrineApplyPlugin, i > keep getting this erro

[symfony-users] Re: Symfony2 comments and questions

2010-08-01 Thread Tarjei
Hi, I'm sorry for replying so late to this thread, I've been on vacation. On 12 Jul, 08:28, Bernhard Schussek wrote: > 2010/7/11 Tarjei : > > > 8. Forms > > One thing I see the form framework has addressed is grouping of > > fields. What I still miss is simple widgets for adding html around a > >

Re: [symfony-users] Re: Trying to redirect a user to a login page with ajax: 401 unauthorized

2010-08-01 Thread Daniel Lohse
Take a look at the BaseaActions.class.php file (lib/actions), lines 806 to 847 and in the template cleanSigninSuccess.php (modules/a/templates). ;-) Cheers, Daniel On 01.08.2010, at 13:44, Tristan wrote: > ok, thanks, once you've sleep a little can you tell me a little more > please ? > > like

[symfony-users] Re: Trying to redirect a user to a login page with ajax: 401 unauthorized

2010-08-01 Thread Tristan
ok, thanks, once you've sleep a little can you tell me a little more please ? like where to search in the branch :D cause it's kinda huge there :D Thanks -- 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] Re: Jobeet - Day 6 Issue.

2010-08-01 Thread claudia_k
Could you have a look at the sql log in the web debug bar when you are on the 404 page? There you will see the query that is used for fetching the job. What does this query look like? What happens when you try this query directly in mysql (e.g. using phpmyadmin)? Claudia On Jul 31, 6:24 pm, Mauri

Re: [symfony-users] Twig Usage

2010-08-01 Thread Fabien Potencier
On 7/31/10 4:42 PM, aikistudio wrote: Hello, is anyone using Twig template framework in a serious project? If yes, how is it doing so far? I'm considering using it for a new webapp, but it seems nobody has being talking about it anymore. This is the symfony mailing-list, so it makes sense. T