Re: Database modelling

2010-10-16 Thread Jeremy Burns | Class Outfit
All users should belong to the same table and be differentiated by group_id, as you describe. You can then use prefix routing to manage permissions for each group: http://book.cakephp.org/view/950/Prefix-Routing Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com O

Database modelling

2010-10-16 Thread a17s
Hello all, I have a dummy application which has public users and admin users entities. Public users can belong to a Group while Admin users can manage the Group and those joining the group. Should the Admin be a separate model from the Public user or can both be in the same model, e.g User and be m

Re: anyone knows how use i18n in cakephp 1.2 for database modelling

2008-04-22 Thread robert123
Just spoke to the author of the solutions, he have just uploaded the latest code, works like a charm, but a few things thoug 1. There is fixed needed in the cakephp 1.2 2. Need php 5.24 and above 3. Some settings like locale may have to change to Configure::read('Config.language') www.genericsme

anyone knows how use i18n in cakephp 1.2 for database modelling

2008-04-22 Thread robert123
Hi, I am trying to implement i18n in cakephp for database modelling There is a good solutions at http://www.palivoda.eu/2008/04/i18n-in-cakephp-12-database-content-translation-part-2/ but I have tried to use it without any success, anyone can give an example of how to implement it. Thank you