Re: [symfony-users] Doctrine - nested set - node deletion

2010-04-30 Thread Alexandru-Emil Lupu
Check http://redotheoffice.com/?p=74 It implements a dragdrop admin... sent via htc magic On Apr 29, 2010 10:29 PM, Alessandro Massignan ff...@gmail.com wrote: Hi all, i've set up a nested set behaviour and generate the admin section for this one, but something doesn't work at all: node

[symfony-users] Re: radiobutton and select values

2010-04-30 Thread fRAnKEnSTEin
thank you very much it worked! -- 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] Re: Doctrine innerJoin doubt

2010-04-30 Thread fRAnKEnSTEin
yeap! it worked like a charm...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

Re: [symfony-users] Doctrine - nested set - node deletion

2010-04-30 Thread Alessandro Massignan
Check http://redotheoffice.com/?p=74 It implements a dragdrop admin... sent via htc magic Thanks! I'll check it out ASAP... :-) Cheers, ff -- 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

[symfony-users] Re: how to put a class on list element using sfform?

2010-04-30 Thread mel_06
i have this error! why? The form formatter listCustom does not exist. On Apr 29, 4:19 pm, Ozzy oye...@gmail.com wrote: Yes, that is right. You should escape characters in PHP when defining strings. On Apr 29, 10:50 am, mel_06 06melc...@gmail.com wrote: i already tried that and it will

Re: [symfony-users] In remote host: Connection could not be established with host smtp.gmail.com [Connection timed out #110]

2010-04-30 Thread Nicolas Perriault
On Thu, Apr 29, 2010 at 13:03, Javier GARCIA tirengar...@gmail.com wrote: Any hand? Try port 587 instead. ++ -- Nicolas Perriault Akei : http://www.akei.com/ Symfonians : http://symfonians.net Blog : http://prendreuncafe.com/ Mobile: +33 660 92 08 67 -- If you want to report a

Re: [symfony-users] Automated Database Check

2010-04-30 Thread Tom Haskins-Vaughan
+1, I'd use Ajax for this. On Thu, Apr 29, 2010 at 8:01 PM, Julian Reyes julian.reyes.escri...@gmail.com wrote: you can make a ajax script with a request time (1 minute is a good time) for check in the database -- If you want to report a vulnerability issue on symfony, please send it to

[symfony-users] I'm a newbie, I want to know something about cache

2010-04-30 Thread rimoe
hi, I'm a newbie of symfony, I have a website made by symfony, I want to change some config, but I found the config file has been saved in the folder of cache, when I changed some code in the config file have no any change at all, so,do I need to do any other thing? for example clear cache?

[symfony-users] Project level i18n directory

2010-04-30 Thread amit
Is there a project level i18n directory in symfony? If not, where do translations shared by multiple applications live? -- 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

[symfony-users] Adding custom :sf_format - incorrect headers sent

2010-04-30 Thread DEE
'csv' is not a supported default :sf_format within symfony's core, and this is a contenttype I wanted to serve up from a route with a default 'html' format. http://www.symfony-project.org/blog/2008/06/09/how-to-create-an-optimized-version-of-your-website-for-the-iphone-in-symfony-1-1 Going by

[symfony-users] Re: Exporting data to CSV (+Doctrine)

2010-04-30 Thread DEE
On Apr 29, 3:41 am, NOOVEO - Christophe Brun c.b...@nooveo.fr wrote: @Eno : Yes, I tried commenting only some of thse lines instead of all three but it still goes in error. @Gareth :  Useful link, I was not aware of this function, thanks ! But here, I cant' use that because I want to send

[symfony-users] Re: i18n with technical names instead of text

2010-04-30 Thread rafaelgou
You can simply user: _('mainPage.linkToLogin' ) in your code. But if you want to be more explicit about non translated strings (warn users about non translated strings), why can't use prefix/suffix as we can see in docs:

Re: [symfony-users] I'm a newbie, I want to know something about cache

2010-04-30 Thread Tom Haskins-Vaughan
Welcome! Typically, with a question like that you'd get a suggestion like RTFM, but since you're new, here's a freebie: Either manually delete the relevant file (or all files) in the symfony/cache directory or run the command symfony cc. On Fri, Apr 30, 2010 at 1:54 AM, rimoe meiyo...@gmail.com

[symfony-users] Re: possible to get object from form without save? propel nested set insert problem

2010-04-30 Thread Tofuwarrior
How embarrassing. -getObject(); erm. shuffles off to read API again. On Apr 30, 4:49 pm, Tofuwarrior p...@clearintent.co.uk wrote: Hi All, I'm using the propel nested set stuff in 1.5 which is great APART from When an object is saved with$folder=$form-save() if I then try to

Re: [symfony-users] Re: :-( please help. ajax problem - noob to ajax -probably simple

2010-04-30 Thread DEEPAK BHATIA
You can use new plugins based on Jquery working similar to link_to_remote.. On Fri, Apr 30, 2010 at 7:36 PM, Massimiliano Arione garak...@gmail.comwrote: On 29 Apr, 15:36, Gareth McCumskey gmccums...@gmail.com wrote: I know you are talking about ajax. So, for the sake of brevity i include

Re: [symfony-users] Re: i18n with technical names instead of text

2010-04-30 Thread Tom Haskins-Vaughan
I've been thinking about using 'keys' instead of full sentences: echo __('layout.greeting'); But is this an acceptable/symfony way to do it? On Fri, Apr 30, 2010 at 10:45 AM, rafaelgou rafael...@gmail.com wrote: You can simply user: _('mainPage.linkToLogin' ) in your code. But if you

[symfony-users] Re: i18n with technical names instead of text

2010-04-30 Thread rooster (Russ)
On Apr 30, 7:37 pm, Tom Haskins-Vaughan t...@templestreetmedia.com wrote: I've been thinking about using 'keys' instead of full sentences:   echo __('layout.greeting'); But is this an acceptable/symfony way to do it? Symfony won't tell you off if you do, it's up to you. There are pros

Re: [symfony-users] Re: i18n with technical names instead of text

2010-04-30 Thread Tom Haskins-Vaughan
Thanks for your input, Russ. I haven't used i18n much but I've taken over a CI project that uses keys rather than full sentences. I guess the benefit I was looking at is maintenance of the dictionaries, but I'll bear your advice in mind. Tom On Fri, Apr 30, 2010 at 1:48 PM, rooster (Russ)

Re: [symfony-users] Re: possible to get object from form without save? propel nested set insert problem

2010-04-30 Thread Eno
On Fri, 30 Apr 2010, Tofuwarrior wrote: How embarrassing. -getObject(); erm. shuffles off to read API again. Stop fighting that tofu! :-) -- -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this

Re: [symfony-users] I'm a newbie, I want to know something about cache

2010-04-30 Thread Rimoe
:) thank you! 2010/4/30 Tom Haskins-Vaughan t...@templestreetmedia.com Welcome! Typically, with a question like that you'd get a suggestion like RTFM, but since you're new, here's a freebie: Either manually delete the relevant file (or all files) in the symfony/cache directory or run the

