[symfony-users] url_for and array GET param

2008-01-08 Thread Florian
Hello, Could someone tell me if he already had seen that before ? echo url_for( 'mymodule/myaction?test[]=1&test[]=2&test[]=3' ); // --> mymodule/myaction/test[]/3 It should return 'mymodule/myaction/test[]/1/test[]/2/test[]/3 Isn't it ? Maybe someone has a solution? Thanks for reading and so

[symfony-users] getModuleName

2008-01-08 Thread Jon Busby
Hi everyone, I'm attempting to impliment a new template send over from a client into symfony, and one of their edits is to id the body tag for each section - so it appears tabbed / untabbed if the section is active... I should be able to do this with - however I cant call getModuleName in the

[symfony-users] Re: sfSimpleForumplugin - problem with topic adding

2008-01-08 Thread Dmitry Nesteruk
Do you have these modules in the plugins/sfSimpleForumPlugin/modules? What errors was appeared when you was going http://sitename/backend_dev.php/sfSimpleForumForumAdmin? Did you enabled this modules in the apps/backend/config/settings.yml? 2008/1/5, MiloszeS <[EMAIL PROTECTED]>: > > > OK, > > the

[symfony-users] Re: url_for and array GET param

2008-01-08 Thread Andy Signer
Hi Florian The problem is that you used three time the same named parameter ('test[]'). So the last set value is winning ('3'). What do you like to do anyways? Greetz Andy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

[symfony-users] Re: getModuleName

2008-01-08 Thread Andy Signer
Hi Jon you can use Read more here http://www.symfony-project.org/book/1_0/07-Inside-the-View-Layer Greetz Andy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send em

[symfony-users] Re: url_for and array GET param

2008-01-08 Thread Florian
Hi Andy, Thanks for answering so fast! Theorically, when you call an url with this GET parameters : ? test[]=1&test[]=2&test[]=3 PHP should fill $_GET['test'] as an array : print_r($_GET['test']) -> Array( 1, 2, 3 ) It works fine without routing rewriting, but url_for rewrites it wrong. To a

[symfony-users] Re: getModuleName

2008-01-08 Thread Jon Busby
Brillient! Cheers Andy -Original Message- From: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andy Signer Sent: 08 January 2008 09:17 To: symfony users Subject: [symfony-users] Re: getModuleName Hi Jon you can use Read more here http://www.symfony-project

[symfony-users] Re: Extending Doctrine models

2008-01-08 Thread Jonathan Wage
Overriding accessors is something we will be addressing in the Doctrine core itself. Currently sfDoctrinePlugin allows you to override accessors by creating get/setFieldName() methods and they will be called when you access a normal Doctrine accessor. In order for it to function correctly you must

[symfony-users] any way to access getisXmlHttpRequest preExecute?

2008-01-08 Thread Lee Bolding
Hey people, Anybody know a way I can access sfWebRequest's getisXmlHttpRequest from a class that extends sfActions? I've got a custom class that extends sfActions, and in it's preExecute method I want to disable layout for any AJAX requests. I'm trying to execute the following :

[symfony-users] sfActions Mixins?

2008-01-08 Thread Ant Cunningham
Im trying to add some global methods to all my actions via mixin. I havent really done any logic yet I was just trying to test it out, but it doesn't seem to be working. It just thinks the action doesn't exist ive tried the following two approaches: //in apps/appname/config/config.php sfMixer::r

[symfony-users] adding routing rule for select pages from old site

2008-01-08 Thread Brian Hoke
We're soon launching a symfony-based site redesign. I'm looking for a way to handle page-not-found requests (i.e. search engines or links or direct referrals to the old site's coldfusion-based pages) with a set of routing rules or some other dynamic system. For instance, I'd like "/about/offices.cf

[symfony-users] Re: adding routing rule for select pages from old site

2008-01-08 Thread Charley Tiggs
I posted a message on handling just this situation a while ago: Charley [EMAIL PROTECTED] said on Tuesday, January 8, 2008: >We're soon launching a symfo

[symfony-users] Re: adding routing rule for select pages from old site

2008-01-08 Thread Brian Hoke
Perfect - thanks, Charley. Just what I was looking for. ~Brian On 1/8/08, Charley Tiggs <[EMAIL PROTECTED]> wrote: > > > I posted a message on handling just this situation a while ago: > > < > http://groups.google.com/group/symfony-users/browse_thread/thread/cf11f75e6306b3d7/43febc7443ba3715 > ?

[symfony-users] Re: url_for and array GET param

2008-01-08 Thread Stepan Koci
Hi Florian, try this solution: Listing 9-13 - Forcing GET Variables with the query_string Option 'title=Finance_in_France' )) ?> => my article ( http://www.symfony-project.org/book/1_0/09-Links-and-the-Routing-System ) Regards Stepan On 8 Led, 09:42, Florian <[EMAIL PROTECTED]> wrote: > He

[symfony-users] rendering a view for usage in a json-response

2008-01-08 Thread Pierre
Hi folks, I'm quite new to symfony and ajax so my question might sound stupid, but I'm looking for a way to update more than one div in my page with one ajax remote call. I found that json is a common way to achieve this but couldn't find a way to get the response from one action rendered with t

[symfony-users] Re: sfActions Mixins?

2008-01-08 Thread Francois Zaninotto
Did you try sfMixer::register('sfComponent', array('GlobalActions', 'executeMyGlobalAction')); Francois 2008/1/8, Ant Cunningham <[EMAIL PROTECTED]>: > > > Im trying to add some global methods to all my actions via mixin. I > havent > really done any logic yet I was just trying to test it out,

[symfony-users] Re: rendering a view for usage in a json-response

2008-01-08 Thread noel guilbert
Hello, You will find more information about this feature in the documentation : http://www.symfony-project.org/book/1_0/11-Ajax-Integration#JSON If your ajax response is larger than 512Kb, I suggest you to use this snippet: http://www.symfony-project.org/snippets/snippet/116 On Jan 9, 2008 2:2