[symfony-users] Re: how to stop symfony thinking it knows best....

2007-03-08 Thread Lukas Kahwe Smith
Ian P. Christian wrote: > Michael Nolan wrote: >> Or if you supply an absolute URL it won't add .js > > Can I have some feedback as to whether this feature is considered > useful? Talking on IRC I remember lukas and I (and a couple of others) > suggesting this feature should be removed - becau

[symfony-users] Re: how to stop symfony thinking it knows best....

2007-03-08 Thread Ian P. Christian
Michael Nolan wrote: > Or if you supply an absolute URL it won't add .js Can I have some feedback as to whether this feature is considered useful? Talking on IRC I remember lukas and I (and a couple of others) suggesting this feature should be removed - because IMO, if I wanted 'something.js'

[symfony-users] Zend Search tips

2007-03-08 Thread Peter Van Garderen
About six months ago Dave Dash posted a great little tutorial on how to integrate Zend_Search_Lucene into a Symfony application. I've just recently upgraded from Zend_Search_Lucene version 0.1.5 to 0.8.0 There are a number of changes that affect the examples in Dave's original tutorial. I've po

[symfony-users] Re: how to stop symfony thinking it knows best....

2007-03-08 Thread Michael Nolan
Or if you supply an absolute URL it won't add .js On Mar 8, 11:51 pm, "Michael Nolan" <[EMAIL PROTECTED]> wrote: > Not directly - _compute_public_path() will add .js if there isn't a > period in the path basename. You could change your routing rule to > add the extension in. > > Mike > > On Mar

[symfony-users] Re: how to stop symfony thinking it knows best....

2007-03-08 Thread Michael Nolan
Not directly - _compute_public_path() will add .js if there isn't a period in the path basename. You could change your routing rule to add the extension in. Mike On Mar 8, 7:55 pm, "Ian P. Christian" <[EMAIL PROTECTED]> wrote: > I have this in my view.yml > > javascripts:[dojo/dojo.js,

[symfony-users] how to stop symfony thinking it knows best....

2007-03-08 Thread Ian P. Christian
I have this in my view.yml javascripts:[dojo/dojo.js, /backend.php/main/js] Symfony thinks it's clever and adds a .js on the end of my second source, which really isn't helpful... can I turn this off? :) It's a crazy feature to have in the first place IMO -- Ian P. Christian ~ h

[symfony-users] Re: What's different between login_module and secure_module?

2007-03-08 Thread Scott Meves
This took me a while to figure out, too. My understanding is this: login_module is called when a user is not authenticated, i.e. when the user is not logged in. secure_module is called when a user is logged in, but does not have the proper credentials to access the requested page. I usually

[symfony-users] Re: Symfony versus CakePHP ?

2007-03-08 Thread Martin Kreidenweis
Hi. > One thing cake does have going for it is that it supports PHP4 - but IMO > PHP4 is an awful language and should be avoided at all costs :) Actually that was the main reason I chose symfony over CakePHP IIRC... ;) Martin --~--~-~--~~~---~--~~ You receive

[symfony-users] Re: What's different between login_module and secure_module?

2007-03-08 Thread Martin Kreidenweis
Hi. > After I read book and documents on Symfony web, I still don't > understand what the different between login_module and secure_module > in security.yml config file is. The login_module ist used for users that aren't authenticated at all when they try to access a secure page. The secure_mod

[symfony-users] Re: Cross database joins with propel

2007-03-08 Thread Andrew Backer
I assume you mean between different databases on the same server, from within a query, like such SELECT U.id, S.permissions from dbo.users U <-- uses default database left join securitydb.dbo.perms P on u.id = S.user_id If you mean do a join between different physical servers, probably

[symfony-users] What's different between login_module and secure_module?

2007-03-08 Thread Cipher Chien
Hi, all After I read book and documents on Symfony web, I still don't understand what the different between login_module and secure_module in security.yml config file is. Has anyone know about it? Cipher --~--~-~--~~~---~--~~ You received this message because

[symfony-users] Re: add CSS and JS dynamically in a partial without layout

2007-03-08 Thread François Zaninotto
use the include_javascript() helper: JavaScript files added witrh add_javascript() previously will be output where the include_javascript() helper is called. Alternative: add a section to your partial. François _ De : symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED] De la par

[symfony-users] add CSS and JS dynamically in a partial without layout

2007-03-08 Thread Loïc Vernet
How to add add CSS and JS dynamically in a partial without layout ? I know it's not a good practice and i need to do so... Even when using the addJavascrit method, is it ignored, i suppose simply because what is rendered does not have a section... _

[symfony-users] Re: Symfony versus CakePHP ?

2007-03-08 Thread Ian P. Christian
surfivor wrote: > > I'd like to illicit some comments regarding symfony and cakephp. I > have done a good deal of Rails work and am working for a company that > is using PHP. It's my understanding that both symfony and cakephp are > similar to Rails and when I browsed through the symfony book at

[symfony-users] Re: Symfony versus CakePHP ?

2007-03-08 Thread Nicolas Perriault
surfivor a écrit : > Anyway, my research would not be complete without > posting a query in this newsgroup in regards to this. The only way to be sure: try both. ++ -- Nicolas Perriaulthttp://www.clever-age.com Clever Age - conseil en architecture technique GSM: +33 6 60 92 08 67 Tél: +3

[symfony-users] Symfony versus CakePHP ?

2007-03-08 Thread surfivor
I'd like to illicit some comments regarding symfony and cakephp. I have done a good deal of Rails work and am working for a company that is using PHP. It's my understanding that both symfony and cakephp are similar to Rails and when I browsed through the symfony book at the bookstore I found a s

[symfony-users] custom actions in admin generator

2007-03-08 Thread Sedin
how to make custom action in admin generator to do a post from form in generator.yml my actions are like this edit: actions: _save: name: Save _save_and_add: name: Save and add _save_and_do_something: name: save and do something as result