Re: CakePHP 3: How to Bake template from vendor/authorname/pluginname?

2015-04-07 Thread Salines
Resolved, I forgot to load plugin in the bootstrap. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop recei

CakePHP 3: How to Bake template from vendor/authorname/pluginname?

2015-04-07 Thread Salines
If you want to create a package / plugin in vendor folder, which will be used for development eg Admin plugin, how do you set up the structure of the folders and where you will put the template files? I try the following: myapp/ vendor/ salines/ admintheme/ src/

Mock auth component in controller test using testAction

2015-04-07 Thread Sebastian Bergquist
Hi! I’m having some problems with my tests. I can’t seem to mock the auth component in a controller test using the testAction method… Here are the part of the test that causes the problem: https://gist.github.com/beez/6f9ee89538d1a6be6dfb Any help or pointers on how to solve this is greatly a

Re: Still having trouble with saving BelongsToMany data

2015-04-07 Thread José Lorenzo
I think you should better jump into the IRC channel so we can debug step by step your code. Using google groups for debugging problems has proven to be difficult. On Monday, April 6, 2015 at 10:22:41 PM UTC+2, Mauri Cabrera wrote: > > This is my add function and its add.ctp form Im following th

Re: Gerar CSV dos dados contidos no DB com cakephp

2015-04-07 Thread Keldnner Bader
Teste a action antes de passar ela para o javascript, tente acessar a url que seria enviada para o ajax com um valor manual. Quando você obter um resultado direto pela url, ai você parte para o js fazendo testes do botão primeiramente vendo se ele retorna um simples alert e quando for debugar o ret