[symfony-users] RE: sfPropelActAsNestedSetBehaviorPlugin -- reload() required?

2007-05-14 Thread Peter Van Garderen
> > So in every time when you add a child to an existing obj you > must only reload the obj that you use in the function not all. > > Greetings > Gordon Thanks for the detailed explanation Gordon. I think I understand now and will update my code accordingly. I guess this means the Wiki & Rea

[symfony-users] Re: Symfony over ssl

2007-05-14 Thread Alexander Deruwe
On 14 May 2007, at 18:10, David Hodgson wrote: I made no specific configuration changes. My app just uses https on the prod server or http on my dev laptop. Also, I don't see anything specific wrong with the code you pasted... Sorry I can't be of more help! Alexander --~--~-~--

[symfony-users] Re: Getting generated URL in a model class

2007-05-14 Thread Nicolas CHARLOT
msykora a écrit : > Try this solution: > > $url=sfContext::getInstance()->getController()->genUrl($uri); > Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send

[symfony-users] Internationalisation and multi foreign keys

2007-05-14 Thread chezwam56
Hi all... Here is my problem : I have to manage members of a website. those members have a "member_type" (like customer, visitor,... for example) they have also some speciality (3 speciality by member) AND for type and specility, we want to use i18n to internationalyse it... here is a part of m

[symfony-users] Re: Getting generated URL in a model class

2007-05-14 Thread msykora
Try this solution: $url=sfContext::getInstance()->getController()->genUrl($uri); msykora On May 14, 6:46 pm, Nicolas CHARLOT <[EMAIL PROTECTED]> wrote: > Hi, > I've to generate an URL by an Internal URI. > In an action, we can do : > $this->getController::genUrl($uri); > But what about a model

[symfony-users] Getting generated URL in a model class

2007-05-14 Thread Nicolas CHARLOT
Hi, I've to generate an URL by an Internal URI. In an action, we can do : $this->getController::genUrl($uri); But what about a model class ? Thanks, -- Nico --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "s

[symfony-users] Coding a Tree with Propel

2007-05-14 Thread Benoit Masson
Hello, Hope you don't mind if I contact your directly. Considering the propel tree. I'm writting a recursive algorithm and I wish to write something like: $root = new TreeNode(); $root->makeRoot(); $aNode = recusriveFct(); $aNode->insertAsLastChildOf($root); $root->save(); function recusri

[symfony-users] Re: Symfony over ssl

2007-05-14 Thread David Hodgson
Thats very interesting, because I have exactly the same setup. Everything works fine. Except from login in and out of my application. To do this i have two modules /user/login and /user/logout These both redirect to either the application or the login screen. However they swap the https with h

[symfony-users] Re: API not working?

