THANKSSSSSS !
THANKSSSSSS !
you’r welcome
Hi,
I believe there is a bug in 0.9-git-wip version. I am new to php and yii so it may just be me but I was getting "Undefined variable: form" when I had installed yum, correctly after scrapping and starting again a couple of times, as I said new to php and yii.
So if I clicked on create user from main menu or from User Administration I would get the above error.
It seems the issue was that $form was not being passed to:
C:\route\to\project\protected\modules\profile\views\profile\_form.php(11)
I modified this module:
C:\xampp\htdocs\lagosrhs\protected\modules\user\views\user\_form.php
at line 76/77 as follows:
Old:
$this->renderPartial(Yum::module('profile')->profileFormView, array(
'profile' => $profile)); ?>
New:
$this->renderPartial(Yum::module('profile')->profileFormView, array(
'profile' => $profile, 'form'=>$form)); ?>
Now being a complete noobie I hope this is correct. Can anyone confirm?
Hopefully someone replies but I have a few questions. I already have a table setup for users with passwords generated using CPasswordHelper. My site also implements Yii’s RBAC setup and I already have a couple of roles, tasks and operations setup. Is it possible to start using YUM and have it reference my accounts table and the RBAC setup I have in place?
Also, how does one actually use themes with the extension? I tried extending some controllers here and there as suggested by the author but it looks like there’s too many hard coded paths for both layout and controller/action URLs. Logging in will also take me back to the module’s User controller because of an absolute return url. Do I actually have to go in and make changes to the source for this to work?
Problem with hybridauth.
I try MySite.ru?r=user/auth/login&hybridauth=Facebook and see EMPTY page. What i missed?
More on github:
/thyseus/yii-user-management/issues/201
Hi, when I login with a user, it redirects me to the main page, but logged. How can I change it to redirects to the user profile page? Thank you.