Re: POST form changes to PUT

2013-05-08 Thread Mancho
Actually with option type you can change the hardcoded method. echo $this-Form-create('User', array('type' = 'post')); Murgan, Alexis Germán Desarrollador Diseñador Web: german.murgan.com.ar Email: ger...@murgan.com.ar MSN: ger...@murgan.com.ar Móvil: +5493424663813 2013/5/8 André Luis

Re: POST form changes to PUT

2013-05-08 Thread Mancho
Lol, this one didnt work for me in version 2.1.something, but now in 2.3.4 is working fine, tnx Em quarta-feira, 8 de maio de 2013 08h46min55s UTC-3, Mancho Murgan escreveu: Actually with option type you can change the hardcoded method. echo $this-Form-create('User', array('type' = 'post

Re: POST form changes to PUT

2013-05-07 Thread Mancho
Hi André Luis, That is correct, the AJAX request method is POST, but CakePHP uses an harcoded method using an hidden input on form and use this value to validate on controller. Murgan, Alexis Germán Desarrollador Diseñador Web: german.murgan.com.ar Email: ger...@murgan.com.ar MSN:

Re: Variável pro pdf (saída)

2013-05-07 Thread Mancho
Qual é o problema? Eu recomendo usar a biblioteca FPDF (http://www.fpdf.org/ ). Murgan, Alexis Germán Desarrollador Diseñador Web: german.murgan.com.ar Email: ger...@murgan.com.ar MSN: ger...@murgan.com.ar Móvil: +5493424663813 2013/5/7 Carlos Antonio carlos.meneg...@gmail.com Olá. Numa

Re: POST form changes to PUT

2013-05-06 Thread Mancho
Dude, checks that cakephp adds hidden input with _method name and PUT value, and uses this pair name/value for validate. Murgan, Alexis Germán Desarrollador Diseñador Web: german.murgan.com.ar Email: ger...@murgan.com.ar MSN: ger...@murgan.com.ar Móvil: +5493424663813 2013/5/6 Advantage+

Re: cron job command

2013-05-03 Thread Mancho
Hi, You must create a shell, after that you could run with crontab. http://book.cakephp.org/2.0/en/console-and-shells.html Murgan, Alexis Germán Desarrollador Diseñador Web: german.murgan.com.ar Email: ger...@murgan.com.ar MSN: ger...@murgan.com.ar Móvil: +5493424663813 2013/5/3

Re: cron job command

2013-05-03 Thread Mancho
No, you need use cake console to run a shell. The cake console is located on /path/to/cakephp/app/Console/cake. You need a command like: /path/to/cakephp/app/Console/cake shellName -cli /web/cgi-bin/ -console /path/to/cakephp/app/Console/ -app /path/to/cakephp/app/ The cake console needs

Re: POST and PUT problems on add action

2013-04-26 Thread Mancho
I agree, that is a correct way to solve. Check this site: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html Murgan, Alexis Germán Desarrollador Diseñador Web: german.murgan.com.ar Email: ger...@murgan.com.ar MSN: ger...@murgan.com.ar Móvil: +5493424663813 2013/4/26 André Luis

Re: hasMany with group by

2013-03-12 Thread Mancho
Hi, you can use the containable behavior to obtain custom queries. Regards. Murgan, Alexis Germán Desarrollador Diseñador Web: german.murgan.com.ar Email: ger...@murgan.com.ar MSN: ger...@murgan.com.ar Móvil: +5493424663813 2013/3/12 André Luis cavall...@live.com Hi people, I have model User

Re: Problem with paths to files

2012-09-11 Thread Mancho
Hi, Make sure the following line is commented in file app/Config/core.php the: //Configure::write('App.baseUrl', env('SCRIPT_NAME')); If is commented, make sure the Apache has enabled the rewrite module. -- Murgan, Alexis Germán Desarrollador Diseñador Web: german.murgan.com.ar Email:

Re: Number format in form fields?

2012-08-30 Thread Mancho
You can modify the $this-request-data formatting the number in controller method with number_format() function. 2012/8/30 Ingo Siebeck soc...@kalandro.de is there any way to get input fields, with decial(10,2) fields behind, working with other separators? I need the german number format like

Re: loadModel

2012-08-29 Thread Mancho
You never set to view file te $game and $word vars. Add to end of index()method this: $this-set('game', $game); $this-set('word', $word); I recommend you read the following: http://book.cakephp.org/2.0/en/getting-started.html#blog-tutorial -- Murgan, Alexis Germán Desarrollador Diseñador Web:

Re: cakephp 2.2.1 installation process in windows xp

2012-08-29 Thread Mancho
Depends of operating system. What operating system do you use? -- Murgan, Alexis Germán Desarrollador Diseñador Web: german.murgan.com.ar Email: ger...@murgan.com.ar MSN: ger...@murgan.com.ar Móvil: +5493424663813 -- You received this message because you are subscribed to the Google Groups

Re: loadModel

2012-08-29 Thread Mancho
Ok, your IndexsController has view() method? If not exists you need create the view() method in the IndexsController and in this method set the vars. -- Murgan, Alexis Germán Desarrollador Diseñador Web: german.murgan.com.ar Email: ger...@murgan.com.ar MSN: ger...@murgan.com.ar Móvil:

Re: complex find()

2012-08-29 Thread Mancho
Are you sure the field exists in the database? -- Murgan, Alexis Germán Desarrollador Diseñador Web: german.murgan.com.ar Email: ger...@murgan.com.ar MSN: ger...@murgan.com.ar Móvil: +5493424663813 -- You received this message because you are subscribed to the Google Groups CakePHP group. To

Re: In CakePHP 2.x Extending Views not working.. I think the documentation for 2.0 is wrong. How to work Extending Views concept ?

2012-08-27 Thread Mancho
Remove white spaces and new lines before ?php tag in your controllers and models. -- You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to

Re: Cakephp Control Panel (Limit the user access role)

2012-08-23 Thread Mancho
Yo can do this whit ACL (Access Control Lists). http://book.cakephp.org/2.0/en/core-libraries/behaviors/acl.html -- Murgan, Alexis Germán Desarrollador Diseñador Web: german.murgan.com.ar Email: ger...@murgan.com.ar MSN: ger...@murgan.com.ar Móvil: +5493424663813 2012/8/23 Mr. Manager

Re: I want to find records during last 24 hours

2012-08-21 Thread Mancho
Try with this sintax: $users = $this-User-find('all', array('conditions' = array('User.last_seen BETWEEN NOW() AND NOW() -INTERVAL 1 DAY'), 'recursive' = -2); -- Murgan, Alexis Germán Desarrollador Diseñador Web: german.murgan.com.ar Email: ger...@murgan.com.ar MSN: ger...@murgan.com.ar Móvil:

Re: I want to find records during last 24 hours

2012-08-21 Thread Mancho
: german.murgan.com.ar Email: ger...@murgan.com.ar MSN: ger...@murgan.com.ar Móvil: +5493424663813 2012/8/21 MetZ met...@gmail.com Hi.. No,, that one also return empty array :( Thanks anyway! any other suggestion? -Tom kl. 20:19:16 UTC+2 tirsdag 21. august 2012 skrev Mancho Murgan følgende

Re: CakePdf - How To Start?

2012-08-16 Thread Mancho
You need increase PHP memory limit for this method. You can get the current memory limit with ini_get() function, for example: print_r(ini_get('memory_limit')); After you can increment the memory_limit value with ini_set() function, for example: ini_set('memory_limit', '128M'); The second

Re: Which is the best platform for develop with cakephp in team?

2012-08-15 Thread Mancho
I recommend the following plataform. SO: Debian or Ubuntu. Text editor: Sublime Text 2. Repository: Subversion (command line). Server: Apache. Database: MySQL. Methodology: Scrum. ToDo List: Wunderlist. I work in a group of eleven people. On Tue, Aug 14, 2012 at 4:15 PM, abhijit kakade