Re: Sessions table already in the database

2009-12-31 Thread John Andersen
Call your Session something else in your CakePHP application - but in your model, define that the model uses the table sessions, that should be the only place that the table sessions is used, thus hopefully not conflict with CakePHP. See

Re: HABTM with one Tag Model and 2 or more Other Models

2009-12-31 Thread John Andersen
Yes, just create the othermodels_tags table for the new HABTM relationship, that is the CakePHP way. Enjoy, John On Dec 31, 4:36 am, Parris presid...@parrisstudios.com wrote: Hi All, So I have a habtm with Tags and Posts, now I want to add more tables that have HABTM relationships with

User Auth

2009-12-31 Thread d1ve blu3
Hello,,, I've been looking for user auth with php. I want to create a user management where admin can easly grant or revoke access to user? i've been following this link http://www.studiocanaria.com/articles/cakephp_auth_component_users_groups_permissions_revisited#form but i stuck when

Re: i18n and anonymous surfers - bug?

2009-12-31 Thread John Andersen
Using CakePHP 1.2.5 with medium security. anonymouse.org removes the HTTP_ACCEPT_LANGUAGE information from the browser, thus CakePHP can't determine the default language to use. Add the code below to the AppController beforeFiler method to ensure that a default language is used. [code] if

Re: UML

2009-12-31 Thread Josh
thanks On Dec 31, 12:17 am, Abdul Rahman Riza abdulrahmanr...@gmail.com wrote: try Umbrello 2009/12/31 Josh joshs.silver...@gmail.com Does anybody have a recommendation for a good UML tool? Do many of you make UML diagrams of your more complex web apps? Check out the new CakePHP

Managing lots of components? Namespaces? PEAR?

2009-12-31 Thread Josh
I was thinking of making an upgrade to PHP 5.3.1 and using the namespace support. Any suggestions? I imagine App::import would work fine, no? Does anybody have any other suggestions for managing lots of components? The PEAR method violates cake naming conventions. Please let me know if anybody

Re: Temp data question

2009-12-31 Thread Jon Bennett
Hi Dave, Thanks for the inspiration... Happy to help :) Happy new year Cakers :) -- jon bennett - www.jben.net - blog.jben.net Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are

When I use Media View ,my session deleted

2009-12-31 Thread Saleh Souzanchi
i use my custom auth system in my project and it save user informatin into session(no used Auth Component) $this-Session-write( 'Cms.User', array (...) ); when is use This Code function profile_donwload( $paperID ) { if ( $file = $this-Paper-Attachment-read( null, $paperID ) ) {

Re: testing a controller's add action

2009-12-31 Thread mark_story
I don't have an issue if someone wants to copy/paste/modify the article I wrote into the book. There is no need to file tickets about improving the documentation on testing, you can simply edit/add to the existing documentation instead. testAction as you are aware is exceptionally limited in what

Re: anybody tried the 1.3 console yet

2009-12-31 Thread mark_story
To add in new bake templates use a non 'default' directory for your templates. They would go in vendors/shells/templates/yourtemplate and use the same directories as the core default templates do. If you don't supply all the templates the core templates will be used as a fallback. -Mark On Dec

Need direction - passing data between users

2009-12-31 Thread enigma12814
If anyone can provide me with some direction here I would greatly appreciate it. I am not a super experienced programmer but I can usually figure everything out if I have a general direction. Lets say you have 2 users that randomly generate three numbers each. User 1 selects a number and passes

Out of office reply

2009-12-31 Thread jim
Hi, I am out the office until the 14th of January. If you require urgent assistance then please contact p...@citadelsecure.com or call him on 07890 592198 - otherwise I will answer your email on my return. Regards Jim Check out the new CakePHP Questions site http://cakeqs.org and help