[symfony-users] Re: sfDoctrinePlugin/sf1.2

2009-05-19 Thread David Ashwood
It exists also in the 1.0 version Doctrine that comes with Symfony 1.2 :) Watch out though - It'll only work with the current record - with Doctrine 1.1 you can also optionally check child records. -Original Message- From: symfony-users@googlegroups.com

[symfony-users] Re: sfDoctrinePlugin/sf1.2

2009-05-19 Thread Johannes Heinen
hey:) Sorry for the confusion: I've found out that the doctrine plugin shipped with symfony 1.2 is based on the 1.0 release of doctrine - as you already said it - i had read this small, but important notice recently in the doctrine 1.1 release notes:

[symfony-users] Re: sfDoctrinePlugin/sf1.2

2009-05-19 Thread Johannes Heinen
Hey again, i've found this link: 2 lines to migrate the new doctrine 1.1 version into the sf 1.2 release. Perhaps somebody considers it helpful. http://www.symfony-project.org/blog/2009/01/12/call-the-expert-using-a-custom-version-of-doctrine So my previous comment seems to be obsolete (as

[symfony-users] Re: Propel and 1:1 relationships

2009-05-19 Thread Crafty_Shadow
I am going to perform what is know as a shameless bump. I believe that this problem requires discussion, as having a 1:1 relationship should be fairly common, and it is only natural to seek way optimize it's workings. On May 17, 7:14 pm, Crafty_Shadow vankat...@gmail.com wrote: Hey guys, I

[symfony-users] Re: sfDoctrinePlugin/sf1.2

