Re: Pagination with containable: Contain has to effect

2008-11-25 Thread Sebastian Veggiani
May be he's using an older version of 1.2. ¿or not? On Nov 24, 9:31 am, Mariano Iglesias [EMAIL PROTECTED] wrote: [2] What do you mean you had the file in the wrong place? Containable is part of the core. Liebermann, Anja Carolin wrote: [2] I have contaninable for all my models But I

Re: Pagination with containable: Contain has to effect

2008-11-25 Thread Sebastian Veggiani
May be he's using an older version of 1.2. ¿or not? On Nov 24, 9:31 am, Mariano Iglesias [EMAIL PROTECTED] wrote: [2] What do you mean you had the file in the wrong place? Containable is part of the core. Liebermann, Anja Carolin wrote: [2] I have contaninable for all my models But I

Re: Pagination with containable: Contain has to effect

2008-11-25 Thread Sebastian Veggiani
May be he's using an older version of 1.2. ¿or not? On Nov 24, 9:31 am, Mariano Iglesias [EMAIL PROTECTED] wrote: [2] What do you mean you had the file in the wrong place? Containable is part of the core. Liebermann, Anja Carolin wrote: [2] I have contaninable for all my models But I

Re: Pagination with containable: Contain has to effect

2008-11-25 Thread Sebastian Veggiani
Anja, I'm sorry for the mistake. I remember that in first 1.2 versions Containable was a behaviour you had to include manually. Greetings PS: sorry for my poor english :) On Nov 25, 9:23 am, Sebastian Veggiani [EMAIL PROTECTED] wrote: May be he's using an older version of 1.2

MySQL Views support in Cake 1.2

2008-04-24 Thread Sebastian Veggiani
Hi, somebody could clarify what is the level of support of Cake 1.2 for woriking with MySQL Views? For example, I've a chain o associations of three or more levels. If I want to filter the results by a field in the 3rd level or beyond there is no easy way to do it, unless I use a Custom SQL

Re: Session ID

2008-04-22 Thread Sebastian Veggiani
The methodology to work with sessions is: // for reading $myVar = $this-Session-read('varName'); // for writing $this-Session-write('varName', $varValue) // for debugging the session array $mySessionVars = $this-Session-read(); debug( $mySessionVars ); I hope this helps. On 22 abr, 14:15, b

Re: name the locale directory

2008-04-17 Thread Sebastian Veggiani
Johnson, If you look here: http://api.cakephp.org/1.2/l10n_8php-source.html#l00180 You'll find that the code you are trying to use is set with - instead of _. I think the codes must be used as defined in this array. Here you have some additional info:

Re: Help: is it feasible to use multiple .po files?

2008-04-16 Thread Sebastian Veggiani
Someone has been able to configure Poedit to work with the __d( function? When Poedit search for entries to translate it returns the first parameter which is the 'domain' or name of the .po file. I've tried many ways of configure de gettext parameters without any luck. Thanks, On 3 abr,

Re: Weird problem with validation, bug?

2008-04-08 Thread Sebastian Veggiani
Does anyone have any idea? On 7 abr, 20:25, elHobbit [EMAIL PROTECTED] wrote: Thanks b logica. But, I really need to use the validation rules in the User model. I'll try to overwrite the validation rules for the fields I'm not using in this view. Anyway, I think the problem isn't that,