[symfony-users] using sfJqueryTreeDoctrineManagerPlugin at admin backend

2010-04-30 Thread el-sid
hi, i found this plugin to manage nested set tree but i am having problems getting it to work, i followed the instructions but nothing seems to happen my yaml file looks like this Category: actAs: NestedSet: hasManyRoots: true rootColumnName: root_id columns: cat_name: {

[symfony-users] Re: How overwrite addFiltersCriteria in symfony 1.4?

2010-04-30 Thread Richtermeister
Hey there, in sf1.2+, the admin filtering is handled via filter form classes, so all customization and filter logic should go in there. The form is not only responsible for displaying and validating the widgets, but since it extends sfFilterForm it also contains methods that build a query /

[symfony-users] Many2Many add relation?

2010-04-30 Thread comb
Hi! I have a tutorial and author model in a many-to-many relation (AuthorTutorial). Now I want to add a author to a concrete tutorial which already has authors, without duplicates. How do I do that? I tried s/th like this: // temporarily save old authors: $authors =

[symfony-users] Re: Many2Many add relation?

2010-04-30 Thread comb
ok.. shame on me.. it works with: $author_tutorial = new AuthorTutorial(); $author_tutorial-author_id = $author-getId(); $author_tutorial-tutorial_id = $tutorial-getId(); $author_tutorial-save(); But how do I check for duplicates - if the $author is already linked with the tutorial? Do I need to

[symfony-users] Re: How overwrite addFiltersCriteria in symfony 1.4?

2010-04-30 Thread fRAnKEnSTEin
Hi, thank you for your answer. Ok i have a module in my backend called price. For this module i need to add a custom filter this is: i need to add to dates, and make a quey based on the dates selected by the user. So by now as i said before i just configure the generator.yml of the price module,

Re: [symfony-users] Re: Many2Many add relation?

2010-04-30 Thread Stéphane
Hi, I never played with ArrayAccess interfaces. $authors = clone $tutorial-get('authors'); //might not work, dunno if Doctrine_Collection have its __clone method; anyway its not the purpose $tutorial-get('authors')-delete(); //delete associations from this tuto to all its authors

Re: [symfony-users] i18n and object_actions

2010-04-30 Thread Stéphane
Hi, Have you cleared your cache ? I don't think I18n files are cleaned every refresh on dev env. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Sat, May 1, 2010 at 12:03 AM, Augusto Flavio

[symfony-users] Control redirect caching

2010-04-30 Thread Adi VELICU
Hello, I have a Symfony application in which I must redirect hits to images to signed URLs in an Amazon S3 bucket. I have checked the code that creates the signed URLs; they are created correctly and two consecutive hits in a small time interval will result in an identical URL being created. The

[symfony-users] Re: Adding custom :sf_format - incorrect headers sent

2010-04-30 Thread DEE
Adding $this-getResponse()-setContentType('text/csv'); and then later return sfView::NONE; does seem to solve the issue, however, I am still unclear why the ContentType header is not being set properly coming from my app's factories.yml file. On Apr 30, 8:20 am, DEE jasond...@gmail.com wrote:

[symfony-users] getRelatedModelName displays other column

2010-04-30 Thread Andro Fumero
hi, im still studying symfony. dont know if i have the right question. anyway i have two tables user and profile and is connected. in the editusers and addusers why does it display the description column instead of the profileid.? 'profileid' = new sfWidgetFormDoctrineChoice(array('model' =