[symfony-users] Re: Best way to get data from DB

2007-11-28 Thread Bernhard Schussek
2007/11/27, Simon Roby <[EMAIL PROTECTED]>: > Out of curiosity, how does Doctrine solve this problem? If I understand you correctly: In Doctrine you can exactly specify which columns you want to fetch in a query. Just like in SQL. Regards --~--~-~--~~~---~--~~ Y

[symfony-users] Re: Best way to get data from DB

2007-11-28 Thread Zoltán Németh
2007. 11. 28, szerda keltez�ssel 01.18-kor Cacho ezt �rta: > On 26 nov, 12:21, Jon Busby <[EMAIL PROTECTED]> wrote: > > Are you only attempting to retrieve on picture per product or all the > > pictures? > > > > Propel should have automatically generated the $project->getPictures(); > > method,

[symfony-users] Re: Best way to get data from DB

2007-11-28 Thread Cacho
On 26 nov, 12:21, Jon Busby <[EMAIL PROTECTED]> wrote: > Are you only attempting to retrieve on picture per product or all the > pictures? > > Propel should have automatically generated the $project->getPictures(); > method, which will retrieve an array of picture objects based on the project >

[symfony-users] Re: Best way to get data from DB

2007-11-28 Thread Gunnar Lium
On 28/11/2007, Zoltán Németh <[EMAIL PROTECTED]> wrote: > > > 2007. 11. 28, szerda keltez�ssel 01.18-kor Cacho ezt �rta: > > On 26 nov, 12:21, Jon Busby <[EMAIL PROTECTED]> wrote: > > > Are you only attempting to retrieve on picture per product or all the > pictures? > > > > > > Propel should have

[symfony-users] Re: Best way to get data from DB

2007-11-28 Thread Zoltán Németh
2007. 11. 28, szerda keltezéssel 10.52-kor Gunnar Lium ezt írta: > > On 28/11/2007, Zoltán Németh <[EMAIL PROTECTED]> wrote: > > 2007. 11. 28, szerda keltez�ssel 01.18-kor Cacho ezt �rta: > > On 26 nov, 12:21, Jon Busby <[EMAIL PROTECTED]> wrote: > > > Are you onl

[symfony-users] sfGuard plugin - redirect to login page doesn't work

2007-11-28 Thread StefanM
Hello, After a successful install of sfGuard plugin (and after setting all up, as in documentation, wiki etc.), I still cannot get to the login page. Tried every solution that popped out from other users, with no luck. The only page I see is the one with Credentials Required This page is in a r

[symfony-users] Re: Best way to get data from DB

2007-11-28 Thread Cacho
On 28 nov, 10:31, Zoltán Németh <[EMAIL PROTECTED]> wrote: > > if pictures has a column called product_id and it is a foreign key > referencing the products table, then the product object should have a > method called getPictures() > > propel generates it > > if you don't have any, then something

[symfony-users] Using an other theme

2007-11-28 Thread anakreon
In an admin generated module, I want to use an other theme then the default. A new theme (which is a copy of the default) is at /usr/share/php/data/symfony/generator/sfPropelAdmin/myTheme myTheme differes only in the file _edit_header.php, which is empty for the default theme. I invoked the sym

[symfony-users] Re: Help with Ajax and select tags

2007-11-28 Thread shannon.patterson
i'm trying to do the exact same thing and am experiencing the same issues as you are. On Nov 26, 10:06 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi all, > my problem is occurring with creating a dropdown box that when > selected, AJAX will place another dropdown box below it filled wit

[symfony-users] sfTestBrowser: no HTTP_REFERER?

2007-11-28 Thread klemens_u
Hello! While using functional tests with sfTestBrowser, I noticed that the testbrowser does not provide the HTTP_REFERER via $request- >getReferer(). Is it possible to enable it? I'm using Symfony 1.08. Thank you and have a nice day, Klemens --~--~-~--~~~---~--~

[symfony-users] Re: Using an other theme

2007-11-28 Thread Bernhard Schussek
Could you post your generator.yml? --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email

[symfony-users] Re: Symfoclipse?

2007-11-28 Thread Simon Roby
I was curious about that, so I asked him by email yesterday. Still waiting for an answer. I'll let the list know the answer if/when I get it. On 11/27/07, Ant Cunningham <[EMAIL PROTECTED]> wrote: > > Well the question is how much is he aiming for for a commercial license? I > havent tried it out

[symfony-users] getParameter() and escaping_strategy in Symfony view call_user_func() error

