Connecting Two HABTM Tables

2008-01-21 Thread david_setwise
Here is a potential situation in which it seems like two HABTM tables should be connected. So, am I incorrect in my table structure. If not, can Cake handle connecting two HABTM tables? The system in question deals with clothing. So imagine shirts of various types that can have multiple sizes

Re: Connecting Two HABTM Tables

2008-01-22 Thread david_setwise
Of david_setwise Sent: January 21, 2008 3:03 PM To: Cake PHP Subject: Connecting Two HABTM Tables Here is a potential situation in which it seems like two HABTM tables should be connected. So, am I incorrect in my table structure. If not, can Cake handle connecting two HABTM tables? The system

Re: Connecting Two HABTM Tables

2008-01-22 Thread david_setwise
Of david_setwise Sent: January 21, 2008 3:03 PM To: Cake PHP Subject: Connecting Two HABTM Tables Here is a potential situation in which it seems like two HABTM tables should be connected. So, am I incorrect in my table structure. If not, can Cake handle connecting two HABTM tables? The system

Re: Connecting Two HABTM Tables

2008-01-22 Thread david_setwise
, david_setwise [EMAIL PROTECTED] wrote: Doesn't CakePHP 1.2 support additional fields in a HABTM table? David On Jan 21, 6:15 pm, Ponderosa - Lists [EMAIL PROTECTED] wrote: Your colors_shirts_sizes table should be a new table/model inventory. Inventory - id - shirt_id - size_id

Re: Auth / Acl and plugins

2008-01-25 Thread david_setwise
Hi Franky, Not sure if this will help, but I have recently started looking into the ACL Management Plugin. http://bakery.cakephp.org/articles/view/acl-management-plugin David On Jan 24, 10:09 am, francky06l [EMAIL PROTECTED] wrote: Hi Bakers, I am having a problem withACLand Auth

SQL error with ACL ARO

2008-01-29 Thread david_setwise
Hi, I am running the 1.2 beta with mysql. I am trying to setup ACL and have been following all the common tutorials out there like http://bakery.cakephp.org/articles/view/how-to-use-acl-in-1-2-x When I run the setupAcl function, as detailed in the Bakery article, I get a SQL error about the

Re: Simple 1.2 Beta Form Example?

2008-01-29 Thread david_setwise
Try this: In the Model: --- var $validate = array( 'fieldName' = array( 'rule' = array('maxLength', '8'), 'message' = 'Maximum 8 characters long',

Re: Too Much Noise Auth/ACL 1.2

2008-01-29 Thread david_setwise
I am glad to hear I am not the only one. I too have been digging through all the mix of tutorials and old code for a week. Can anyone who has ACL working with the latest 1.2 build give a little explanation, or add it to the manual? In particular I am looking for the latest ACL table structure

ACL Table Creation

2008-02-02 Thread david_setwise
Hi bakers, I do not have access to the console because I am working in a shared environment. I am sure others have this issue. Can someone please post the SQL to create the three ACL tables for v1.2? Thanks, David --~--~-~--~~~---~--~~ You received this message

Re: ACL Table Creation

2008-02-02 Thread david_setwise
that through phpmyadmin On 02/02/2008, david_setwise [EMAIL PROTECTED] wrote: Hi bakers, I do not have access to the console because I am working in a shared environment. I am sure others have this issue. Can someone please post the SQL to create the three ACL tables for v1.2? Thanks

New install pages problem

2007-05-15 Thread david_setwise
I am setting up a new installation of cake to begin my first project. All the cake files are in www.myurl.com/cake/. I updated the app/ views/layouts/default.thtml and app/views/pages/home.thtml files and they show up fine. However, no matter what url I type in the browser (Ex: