KJedi
(Konstantin Mirin)
1
I've created test-drive application as described in the guide. Then I wanted to modify some things, jut of testing.
One of them is creating new labels for the "create new user record" form.
I uncommended attributeLabels() function and put there:
public function attributeLabels()
{
return array(
'username'=>'Login',
'password'=>'Password',
'email'=>'Email',
);
}
But the form still displays “Username” What’s wrong?
qiang
(Qiang Xue)
2
I couldn't reproduce the issue. Which file are you changing? Note that you should change User.php rather than LoginForm.php.
KJedi
(Konstantin Mirin)
3
Um… When I tested once more - everything is fine.
Could this be caching issue? If so, where to enable/disable/setup this?
qiang
(Qiang Xue)
4
No, there's no cache for this.
jonah
(Poppitypop)
5
it could be browser side caching
KJedi
(Konstantin Mirin)
6
maybe. Anyway, it’s OK now
Thanks.