2007-11-28 Thread Oncle Tom
Hello there. It seems I have a problem very similar to : * http://groups.google.com/group/symfony-users/browse_thread/thread/d9ad264cb18324ac/ae9d376d77e7dde3?hl=en * http://www.symfony-project.org/forum/index.php/t/9664/ but I did not find (or well searched enough) any answer. I explain myse

[symfony-users] Re: Help with Ajax and select tags

2007-11-28 Thread Håkan Eriksson
Hi, there seem to be nothing wrong with that code apart from the "'id=' + this.options[this.selectedindex].value". change that to "'id=' + this.options[this.selectedIndex].value" or "'id=' + this.value" and all should be well... /Zosimov shannon.patterson skrev: > i'm trying to do the exact same

[symfony-users] Re: getParameter() and escaping_strategy in Symfony view call_user_func() error

2007-11-28 Thread Nicolas Perriault
On 11/28/07, Oncle Tom <[EMAIL PROTECTED]> wrote: > So I wonder why the second parameter of get() is transformed in a > callback when escaping_strategy is enabled ? Is it normal or not ? How > can I have 1) working with or without escape strategy enabled ? Try $sf_params->getRawValue()->get('publ

[symfony-users] Re: getParameter() and escaping_strategy in Symfony view call_user_func() error

2007-11-28 Thread Oncle Tom
Wow that works fine. I tried with getRaw(), not getRawValue() ... Thanks a lot ;-) On Nov 28, 3:53 pm, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote: > On 11/28/07, Oncle Tom <[EMAIL PROTECTED]> wrote: > > > So I wonder why the second parameter of get() is transformed in a > > callback when esc

[symfony-users] Re: Symfoclipse?

2007-11-28 Thread Fabian Lange
Really? No offense meant, this plugin could develop. Yaml editors are already some out: https://sourceforge.net/projects/yamlak/ (lgpl. As it is a tool you can do with the developed software what you want) And CLI integration for some commands cann be very easily done with external command launc

[symfony-users] Re: Symfoclipse?

2007-11-28 Thread prodigitalson
yeah i sent im a message as well and havent gotten a reply either; On Wed Nov 28 06:39 , 'Simon Roby' <[EMAIL PROTECTED]> sent: I was curious about that, so I asked him by email yesterday. Still waiting for an answer. I'll let the list know the answer if/when I get it. On 11/27/07

[symfony-users] Re: Symfoclipse?

2007-11-28 Thread Nicolas Perriault
On 11/28/07, Fabian Lange <[EMAIL PROTECTED]> wrote: > https://sourceforge.net/projects/yamlak/ https://sourceforge.net/project/showfiles.php?group_id=206669 :) > I don't see a real value in that. Otherwise I would have developed this as a > plugin (could be done for 20 usd :-)) What we miss he

[symfony-users] Re: Symfoclipse?

2007-11-28 Thread Fabian Lange
Hi, okay, bad luck :-) If you consider real a value in having a yaml editor in eclipse I volunteer to start working on one. Lets see what Christmas time brings. Shouldn’t be too complicated. .: Fabian -Original Message- From: [EMAIL PROTECTED] om [mailto:[EMAIL PROTECTED] groups.com] O

[symfony-users] Re: Symfoclipse?

2007-11-28 Thread Alistair Stead
I personally have installed RAD Rails that has a really good YAML editor within it... Once installed you can work in you preferred PHP perspective but still take advantage of the YAML editor On 28/11/2007, Fabian Lange <[EMAIL PROTECTED]> wrote: > > > Hi, > okay, bad luck :-) > > If you consider r

[symfony-users] Re: Best way to get data from DB

2007-11-28 Thread Simon Roby
On 11/27/07, notjosh <[EMAIL PROTECTED]> wrote: > Hehe, Propel 1.3 is roughly as fast as Doctrine (for basic tasks, > anyway. Lazy/eager loading, complex joins, etc are ignored in this). > But then again, both are slower than mysql_query(), right? Let's > abandon ORMs altogether...? Thought not.

[symfony-users] Re: Symfoclipse?

2007-11-28 Thread Ant Cunningham
On Wed November 28 2007 11:18:50 am Fabian Lange wrote: > If you consider real a value in having a yaml editor in eclipse I volunteer > to start working on one. Lets see what Christmas time brings. > Shouldn’t be too complicated. > That would be awesome. In going along with that i installed Sym

[symfony-users] Re: Symfoclipse?

