I know the solution , if you have ctp file in element folder named
paging.ctp ,please add a line
code (options(array('url'=>$this->params['pass']));
?> ) in this file , before your code !
2009/11/16 Asmud
> This is the solution I know, I believe there is[are] other sulution
> [s]I just c
I know ,first cake bake the users table ,generate the user.php ,open the
files change the
var $validate = array(
'username' => array('notempty')
);
like
var $validate = array(
'username' => array('email')
);
just ok!
2009/11/13 David Roda
> To accomplish this yo
2009/11/13 Brenda
> USA East Coast ... Washington DC!
>
> ...Brenda
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to cake-...@googlegroups.com.
> To unsubscribe from this group, send email to
> cake-php+
2009/11/12 Dave
> I am using auth so I like the idea of comparing the values that way.
>
> Not quite sure I follow the logic in the additional field for "forgot
> password". If they forgot their password they would not be logged in.
> My forgot function allows them to enter their email and if fou
Hi All
I want add Auth in demo , I get a problem ,
whether chagne this code
" Configure::write('Acl.classname', 'DbAcl');
Configure::write('Acl.database', 'default');
//look like this :
//Configure::write('Acl.classname', 'IniAcl'); "
in "app/config/core.php" ?
when get a problem with multi-value ,I think this code can help you ,this
is me code ,
Controllers:
function add() {
if (!empty($this->data)) {
$this->Wine->create();
//saveAll(), NOT save()
if ($this->Wine->saveAll($this->data)) {
I am sure using the Auth Compoment and ACL
Component ! I think I do All things about Auth and Acl ,
but not take effect
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send
Hi,
I'm trying to use ACL in my application, I have pretty much followed
this tutorial http://book.cakephp.org/view/641/Simple-Acl-controlled-Application
to get my application up and running, however, when I visit any of the
pages that are supposed to be protected, I get this error:
Warning (51
when I do Auth with cake , I happened a problem
Warning (512): AclNode::node() - Couldn't find Aro node identified by
"Array
(
[Aro0.model] => Group
[Aro0.foreign_key] => 1
)
" [CORE\cake\libs\model\db_acl.php, line 191]
--~--~-~--~~~---~--~~
You received