Re: i18n 1.2

2007-01-30 Thread Michael Grunewalder
Thanks a lot :-) Larry E. Masters aka PhpNut wrote: > > I found one way, is that the proper way? > > > The correct way would be: > > $language = 'deu'; > Configure::write('Config.language', $language); > > > > -- > /** > * @author Larry E. Masters > * @var string $userName > * @param string

Re: i18n 1.2

2007-01-30 Thread Michael Grunewalder
I found one way, is that the proper way? In my app_controller.php i have uses('L10n') Then I use the following code: function AppController() { parent::Controller(); $this->L10n=new L10n(); $this->L10n->get('deu')

Re: i18n 1.2

2007-01-30 Thread Michael Grunewalder
That was a good start. Thanks. How do I select a language so that the user can change the language while browsing.? thanks in advance :-) Kaste wrote: >> How does working this i18n feature in 1.2? I like to make a multilangual >> site with it... >> >> > > first steps should be easy. > > > in

Re: Unoffical API / Beta RFC

2007-01-18 Thread Michael Grunewalder
Christian Winther [cwi.dk] wrote: Greetings list As we all know CakePHP has a great API website ( http://api.cakephp.org ) However, it lacks some features / goodies that can raise it to 'the next level'. So after some reading and learning - I have come up with a draft on how it COULD look /

Re: Re: help me

2006-07-03 Thread Michael Grunewalder
The only problems I can see are - the horse didn't brush it's teeth - the duck is drunk - I don't speak French But other than that all looks fine. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To

Re: The right way to set a default value for a model

2006-06-04 Thread Michael Grunewalder
I think you can setup the default values like this: $this->data[model][field]=value e.g: $this->data['members']['membership_id']=5 On 6/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I'm just setting up a new install and have some default values. I'm > using > > $this->set('membership_i

enter data with "has many" relationship

2006-05-26 Thread Michael Grunewalder
Hi all, I've been playing around with cakephp for about a week now and must say it make coding so much more fun :-) My problem is this: I have 2 tables. 1)Invoices 2)Details Invoices contains the customer details, Details contains the the individual items of an invoice. let's say the fields in