2007-11-28 Thread Ant Cunningham
On Wed November 28 2007 11:48:50 am Alistair Stead wrote: > I personally have installed RAD Rails that has a really good YAML editor > within it... > Once installed you can work in you preferred PHP perspective but still take > advantage of the YAML editor > Well the Ruby editor wasnt too bad (

[symfony-users] Re: Using an other theme

2007-11-28 Thread anakreon
This is the generator config generator: class: sfPropelAdminGenerator param: model_class: Catchinf theme:site fields: catch_name: {name: Catchment Name} list: title:Available catchment areas

[symfony-users] Re: Using an other theme

2007-11-28 Thread Simon Roby
Why is theme set to "site" and not "myTheme"? On 11/28/07, anakreon <[EMAIL PROTECTED]> wrote: > > This is the generator config > > generator: > class: sfPropelAdminGenerator > param: > model_class: Catchinf > theme:site > > field

[symfony-users] Re: Using an other theme

2007-11-28 Thread anakreon
On Nov 28, 7:24 pm, "Simon Roby" <[EMAIL PROTECTED]> wrote: > Why is theme set to "site" and not "myTheme"? That is the name of the theme. I sad myTheme on order to make clear that it was my own theme and not one provided by symphony --~--~-~--~~~---~--~~ You rece

[symfony-users] Re: sfGuard + registration

2007-11-28 Thread [EMAIL PROTECTED]
On Nov 1, 4:11 pm, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote: > On 11/1/07, Ámon Tamás <[EMAIL PROTECTED]> wrote: > > > What is the easy way to make a registration form with e-mail adress > > validation forsfGuardplugin? > > The quickest way is to read the > documentation:http://trac.symfon

[symfony-users] To camelize or not to camelize

2007-11-28 Thread Carl Vondrick
When writing yaml files, do you prefer the fields to be automatically camelized? For instance, when writing a schema.yml, I expect: created_at ---> createdAt sfLucene currently does not do this translation because it caused a bunch of confusion by early users. It is my sense that automatic "c

[symfony-users] Re: sfGuard + registration

2007-11-28 Thread Ámon Tamás
[EMAIL PROTECTED] írta: > ERROR!! Attempt to set foreign key to nonexistent table, > sf_guard_user! > [phingcall] /usr/share/php/symfony/vendor/propel-generator/build- > propel.xml:470:1: ERROR!! Attempt to set foreign key to nonexistent > table, sf_guard_user! > > any ideas? Did you install sfG

[symfony-users] Re: Symfoclipse?

2007-11-28 Thread Simon Roby
Got an answer, he asks for 20 euros per license. On 11/28/07, Simon Roby <[EMAIL PROTECTED]> wrote: > I was curious about that, so I asked him by email yesterday. Still > waiting for an answer. I'll let the list know the answer if/when I get > it. > > On 11/27/07, Ant Cunningham <[EMAIL PROTECTED

[symfony-users] RewriteRule .* - [L]

2007-11-28 Thread Tom Haskins-Vaughan
Hi Guys, I had a problem with no_script_name when moving to my shared host. I solved it from a suggestion on a forum by removing the following line from the .htaccess file: RewriteRule .* - [L] But the guy who suggested it didn't know if it would cause any damage by removing it. So I was wond

[symfony-users] Re: sfGuard plugin - redirect to login page doesn't work

2007-11-28 Thread lionslair
what does the logs show? On Nov 28, 7:18 pm, StefanM <[EMAIL PROTECTED]> wrote: > Hello, > > After a successful install of sfGuard plugin (and after setting all > up, as in documentation, wiki etc.), I still cannot get to the login > page. Tried every solution that popped out from other users, wi

[symfony-users] Re: RewriteRule .* - [L]

2007-11-28 Thread Ian P. Christian
Tom Haskins-Vaughan wrote: > a. what this line does (RewriteRule .* - [L])? > 'last|L' (last rule) Stop the rewriting process here and don't apply any more rewriting rules. This corresponds to the Perl last command or the break command from the C language. Use this flag to prevent the curren

[symfony-users] Re: RewriteRule .* - [L]

2007-11-28 Thread Tom Haskins-Vaughan
Thanks for that, Ian. I think maybe that explains why it works now. If the rewrte stops at [L] the it would never get to the later rules. Is that correct? And Is it going to cause any problems? Tom .htaccess: Options +FollowSymLinks +ExecCGI RewriteEngine On # uncomment the following