Re: Use another table model in model - CakePHP 3

2015-08-13 Thread Srikanth Goud
Hi, CakePHP 3 works for TableRegistry. add in your Controller namespace use Cake\ORM\TableRegistry; and call users table then... $this->Users = TableRegistry::get('Users'); $this->Users->addView(); may be help this one... thanks On Tuesday, August 11, 2015 at 4:28:09 PM UTC+5:30, Ji

How to Unique URL like myhost.com/username,myhost.com/pages,myhost.com/groups

2015-07-31 Thread Srikanth Goud
Hi Team/Friends, i am new to cakePHP, i want implement unique URL like facebook username,pages,groups. like mydomain.com/demo (username) mydomain.com/testpage (pages) mydomain.com/cakephp (group) i have created three database tables(Users,Pages,Groups) and three controllers with res