Re: model relations: Problems to run local functions over Model relations

2009-10-15 Thread Obelix
Thanks a lot! That's was the Problem. I had looked at it as well. But I have not seen the difference. Sorry. Regards Uwe On 15 Okt., 22:36, Miles J wrote: > You need to edit all your plugin models and change the associations to > use the correct plugin name. > > http://book.cakephp.org/view/1

Re: model relations: Problems to run local functions over Model relations

2009-10-15 Thread Obelix
! :) > > Also show the other model, if CmsFolder does not inherits from > AppModel! > Enjoy, >    John > > On Oct 15, 7:31 pm, Obelix wrote: > > > someone has another idea ? > > > On 14 Okt., 18:57, Obelix wrote: > > > > It's a model in a

Re: model relations: Problems to run local functions over Model relations

2009-10-15 Thread Obelix
someone has another idea ? On 14 Okt., 18:57, Obelix wrote: > It's a model in a plugin. The name from the plugin is CMS.  The class > is defined as follows > > class CmsFolder extends CmsAppModel { > > On 14 Okt., 18:30, brian wrote: > > > How does th

Re: model relations: Problems to run local functions over Model relations

2009-10-14 Thread Obelix
? > > On Wed, Oct 14, 2009 at 4:55 AM, Obelix wrote: > > > Yes i have seen it. But i dont't know what is the Problem with the > > name Standard. > > > I have generate the model and the Controller with 'Cake builder'. Cake > > has recognized the table an

Re: model relations: Problems to run local functions over Model relations

2009-10-14 Thread Obelix
eated > AppModel as Miles and Brian both already said. > > On Oct 14, 2:57 am, Obelix wrote: > > > Hello, > > i have test if Model available and it's look like good. The > > Programcode > > > - debug($this->CmsFile->CmsFolder); > > >

Re: model relations: Problems to run local functions over Model relations

2009-10-13 Thread Obelix
it uses AppModel. The latter does not > have a method getLocalTest(). > > On Tue, Oct 13, 2009 at 5:34 AM, Obelix wrote: > > > Thanks for your Answer. > > > I will test it in the evening. > > > So that does not happen i generate the plugin(cms), model and > >

Re: model relations: Problems to run local functions over Model relations

2009-10-13 Thread Obelix
gt; > Try printing out the parent object to see if the association is > loaded, if it is not your naming conventions are wrong. > > On Oct 12, 3:47 pm, Obelix wrote: > > > Hi, > > if i run a local function in a other model, cake display a Error > > Message: > >

model relations: Problems to run local functions over Model relations

2009-10-12 Thread Obelix
Hi, if i run a local function in a other model, cake display a Error Message: Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'getLocalTest' at line 1 [CORE/cake/libs/ model/datas

Select-List: Field select over Dialog and Table

2009-10-08 Thread Obelix
Hello, cakephp create in the form a select-list when connected to another table available. For tables with small data sets, it is certainly adequate. For large tables, the user wants select a field information on a table (eg select from index). The mode of operation may be such that it has an inp

Re: pagination: remember the page from where i come

2009-10-07 Thread Obelix
his->params['paging']['ModelName']['page']. > You could pass that to the 2nd controller, which would use it to get > you back where you came from. > > On Wed, Oct 7, 2009 at 7:29 AM, Obelix wrote: > > > Hallo, > > i have a Problem with pagi

pagination: remember the page from where i come

2009-10-07 Thread Obelix
Hallo, i have a Problem with pagination. In my Example i have 2 Controllers defined (CmsFolders / CmsContens). In each Controller i have a Action with the name index. This Action and the View display all Data from the Database. The normal work is, to jump from one View to the other View and back.