Ciao Paolo,
CakePHP speaks in English, not Italian.
Therefore you must teach CakePHP Italian singular/plural rules in your
app/config/inflections.php
an example for you:
----------------------------------------------------------------------------------------
$irregularPlural = array('gruppo'=>'gruppi',
'utente'=>'utenti',
'impianto'=>'impianti',
'provincia'=>'province',
'regione'=>'regioni',
'prodotto'=>'prodotti',
'contatto'=>'contatti',
'referenza'=>'referenze',
'sezione'=>'sezioni',
'cliente'=>'clienti');
----------------------------------------------------------------------------------------
In this way you can have a model class called "Cliente" and a
controller class called "Clienti" for a "clienti" DB table.
Dan
On Oct 26, 10:13 am, Paolo <[EMAIL PROTECTED]> wrote:
> Hi all!
> I have a problem with CAke. In every page it displays a "m" at the
> top, sometimes it add something more, such as null,null,null,'Comuni/
> nome');?>
>
> What can be the cause of this?
>
> Also, I have a model called Clienti, I use this name in model and
> controller, but it complains saying it can't find Clintus Model!!! If
> in the controller I change the name in Client for example it tells me
> it can't find Client, but when I add the i it changes it to
> Clientus!!!
>
> Any help?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---