Re: how to create search function.

2012-06-06 Thread Nilson Pena
Chetan, This is a awesome cake blog, congratulations. Nilson On Wed, Jun 6, 2012 at 4:08 AM, Chetan Patel chetanspeed511...@gmail.comwrote: Hello Madhuri, Please check My blog: http://chetan4cake.blogspot.in/2012/06/search-plugin-demo-in-cakephp-20.html Thanks Chetan -- Our

Re: CakePHP 3.0.0 dev preview 1 released

2014-01-06 Thread Nilson Pena
');. To post to this group, send email to cake-php@googlegroups.comjavascript:_e({}, 'cvml', 'cake-php@googlegroups.com'); . Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out. -- Prof. Dr. *Nilson Pena* Av. ACM, 585, sl

Re: CakePHP 3.0.0 dev preview 1 released

2014-01-06 Thread Nilson Pena
Thanks for answer, Mark! Cake 3, here we go. Pray for us :) Nilson On Mon, Jan 6, 2014 at 5:44 PM, mark_story mark.st...@gmail.com wrote: Thanks for asking those questions they are good ones. What are the strategic goals of Cake v3? Hopefully I can give some more background

Rendering PDF from POST basead searches

2014-01-27 Thread Nilson Pena
Hi folks, I use mPDF and the solution proposed in this excellent post [1]. Everything works well if the action uses GET. Example: /controller/action/2.pdf wil use the view.ctp inside the pdf folder and render the 2.pdf file. But there are cases that I have to use a form to POST some parameters to

Re: Rendering PDF from POST basead searches

2014-01-28 Thread Nilson Pena
Thank you. Nilson Prof. Dr. *Nilson Pena* Av. ACM, 585, sl. 1205 Salvador - Bahia 71 - 3012-3031 On Tue, Jan 28, 2014 at 9:37 AM, euromark dereurom...@gmail.com wrote: I gave you an answer as comment. Am Montag, 27. Januar 2014 16:04:40 UTC+1 schrieb Nilson Pena: Hi folks, I use mPDF

Re: Vote for CakePHP on DevDocs!

2014-07-24 Thread Nilson Pena
Voted Prof. Dr. *Nilson Pena* Av. ACM, 585, sl. 1205 Salvador - Bahia 71 - 3012-3031 On Thu, Jul 24, 2014 at 9:37 AM, Harold Putman planardot...@gmail.com wrote: DevDocs is really cool, especially since you can set it up to run offline. In addition to voting someone could write a Scraper

Instance of AppModel inside a Component

2014-08-19 Thread Nilson Pena
Hi, folks! Do you know how can I get an AppModel instance inside a Component? I need to access a specific method that is inside AppModel. I'm using CakePHP 2.5.3 Thank you in advance! -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP ---

Re: Instance of AppModel inside a Component

2014-08-19 Thread Nilson Pena
Thank you Stephen, Following your suggestion I did: $model = ClassRegistry::init($this-Controller-modelClass); Works like a charm. Thanks Prof. Dr. *Nilson Pena* Av. ACM, 585, sl. 1205 Salvador - Bahia 71 - 3012-3031 On Tue, Aug 19, 2014 at 12:29 PM, Stephen S hellospeak...@gmail.com wrote

Re: CakePHP 2.5.5 and 2.6.0-beta released

2014-10-08 Thread Nilson Pena
/optout. -- Prof. Dr. *Nilson Pena* Av. ACM, 585, sl. 1205 Salvador - Bahia 71 - 3012-3031 -- 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

Problem Console on cakephp 2.7.5

2015-11-02 Thread Nilson Pena
There is something wrong with cakephp 2.7.5. when using the console, for example: cakephp/lib/Cake/Console/cake AclExtras.AclExtras aco_sync I get the following error: PHP Parse error: syntax error, unexpected T_STATIC, expecting T_STRING or T_VARIABLE or '$' in

Force Browser Caching image in Cake 3.x

2016-02-20 Thread Nilson Pena
How can I force a browser caching in Cake 3.2? I have an avatar image in my navbar (menu) that is served by a cake response action: public function showAvatar($funcionario_id) { $this->response->file(ROOT . "/files/funcionarios/avatars/$funcionario_id . '.jpg'");

Re: Carregar endereço a partir do CEP no CakePHP 3 usando AJAX

2016-04-02 Thread Nilson Pena
O correio disponibiliza algum webservice gratuito? Em sábado, 2 de abril de 2016, Paulo Terra escreveu: > Estou tentando carregar o endereço a partir do CEP informado pelo usuário. > Apesar de encontrar várias pessoas perguntando por isso não encontro uma > resposta que