Re: Console/cake schema pitfalls ?

2014-03-25 Thread SpazzyV
Have you considered using the Migrations plugin from CakeDC? https://github.com/CakeDC/migrations It handles the actual changes, rather than having a 'full' copy as schemas do. I think the issue you are seeing is more about the datasource definition, as that is where it gives the datatype to g

Re: Where are the sites?

2013-08-19 Thread SpazzyV
Jose, Awesome list of sites - most of these I would have never known were CakePHP. There are only a few that have the tagline telling you it was built in Cake. Definitely nice to see some sites that are using it. Dave (Advantage+), I can't speak for everyone, but most of the sites that a

Re: Broken Sessions When Using Firebug in CakePHP 2.3

2013-05-22 Thread SpazzyV
You may want to set checkAgent = false, as Firefox will present as one User Agent but then FireBug could show up as a different User Agent. The default is true, and if the user agent changes with the same session key will break the session - I believe. Thanks, Vinnie -- Like Us on FaceBook ht

Re: CakePHP and Twitter Bootstrap

2013-01-17 Thread SpazzyV
We use SlyWalker's implementation and it is spot on - and adds the ability to use their templates for baking. 100% better than the other solutions I have tried. On Thursday, January 17, 2013 12:07:35 AM UTC-5, Salar Rahmanian wrote: > > I am using this and it works perfectly : > > https://gith

Re: CAKEPHP 2.1.x on Pagodabox | foreach multiple items for each slide (bootstrap carousel)

2013-01-02 Thread SpazzyV
Sven - It's not super elegant but you could use a straight for loop and just do some simple calculations to determine when you have done the third loop. Since I am not doing anything like yours, and don't have the full code there is no way for me to test. However, I believe I have walked t

Re: What's the best way to get Twitter Bootstrap into Cake?

2012-12-16 Thread SpazzyV
I would say the best plugin I have used by far is http://plugins.cakephp.org/package/slywalker/TwitterBootstrap. We are actually using it at our development shop, and have that it handles overriding the bake skeletons, and extending all of the core html, form, and pagination classes. You still

Re: LDAP and Cake 2.2

2012-09-12 Thread SpazzyV
Here is a model that I created - http://pastebin.com/BrWBueU8. It is based loosely off of the PHP class presented by idbobby at http://us2.php.net/manual/en/ref.ldap.php. Basically this will take an LDAP authentication and validate that a user account exists within active directory. If you are

Re: PHPUnit & ACL - Pulling hair out...

2012-06-28 Thread SpazzyV
7, 2012 7:50:37 PM UTC-4:30, SpazzyV wrote: >> >> So, I have recently forayed into using CakePHP after a long departure due >> to the problems I encountered with 1.3. I have gotten into 2.1.3, and am >> really enjoying developing with it. However, I am pulling my hair out

PHPUnit & ACL - Pulling hair out...

2012-06-27 Thread SpazzyV
So, I have recently forayed into using CakePHP after a long departure due to the problems I encountered with 1.3. I have gotten into 2.1.3, and am really enjoying developing with it. However, I am pulling my hair out trying to be a good developer and write good unit tests for my controllers and

Re: Modules

2012-06-22 Thread SpazzyV
Also, if we are adding functionality to a plug-in, or fixing something that doesn't quite work. We should probably committing that code back with the owner of the plug-in. Considering most plug-in developers are scratching their own itch, and not necessarily doing a market needs assessment to d

Re: Auth on global actions in the app_controller

2011-08-03 Thread SpazzyV
I believe this is the case because Authentication works on the controllers that we develop, and not on the included app_controller. Since you placed the items in app_controller, then they do not have to be specifically allowed but are part of 'superior' class if you will. If not, then Authenticatio

Re: ACL login -> forward to some kind of main-menue site?

2011-07-31 Thread SpazzyV
could add $this->Auth->autoRedirect = false; to the beforeFilter of the controller responsible for your Authentication. I am fairly new myself, but I believe this should work to accomplish what you asked about. -spazzyv On Jul 27, 1:45 pm, mivogtGermanyLU wrote: > .. it's me again