Re: hasAndBelongsToMany issue

2008-11-17 Thread omar.laverde
Hi, to everyone i solve out my problem, if any one has a similar problem the way to solve it´s to add in the model de variable: var $displayField, and write de fild name that you want to display like this; var $displayField = 'login'; Hope it help´s On 16 nov, 19:56, omar.laverde [EMAIL

hasAndBelongsToMany issue

2008-11-16 Thread omar.laverde
Hi to every one, i am using the hasAndBelongsToMany (cake 1.2) using this tables: profiles, roles, profiles_roles. the way how it works it`s that the profile has many roles and the profiles_roles is the middle table, the problem that i have is that in the edit.ctp is displaying the id of the

Re: ajax form submission - nothing happens

2008-11-08 Thread omar.laverde
Hi Carlos, i am fallowing that book, i find one error, a missing right parentesis in the comments_controller.php but i can´t find the other two errors you mention, could you tell me please where are they. Thank You On 2 nov, 14:45, carlos ferrandis [EMAIL PROTECTED] wrote: Hi. Are you

Re: ajax form submission - nothing happens

2008-11-08 Thread omar.laverde
'));? good luck Carlos On 8 nov, 14:49, omar.laverde [EMAIL PROTECTED] wrote: Hi Carlos, i am fallowing that book, i find one error, a missing right parentesis in the comments_controller.php but i can´t find the other two errors you mention, could you tell me please where

Re: ajax form submission - nothing happens

2008-11-08 Thread omar.laverde
Hi I fiugured out what my error was, i download the ajax javascript file and i didn´t re named when i download it the name was prototype-1.6.0.3.js so i change it to prototype.js, and then all just work fine. Thanks On 8 nov, 11:29, omar.laverde [EMAIL PROTECTED] wrote: Thank you so much