2009-05-19 Thread David Ashwood
There was some chatter about a month ago about some issues running Doctrine 1.1 with sf 1.2 (I can't find the topic at the mo and I can remember what the issues were). In the url you posted there should be a link to a trac ticket - which you'll need to checkout for some additional changes you'll

[symfony-users] Re: Propel and 1:1 relationships

2009-05-19 Thread David Ashwood
Some links that talk about what you're after: http://forum.symfony-project.org/index.php/m/14692/ http://groups.google.com/group/symfony-users/browse_thread/thread/40df48dd79 cb274e http://trac.symfony-project.org/wiki/ApplyingCustomJoinsInDoSelect And a plugin written that appears to do what

[symfony-users] Re: Propel and 1:1 relationships

2009-05-19 Thread Crafty_Shadow
Thanks for the links, but those are of no help to me. Each and every single of the resources you have pointed me to are about propel 1.2. As I mentioned in my original post, I have written such behavior for propel 1.2, but the problem is that I'm currently dealing with 1.3, which is quite

[symfony-users] Re: Delay on getMessages

2009-05-19 Thread symfony.con.spir...@gmail.com
no ideas? ':-{ On 7 Mai, 13:27, symfony.con.spir...@gmail.com symfony.con.spir...@googlemail.com wrote: Hi all, for sending an action feedback to the user I use in my actions this:       sfContext::getInstance()-getUser()-setMessage('My feedback'), 'warning'); For output in my partial

[symfony-users] symfony admin generator, making certain input fields into text areas

2009-05-19 Thread harinath
Hi, I am trying to make 1 field into text area. here is my schema.yml snippet for the table i am creating admin pages. bosf_society_info: _attributes: { phpName: BosfSocietyInfo } society_id: { type: INTEGER, size: '11', primaryKey: true, autoIncrement: true, required: true }

[symfony-users] Re: symfony admin generator, making certain input fields into text areas

2009-05-19 Thread harinath
Symfony version 1.2.4 On Tue, May 19, 2009 at 5:10 PM, harinath harinathre...@gmail.com wrote: Hi, I am trying to make 1 field into text area. here is my schema.yml snippet for the table i am creating admin pages. bosf_society_info: _attributes: { phpName: BosfSocietyInfo }

[symfony-users] Re: Slug field won't work

2009-05-19 Thread Gábor Fási
The routing framework needs to be able to select according to the slug (something like select * from table where slug=asd, in criteria of course). You can check the generated query in the debug panel, it will be something like select * from table limit 1, no criteria at all, since there is no

[symfony-users] Re: sfDoctrinePlugin/sf1.2

2009-05-19 Thread Johannes Heinen
In this (my) special case it seems to work - but i did not even touch the most complex doctrine possibilities. In my test environment i installed doctrine 1.1 - by following the guide - from svn. But it seems also possible to define it as an dependency in package.xml to ship it with a plugin -

[symfony-users] Re: sfDoctrinePlugin/sf1.2

2009-05-19 Thread Johannes Heinen
:D ok, i have an idea: it *may* be that it works because i store doctrine 1.1 in ./lib/ventor/doctrine, but there is also the origin sfFilebasePlugin under ./lib/vendor/symfony/plugins/ sfDoctrinePlugin/... So it is probable that the generator uses the old doctrine 1.0 tasks and the runtime the

[symfony-users] Re: Delay on getMessages

2009-05-19 Thread symfony.con.spir...@gmail.com
Stupid misstake. I called the messages partial before setFormErrors. On 19 Mai, 12:13, symfony.con.spir...@gmail.com symfony.con.spir...@googlemail.com wrote: no ideas? ':-{ On 7 Mai, 13:27, symfony.con.spir...@gmail.com symfony.con.spir...@googlemail.com wrote: Hi all, for sending an

[symfony-users] Multiple database connections. A big problem!!!!

2009-05-19 Thread rafix
Hello everybody ... please can someone explain how to use Several database from my project, I tried several examples found in the network and nothing. We added two new databases, but When running the command: Propel: build-all, does not create objects and classes of new databases ... I started my

[symfony-users] sfValidatorChoice with default Value?!

2009-05-19 Thread jmaicher
Hey .. I was wondering if there is a option to give sfValidatorChoice a default value like -1 for please select. If the value is -1 the 'required' error should be rendered. I tried to use sfValidatorNumber with 'min' = 0 to raise the required error. It works, but that will raise also the

[symfony-users] i can't generate a module

2009-05-19 Thread Maras
i did try to automatically generate a module for a given model that provides basic manipulation features: php symfony propel:generate-module --with-show --non-verbose-templates frontend job JobeetJob and i got an error fatal error: Class JobeetJobForm not found in C:sfprojects\jobeet

[symfony-users] Re: i can't generate a module

2009-05-19 Thread Alexandru-Emil Lupu
HI! dunno exactly. maybe a symfony cc ? Alecs On Tue, May 19, 2009 at 7:34 PM, Maras maras_...@hotmail.com wrote: i did try to automatically generate a module for a given model that provides basic manipulation features: php symfony propel:generate-module --with-show --non-verbose-templates

[symfony-users] sf/sf_default does not exist

2009-05-19 Thread Joshua
I recently took over a symfony project that had already been built. I can't make sense of the setup they are using here. How do I get symfony to recognize the simple reports module? There is a backend application with module reports with no designation in the schema. This module includes nothing

[symfony-users] Re: sympal installation problem

2009-05-19 Thread quafzi
I just checked it out (r18435) and stepped through the installation process, but the problem is still the same as mentioned above: a sfError404Exception. On 18 Mai, 17:06, Jonathan Wage jonw...@gmail.com wrote: I know what the issue is. When you are in a certain site in sympal, the routes for

[symfony-users] Re: sympal installation problem

2009-05-19 Thread Jonathan Wage
Could you zip up your project and upload it somewhere for me to download? I can then see what is wrong. Thanks, Jon On Tue, May 19, 2009 at 1:11 PM, quafzi quert.zuio...@googlemail.comwrote: I just checked it out (r18435) and stepped through the installation process, but the problem is still

[symfony-users] Re: sfTask::logProgress()

2009-05-19 Thread isleshocky77
I was thinking that we could some how re-use the work done in the PEAR project here: http://pear.php.net/manual/en/package.console.console-progressbar.php -- Stephen Ostrow sost...@sowebdesigns.com On May 18, 8:49 pm, nick lal...@teamlalala.com wrote: On May 18, 3:12 pm, isleshocky77

[symfony-users] Doctrine problem trying to add null relation object

2009-05-19 Thread Tom Haskins-Vaughan
symfony 1.2 Hi, I have the following shopping cart class: Cart: actAs: [Timestampable] columns: buyer_id: { type: integer(4) } is_default: { type: boolean, default: false } relations: Buyer: class: sfGuardUser local: buyer_id

[symfony-users] Re: Doctrine problem trying to add null relation object

2009-05-19 Thread David Ashwood
Throw in a cart_id and mark the buyer_id as nullable. -Original Message- From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] On Behalf Of Tom Haskins-Vaughan Sent: 19 May 2009 22:01 To: symfony-users@googlegroups.com Subject: [symfony-users] Doctrine problem

[symfony-users] Re: Doctrine problem trying to add null relation object

2009-05-19 Thread David Ashwood
Ah Tom, You can do some nifty things with versionable with the cart to track how it changes as the user progresses throughout the buying process. You'll need some extra fields to make it worthwhile - order items, IP address, etc -Original Message- From: symfony-users@googlegroups.com

[symfony-users] Re: sf/sf_default does not exist

2009-05-19 Thread Eno
On Tue, 19 May 2009, Joshua wrote: I recently took over a symfony project that had already been built. I can't make sense of the setup they are using here. How do I get symfony to recognize the simple reports module? There is a backend application with module reports with no designation

[symfony-users] Re: sf/sf_default does not exist

2009-05-19 Thread David Ashwood
Symfony app:routes is also handy as it'll expand 'em for you. Routes are what hold everything together - but creating a module doesn't automagically add it to routing.yml - it just makes it available should you want to route to it. -Original Message- From:

[symfony-users] Re: i can't generate a module

2009-05-19 Thread Frank Stelzer
The form classes have to be build first. php symfony propel:build-model php symfony propel:build-forms php symfony cc php symfony propel:generate-module Am 19.05.2009 um 18:34 schrieb Maras: i did try to automatically generate a module for a given model that provides basic

[symfony-users] integration with Clicktale PHP module

