Page 1 of 1

Register form location

PostPosted: 09 Jul 2014, 13:53
by Vojtechjan
Hi!
Quick question for dev's
where in code is located the register box?
I need to add a field with requried* checkbox "I agree with terms and conditions"
I found it in \protected\views\site yes but there is antoher box in the page where I create listing when not logged in and it do not share the pattern with register.php

Where to look for it?

Kisses and hugs
Wojtek

Re: Register form location

PostPosted: 09 Jul 2014, 13:57
by Xpycm

Re: Register form location

PostPosted: 09 Jul 2014, 14:03
by Vojtechjan
Thanks ;) Xpycm *OK*
I have idea that it would be great to include this feature in new versions of ORE maybe as optional feature but still It would be useful cause in many countries you have to actually accept terms and conditions by checkinng checkbox. That would be nice to have ;)

Keep making ORE better and better.

Regards

Re: Register form location

PostPosted: 09 Jul 2014, 14:05
by Xpycm
P.S: public function rules() in model/Users.php file

For help: http://www.yiiframework.com/wiki/56/