Re: ACL: 3 levels ARO?

2012-04-03 Thread Arnold Roa
So it will work! Great! Thank you. On Tue, Apr 3, 2012 at 8:57 AM, jeremyharris wrote: > I don't see why this wouldn't work, since Aro's are a tree anyway. For one > of my projects, I technically have a 10 level deep Aro setup, where each > parent group inherits its children's permissions (that

ACL: 3 levels ARO?

2012-04-02 Thread Arnold Roa
Hi, Im building an App for a school managament, we have schools, each school has many teachers and students. We need to allow each school to manage their permission for each teacher and students, both globally and user-specific. For this requirement i think I need an ACL solution with 3 levels:

Cake 2.1 Problem creating Aro records from existent users

2012-04-02 Thread Arnold Roa
Hi, I'm trying to implement ACL for my already created application and need to create the aro records for my current existent users. On IRC Ceeram said i just need to load AclBehaviour into my User's model, find all users and save it (update any field, i guess) and that will create the ARO row. I

Re: CakeTrap. A HTML5 CakePHP Bootstrap

2012-03-22 Thread Arnold Roa
hahahaha i think the same, bad name selection =P On Thu, Mar 22, 2012 at 7:51 AM, euromark wrote: > Why not calling it CakeStrap? as "Trap" implies something different > altogether ;) > > > Am Donnerstag, 22. März 2012 11:11:08 UTC+1 schrieb Hugo Dias: > >> Hey guys. I just created a very basic H

Store only month and date

2011-12-09 Thread Arnold Roa
Hi, im building a small test application to test cake2.0, on it im needing to save only month and year, i dont need the year. After read a while on internet i figure that is better to create a DATE field on DB and just ignore the year, but there is a problem with the helper, i create the input like

MySQL server has gone away

2010-10-15 Thread Arnold Roa
Guys, I have server A and server B, server B connects to mysql in the A server and do a couple of queries, then takes a few minutes uploading some large files to Amazon's S3 and then has to do a query on the server A but appears an error saying: MySQL server has gone away. I dont understand why I

Problem with tinyint(1)

2010-08-17 Thread Arnold Roa
hi, i have a field icon, tinyint(1). im doing this: $this->Software->saveField('icon',2); but the query generated is: UPDATE `software` SET `icon` = 1, `modified` = '2010-08-17 12:58:37' WHERE `software`.`id` = 1115 Why is icon = 1 and not icon = 2? is this okey? or is a bug? if i set icon =

Re: Contador en cake

2010-08-10 Thread Arnold Roa
Please write to this list in english! Ops sorry i responsed thinking that was the spanish list! On Tue, Aug 10, 2010 at 10:21 PM, Arnold Roa wrote: > para contar registros puedes usar Model->find('count'); > > Pero creo que no es lo que quiere hacer? > > >

Re: Contador en cake

2010-08-10 Thread Arnold Roa
para contar registros puedes usar Model->find('count'); Pero creo que no es lo que quiere hacer? On Mon, Aug 9, 2010 at 3:26 PM, Jonathan Calderon Roa wrote: > Buenas, cake tiene algun contador para los campos de la db ? > > -- > Jonathan Andrés Calderón Roa > > Check out the new CakePHP Questi