Re: trying to make othAuth login process work

2008-09-19 Thread gmwebs

I assume you are using v1.2?

You need to replace $html->input and $html->checkbox with the their
$form equivalents. i.e. $form->input, $form->text, $form->checkbox,
etc.

More info at the API docs - http://api.cakephp.org/1.2/class_form_helper.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



trying to make othAuth login process work

2008-09-18 Thread gabriel

Hi, I have carefully followed the othAuth doc
http://bakery.cakephp.org/articles/view/othauth-0-5-documentation,
trying to get it to work, bur when I go to 
http://127.0.0.1/testsite/users/login,

I get the following errors..

Username
Warning (512): Method HtmlHelper::input does not exist [CORE\cake\libs
\view\helper.php, line
(512): Method HtmlHelper::tagErrorMsg does
Warning (512): Method HtmlHelper::checkbox does not exist [CORE\cake
\libs\view\helper.php, line 148]

Any ideas..

here is the login.ctp view..

Log In:


Username
 input('User/username', array('id' =>
'user_username', 'size' => '50')) ?>
tagErrorMsg('User/username', 'Please enter your
username') ?>


Password
 input('User/passwd', array('id' =>
'user_passwd', 'size' => '32', 'type'=>"password")) ?>
tagErrorMsg('User/passwd', 'Please enter your
password!') ?>


 checkbox("User/cookie");?>



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---