2009-05-19 Thread pghoratiu
I'm trying to integrate Symfony 1.0.x with Clicktale PHP module. Clicktale is a webanalytics/user behaviour monitoring tool that lets you see the way the user is navigating the pages in a website. The PHP module that I'm trying to integrate is building up a cache of the generate pages, the notes

[symfony-users] Best Practice for sfDoctrineGuardPlugin - how to tie other tables with user-related content?

2009-05-19 Thread halla
Hello everybody, I'm using the sfDoctrineGuardPlugin for User-Management. As this plugin offers only very limited fields for storing personal user information (like the real name, email, address and so on), I'm using another table (sfGuardUserProfile) for those fields, which tied via an

[symfony-users] Re: i can't generate a module

2009-05-19 Thread Maras
Oh, thanks. Now it's ok. I didn't use php symfony cc command, but not it's ok On May 19, 11:18 pm, Frank Stelzer d...@bleedingmoon.de wrote: The form classes have to be build first. php symfony propel:build-model php symfony propel:build-forms php symfony cc php symfony

[symfony-users] Conditional object actions for the admin generator

2009-05-19 Thread Danny
Hello @ all! I'm new to symfony and I have a problem to get conditional object actions for the admin generator to work. I've found a snippet http://snippets.symfony-project.org/snippet/254 on the web but I didn't get this pice of code to work. I did exactly the same as described in the link

[symfony-users] Re: integration with Clicktale PHP module

2009-05-19 Thread David Ashwood
There's a broadly related plugin that might give you some ideas: http://www.symfony-project.org/plugins/sfSpyPlugin tbh there's easier simpler ways to do tracking by intelligent parsing the apache logs. -Original Message- From: symfony-users@googlegroups.com

[symfony-users] Re: i can't generate a module

2009-05-19 Thread David Ashwood
Checkout: http://www.symfony-project.org/plugins/sfDoctrineApplyPlugin It's a profile plugin that's extendable with instructions on how to hook it to sfDoctrineGuardPlugin -Original Message- From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] On Behalf Of Maras

[symfony-users] Re: sfValidatorChoice with default Value?!

2009-05-19 Thread David Ashwood
Take a look at: http://www.symfony-project.org/forms/1_2/en/B-Validators#chapter_b_sub_sfval idatorcallback -Original Message- From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] On Behalf Of jmaicher Sent: 19 May 2009 17:38 To: symfony users Cc:

[symfony-users] Re: i can't generate a module

2009-05-19 Thread David Ashwood
Oops - wrong reply :s -Original Message- From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] On Behalf Of David Ashwood Sent: 20 May 2009 00:34 To: symfony-users@googlegroups.com Subject: [symfony-users] Re: i can't generate a module Checkout:

[symfony-users] Re: Best Practice for sfDoctrineGuardPlugin - how to tie other tables with user-related content?

2009-05-19 Thread David Ashwood
Checkout: http://www.symfony-project.org/plugins/sfDoctrineApplyPlugin It's a profile plugin that's extendable with instructions on how to hook itto sfDoctrineGuardPlugin -Original Message- From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] On Behalf Of halla

[symfony-users] Re: Best Practice for sfDoctrineGuardPlugin - how to tie other tables with user-related content?

2009-05-19 Thread halla
Hi David, I'm afraid your answer won't help me. Checkout:http://www.symfony-project.org/plugins/sfDoctrineApplyPlugin It's a profile plugin that's extendable with instructions on how to hook itto sfDoctrineGuardPlugin This plugin demonstrate on how to extend a Guard-User with Profile

[symfony-users] Re: Best Practice for sfDoctrineGuardPlugin - how to tie other tables with user-related content?

2009-05-19 Thread David Ashwood
Use sfGuard as the root for all that need to reference the user. The profile is just one of them. Keep it simple, keep it dry :) -Original Message- From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] On Behalf Of halla Sent: 20 May 2009 01:41 To: symfony users

[symfony-users] Re: Best Practice for sfDoctrineGuardPlugin - how to tie other tables with user-related content?

2009-05-19 Thread halla
Use sfGuard as the root for all that need to reference the user. Ok, thats what I want to know - thank you :-)) If thats best practice, I'm satifsfied... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony

[symfony-users] Re: Multiple database connections. A big problem!!!!

2009-05-19 Thread rafix
Please, help me!!! On 19 mayo, 11:15, rafix rafi...@gmail.com wrote: Hello everybody ... please can someone explain how to use Several database from my project, I tried several examples found in the network and nothing. We added two new databases, but When running the command: Propel:

[symfony-users] Re: Doctrine problem trying to add null relation object

2009-05-19 Thread Tom Haskins-Vaughan
Thanks, David. I already have cart::id and buyer_id is nullable by default. Any other suggestions? David Ashwood wrote: Throw in a cart_id and mark the buyer_id as nullable. -Original Message- From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] On Behalf

[symfony-users] some question for form renderError()

2009-05-19 Thread ctrlming
in the template, I got some question. symfony renderError() use default style like ul class=error_list lisome errors/li /ul but now I want use another style like div class=errorsome errors/ div how can I do? thanks! --~--~-~--~~~---~--~~ You received this message