This was a bug that is resolved in the latest version on github. See
the ticket for more information.
On Oct 28, 10:22 am, handsofaten wrote:
> I went ahead and submitted a ticket for this, I guess I'll stop using
> FormHelper for these fields until I get some resolution on this issu
27 am, handsofaten wrote:
> In Cake 1.3, it would generate fields like this:
>
> id="Author0Name">
>
> But in Cake 2.0, I'm getting:
>
> id="AuthorAuthor">
>
> Which doesn't handle multiple fields properly. Anyone know what might
>
I'm migrating to CakePHP 2.0, and run into this problem with the
FormHelper. I have a Book model and a related Author model:
var $uses = array('Book', 'Author');
I'm creating an autocomplete field for Author in the Book edit form,
which will look for existing author names. In the beforeSave()
fun
Hi - I'm working with CakePHP 2.0 beta, and having some trouble with
the expected FormHelper functionality.
I have in my view something like this:
$i = 0;
foreach($terms as $term){
echo $this->Form->input('Term.'.$i.'.id');
$i++
}
>From which I expect something like this to be generated:
.
Continuing to work through migrating to Cake2, I'm hitting this error.
The code would be something like:
$this->data['User']['password'] = AuthComponent::password($this-
>data['User']['password']);
The error:
Indirect modification of overloaded property UsersController::$data
has no effect
In a
Thanks, this helps a lot.
On Jul 30, 6:03 pm, José Lorenzo wrote:
> The most recent update to the book broke that link, it is
> nowhttps://github.com/cakephp/docs/blob/master/en/core-libraries/compone...
>
> I will update the link in the lighthouse, thanks for reporting!
--
Our newest site for
Hi-
I've been starting to move a 1.3 site into 2.0 beta, and run into some
migration issues I'm hoping folks here can help with.
AuthComponent has been changed quite a bit, and as far as I can tell
there is absolutely no documentation of this. I saw a link from Mark
Story on this list, but it lead
This works for views, but is it possible to pass variables to layouts?
I don't see anything about this in the docs, other than the standard
$title_for_layout and $content_for_layout.
Thanks.
On Apr 16, 1:42 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote:
> in the controller
> $testArr