2007-05-14 Thread Jorge Laranjo
My solution was to use the Google Cache Em 2007/05/14, às 16:55, Jorge Laranjo escreveu: What's up with http://www.symfony-project.com/api/symfony/helper/ FormHelper.html ? I can't manage to access it but I can access other links on the API site. -- Atentamente, Jorge Laranjo [EMAIL PROTECT

[symfony-users] Re: Symfony over ssl

2007-05-14 Thread Alexander Deruwe
On 14 May 2007, at 17:11, David Hodgson wrote: > Ah this is perfect! Thanks a lot for you help > > Matthias Nothhaft wrote: >> David Hodgson wrote: >>> Hey there! >>> >>> I've scoured the documentation and forums but cant find a solution. >>> >>> My entire Symfony project is hosted on https. Howev

[symfony-users] API not working?

2007-05-14 Thread Jorge Laranjo
What's up with http://www.symfony-project.com/api/symfony/helper/ FormHelper.html ? I can't manage to access it but I can access other links on the API site. -- Atentamente, Jorge Laranjo [EMAIL PROTECTED] http://jorge.laranjo.eu smime.p7s Description: S/MIME cryptographic signature

[symfony-users] Re: Symfony over ssl

2007-05-14 Thread David Hodgson
Ah this is perfect! Thanks a lot for you help Matthias Nothhaft wrote: > David Hodgson wrote: >> Hey there! >> >> I've scoured the documentation and forums but cant find a solution. >> >> My entire Symfony project is hosted on https. However, symfony keeps >> redirecting to http. >> >> Is there

[symfony-users] propel-build-schema add an unexisting column.

2007-05-14 Thread Milooz
Hi, I have to translate an old existing web site to a Symfony project. It's my first project using Symfony framework. The database is already existing. I used propel-build-schema to generate the schema.yml file. I have a lot of different table but for now i focus on the Article table. My problem

[symfony-users] Re: Propel behaviour / Inheritance

2007-05-14 Thread Nicolas CHARLOT
notjosh a écrit : > Does it work, though? Last time I tried in symfony (admittedly well > over a year ago), it was inheriting the wrong classes and it was just > a mess that I couldn't untangle. I'm too scared to try it again, hehe. > I confirm it works well (Symfony 1.0.2). Unfortunately, the

[symfony-users] Re: Symfony over ssl

2007-05-14 Thread Matthias Nothhaft
David Hodgson wrote: > Hey there! > > I've scoured the documentation and forums but cant find a solution. > > My entire Symfony project is hosted on https. However, symfony keeps > redirecting to http. > > Is there any way i can persuade symfony to use https for all urls? > > I could write an

[symfony-users] Symfony over ssl

2007-05-14 Thread David Hodgson
Hey there! I've scoured the documentation and forums but cant find a solution. My entire Symfony project is hosted on https. However, symfony keeps redirecting to http. Is there any way i can persuade symfony to use https for all urls? I could write an apache RewriteCond but this seems a bit

[symfony-users] strange init-batch behavior

2007-05-14 Thread Matthias Nothhaft
Hi, I'm afraid there is something wrong with the init-batch task. Maybe a bug!? What parameters do I have to provide? Whatever I set I get an arror: The specified batch "xxx" does not exist." Can somebody help? Regards, Matthias --~--~-~--~~~---~--~~ You rec

[symfony-users] Re: Internationalisation: how to ?

2007-05-14 Thread OphyTe
OK, finally it seems to work. The problem was that I had 3 different specialities (from id 1 to 4) and only 2 of them were defined in the specialite_i18n table (with 2 records each). So now, I have the list of specialities when I try to edit or create a new member but I still have an id in the me

[symfony-users] Re: [doctrine] where clause in select does not work

2007-05-14 Thread Frank Stelzer
Here another soliloquy :) There was a bug in the pgsql driver implementation, which i had to fix on my own. For those of you, which use doctrine + pgsql: Have an eye at the Pgsql.php - Frank > > Hi everybody, > the subscription of the doctrine mailinglist currently does not work ( i > get no

[symfony-users] how to get the peer class name related to a particular table name ?

2007-05-14 Thread Hadrien Boyé
is there a simple way to get the name of the peer class related to a particular table name ? --~--~-~--~~~---~--~~ 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@go

[symfony-users] [doctrine] where clause in select does not work

2007-05-14 Thread Frank Stelzer
Hi everybody, the subscription of the doctrine mailinglist currently does not work ( i get no response subscription mail), so i try to find the answer here. Devs, who do not work with doctrine, please ignore this mail :) I am lost with simple querying data from a table. I read the docus, but noth

[symfony-users] issues with deleting 'bar' instances from 'foo' instance...

2007-05-14 Thread Hadrien Boyé
Hi, i have the following issue with the symfony model layer : in my propel schema description i have something like : then, i can do things like : (foo can contain many bar instances) $my_foo = new Foo(); $my_bar_1 = new Bar(); $my_bar_2 = new Bar(); ... $my_foo->addBar(

[symfony-users] AW: [symfony-users] RE: sfPropelActAsNestedSetBehaviorPlugin -- reload() required?

2007-05-14 Thread Franke Gordon
No. I say you must reload a obj when you add a new record to this. The problem is when you not reload the parent you get incorrect values (left and right) The insert use the left and right values from the existing obj to generate new values for the new record. > Make $root $root (obj: left 1,r