Re: Ordering Error Message

2014-03-22 Thread Reuben
The order of elements is decided from the order you place them in your .ctp, so CakePHP won't be able to guess this when they are generated in the array. However, if you are grouping all the errors together, you can use FormHelper::error() [http://book.cakephp.org/2.0/en/core-libraries/helpers

Ordering Error Message

2014-03-22 Thread Advantage+
Is there a way to set the order of error messages so they appear in the order as the form? Example in the view I have: Element('errors/errors', array('errors' => $errors)); ?> Element: $error) : ?> But the form might have fields like firstnam

find All for multiple database

2014-03-22 Thread MesrineDuCode
Hi I would like to know how to make a select and update on multiple database ? i have db1.items and db2.logs i wish to make a select for items -id -name -logs_id logs -id -name -content -created How to make Model/View/Controller for select items.id, items.name, logs.content, logs.id, logs.cre