Re: Multiple Businesses in one database

2011-12-31 Thread Geoff Douglas
I do a very similar thing to allow users multiple profiles. So they can segregate their data by company, or family, or team. Here is the basic logic. In the appController beforeFilter() method set the logged in user to the appModel class that you are fetching. Such as... AppModel::setActiveUser

Re: Multiple Businesses in one database

2011-12-31 Thread cakebrother
in context: http://cakephp.1045679.n5.nabble.com/Multiple-Businesses-in-one-database-tp5094717p5111830.html Sent from the CakePHP mailing list archive at Nabble.com. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http

Re: Multiple Businesses in one database

2011-12-22 Thread Jeremy Burns | Class Outfit
y > when an admin of one of the businesses logs in they'll be able to create > invoices and bills etc. They should only be able to see the content they've > created can you send me any links you may have that explain this. > View this message in context: Re: Multiple Business

Re: Multiple Businesses in one database

2011-12-22 Thread cakebrother
at explain this. -- View this message in context: http://cakephp.1045679.n5.nabble.com/Multiple-Businesses-in-one-database-tp5094717p5094893.html Sent from the CakePHP mailing list archive at Nabble.com. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out

Re: Multiple Businesses in one database

2011-12-22 Thread cakebrother
at explain this. -- View this message in context: http://cakephp.1045679.n5.nabble.com/Multiple-Businesses-in-one-database-tp5094717p5094846.html Sent from the CakePHP mailing list archive at Nabble.com. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out

Re: Multiple Businesses in one database

2011-12-22 Thread Jeremy Burns | Class Outfit
name or category for this. Also > how would I acheive this? > View this message in context: Multiple Businesses in one database > Sent from the CakePHP mailing list archive at Nabble.com. > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cake

Multiple Businesses in one database

2011-12-22 Thread cakebrother
their own data. Is this possible? If so is there a name or category for this. Also how would I acheive this? -- View this message in context: http://cakephp.1045679.n5.nabble.com/Multiple-Businesses-in-one-database-tp5094717p5094717.html Sent from the CakePHP mailing list archive at Nabbl