[symfony-users] FAMOUS PHOTOS, DRAWING COLLIECTION, NATURE FLOWERS,

2008-05-24 Thread magesh kotteswaran
HAI FRIENDS , I HAVE LOT OF NATURE PHOTOS , DRAWING PHOTOS AND FLOWERS AND DIFFERENT ONE HUMAN ANATOMY PLASTIC MODELS, I HAVE SEND WITH YOU, JUST CLICK FOLLOWING LINK AND ENJOY IT, DRAWING PHOTOS COLLECTION http://mageshdrawfedi.blogspot.com/ http://mageshdrawfedi.blogspot.com/

[symfony-users] sfPropel13Plugin - 'Fatal error: Call to undefined method PDOStatement::next()'

2008-05-24 Thread Daniel Staver
I posted a message about this yesterday, but it still hasn't appeared so apologies if this shows up twice. I'm trying to use the sfPropel13Plugin with sf1.0 and some i18n tables but get this error: 'Fatal error: Call to undefined method PDOStatement::next()'. Is there any way to fix this? The

[symfony-users] Re: sfPropel13Plugin - 'Fatal error: Call to undefined method PDOStatement::next()'

2008-05-24 Thread Frank Stelzer
You have to assign all your custom queries to Propel 1.3 syntax. CreoleStmt:next() for example to PDOStatement::fetch() Read the documentation about PDO for more information: http://propel.phpdb.org/trac/wiki/Users/Documentation/1.3/Criteria http://us.php.net/pdo Am 24.05.2008 um 09:05

[symfony-users] Re: sfPropel13Plugin - 'Fatal error: Call to undefined method PDOStatement::next()'

2008-05-24 Thread Daniel Staver
I'm not using any custom queries, this is happening in the generated classes. On May 24, 11:19 am, Frank Stelzer [EMAIL PROTECTED] wrote: You have to assign all your custom queries to Propel 1.3 syntax. CreoleStmt:next() for example to PDOStatement::fetch() Read the documentation about PDO

[symfony-users] [1.1] remove id from hidden csrf input???

2008-05-24 Thread Kris Wallsmith
I'm using sfForm to build a page with a number of AJAX forms. It's going pretty smoothly so far, but I just switched CSRF protection on and now have a bunch of hidden inputs with the same id attribute (_csrf_token). Is there a way to disable the id attribute on this element, globally? I think

[symfony-users] [1.1] disable csrf protection for functional tests?

2008-05-24 Thread Kris Wallsmith
Piggybacking on my previous post on CSRF protection ... what's the best way to disable CSRF protection for my functional tests? I've added a condition to frontendConfiguration::initialize() that disables protection in the test environment, but I'd rather not add logic the only runs for test...

[symfony-users] Re: disable csrf protection for functional tests?

2008-05-24 Thread Kris Wallsmith
Oh, nevermind. I can just update settings.yml... test: .settings: csrf_secret: off Maybe this should this be part of the skeleton settings.yml that's created by generate:app? On May 24, 7:51 am, Kris Wallsmith [EMAIL PROTECTED] wrote: Piggybacking on my previous post on CSRF protection

[symfony-users] Re: disable csrf protection for functional tests?

2008-05-24 Thread Kris Wallsmith
Continuing this conversation I'm having with myself ... Most forms should be testable using getAndCheck, setField, click ... which will submit the CSRF token and work just fine. So nevermind (again). k On May 24, 8:09 am, Kris Wallsmith [EMAIL PROTECTED] wrote: Oh, nevermind. I can just

[symfony-users] Re: paths...

2008-05-24 Thread Eno
On Sat, 24 May 2008, [EMAIL PROTECTED] wrote: I added a yml file inside my app/mymodule/config, when i call to sfYaml::load how I refer to the file? Is the path relative to the caller? I mean, Do I have to use a diferente path when calling from inside a template or actions? $test =

[symfony-users] Re: snippetsEmu snippets for symfony

2008-05-24 Thread Eno
On May 23, 12:48 pm, Tom Haskins-Vaughan [EMAIL PROTECTED] wrote: I am experimenting with vim at the moment - I really don't want this to be yet another editor war :) - and I was wondering if anyone had come across some symfony snippets for snippetsEmu. Of if anyone was interested in

[symfony-users] Re: snippetsEmu snippets for symfony

2008-05-24 Thread Tom Haskins-Vaughan
Eno, Yeah, not sure if you've seen snippets in Textmate but it's similar to that. For example in a php document, if you type 'for' then hit the tab key you get the following: for ( ${i}={}; ${i} {}; ${i}++ ) { {} } {} Then each time you press tab the cursor is placed at the next point in

[symfony-users] symfony and Vim

2008-05-24 Thread Tom Haskins-Vaughan
Hi all, I have just started using Vim for my symfony development and so far (touch wood) I find it very good. (I did try Textmate once and loved it, but I can't justify buying a Mac for that sole purpose). I have just created a wiki page for anyone using Vim with symfony and/or those who

[symfony-users] how to configure a custom edit action to be of type submit (post request)?

2008-05-24 Thread Matthias N.
Hi, in the admin generator (sf 1.0), edit actions: how can I setup a custom button to be of type submit ? I need to implement save_and_next/prev actions - but this isn't possible as the button is rendered as type button (GET request) which is not really what I want to be able to save the

[symfony-users] Re: snippetsEmu snippets for symfony

2008-05-24 Thread Tom Haskins-Vaughan
Hi Eno, I had to add the following lines to my .vimrc file: filetype on filetype plugin on Also, when I was trying it, it only seemed to work on *.php files. Tom Eno wrote: On May 24, 5:32 pm, Tom Haskins-Vaughan [EMAIL PROTECTED] wrote: Yeah, not sure if you've seen snippets in

[symfony-users] Re: snippetsEmu snippets for symfony

2008-05-24 Thread Tom Haskins-Vaughan
Hi Eno, Did you have any luck getting the symfony snippets to work? I've managed to get the PHP ones working but not the symfony ones. Tom Tom Haskins-Vaughan wrote: Hi Eno, I had to add the following lines to my .vimrc file: filetype on filetype plugin on Also, when I was trying