/**
* To configure CakePHP *not* to use mod_rewrite and to
* use CakePHP pretty URLs, remove these .htaccess
* files:
*
* /.htaccess
* /app/.htaccess
* /app/webroot/.htaccess
*
* And uncomment the App.baseUrl below:
*/
Configure::write('App.baseUrl', env('SCRIPT_NAME'));
And use:
'message' => 'Campo email eh requerido'
)
);
}
## usuarios_controller.php ##
class UsuariosController extends AppController{
var $name = "Usuarios";
var $scaffold;
}
What's wrong?
It's adding with empty email.. :(
Thanks
-
On Controller and Component use:
var $components = array ('Session');
$this->Session->check(...);
On View and Element, use:
in Controller: var $helpers = array ('session');
in View: $session->check(...);
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their Cak
I've been struggling with the well-trodden issue of wanting stand-
alone elements to use requestAction() to isolate their data needs from
their hosting controllers, and the good vs evil of that approach.
I'm less concerned with the performance aspects than the architectural
aspects.
The Cake manu
Thanks again for additional pointers.
I got many interesting information how to create a row level based
access. We are going to make some tests to see which is the best
solution in our case.
rOger
On Sep 25, 10:23 pm, brian wrote:
> On Fri, Sep 25, 2009 at 2:25 AM, rOger wr
CL concept...
It's always the same problem with every framework; simple tasks are
easy; real world scenarios are big challenges. It would be interesting
to know how the developers of cakePHP/ACL-system would accomplish this
task...
regards,
rOger
On 24 Sep., 16:09, Rick wrote:
> I know that g
ils (means should be editable) but other users should have
no access. That means that the ACL system has to decide according to a
field value of a record if the user has access to or not.
I hope it is clear what I need and hope that someone can spend some
light on this issue.
Than
Hi Masters,
Please may i know where i could learn the basics building a website in
Cake i have several tutorials but not much enough i am trying to make
a small website which have Admin panel and some pages user side is
cake have facility to make Admin control bundled with it or we need
to make
If you use a different username/
> password for each database you'll have no problems.
>
>
> >
>
Thanks, Grant.
I have been searching but didn't find a matching post.
I will let the database guys know I need a separate user :-)
Roger
--~--~-~--~~---
.
The Cake debug output shows:
1142: SELECT command denied to user 'a'@'ip-address' for table 'name'
Anybody an idea what I'm missing or how to work around this?
Thanks in advance for your help!
Roger
--~--~-~--~~~---~--~~
Yo
Hi all,
I have been trying to update from version 1.1.13.4450 to 1.1.14.4797
and ran into troubles. Looks like my application specific
inflector.php is not included because with the newer version a model
with a uninflected name can not be found.
Any ideas?
Thanks,
Roger
In the /app/tests/app/
cases folder or in one
of the subfolders?
Are there any samples how to write test cases / test groups for the
testing framework?
The only thing I found was the dispatcher.test.php.
Thanks in advance for your help,
Roger
--~--~-~--~~~---~--~--
12 matches
Mail list logo