View cells and helpers

2015-10-27 Thread Simon Bradley
Hi Feel like i'm starting to get to grips with cakephp. Really loving it now. Here's something that's got me stumped though. I've build a plugin (For learning purposes) that builds a menu. It has a helper that builds the menu. I wanted to get access to this helper in the view cell file and i

Advice on menu setup

2015-10-19 Thread Simon Bradley
Hi I'm new to cakephp I'm using version 3 I've been working through an existing site i have built and trying to replicate it with cakephp I did a lot very quickly which is great but the menu is tricky Since this is a navigation bar at the top of every page i thought i might use an element

Unable to load the webpage because the server sent no data

2014-11-19 Thread Simon Svast
Hello i have cake php 1.3 version and when i upgrade php version from 5.2 to 5.4 cake framework stop working any idea why? That this is not issues with server but cake php or? Thank you for helping me out. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter

Re: 302 redirects of 404 pages

2013-12-17 Thread Simon Males
and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to 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. -- Simon

Re: Frontend Javascript framework

2013-12-10 Thread Simon Males
...@googlegroups.com. To post to this group, send email to 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. -- Simon Males -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http

Re: Virtual Field + Concat and find problems

2013-12-04 Thread Simon Males
options, visit https://groups.google.com/groups/opt_out. -- Simon Males -- 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

Re: Production and Development Environment

2013-11-28 Thread Simon Males
@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out. -- Simon Males -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you

Re: send contact form to email in cakephp

2013-11-26 Thread Simon Males
an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to 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. -- Simon Males -- Like Us on FaceBook https

Re: Accessing things in $this-request-data

2013-10-03 Thread Simon Males
and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to 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. -- Simon

Re: DebugKit function/array problem (Function name must be a string ; ToolbarComponent.php)

2013-09-25 Thread Simon Males
. For more options, visit https://groups.google.com/groups/opt_out. -- Simon Males -- 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

Re: Sending videos via CakeResponse::file()

2013-09-24 Thread Simon Males
to 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. -- Simon Males -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received

Re: Forum plugin troubles

2013-09-15 Thread Simon Males
://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out. -- Simon Males -- 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

Re: save checkbox value in db

2013-09-15 Thread Simon Males
javascript:;. To post to this group, send email to cake-php@googlegroups.comjavascript:; . Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out. -- Simon Males -- Like Us on FaceBook https://www.facebook.com/CakePHP

Re: Putting custom code in a separate repository

2013-09-09 Thread Simon Males
://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out. -- Simon Males -- 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

Re: Can one use jquery instead of JsHelper?

2013-09-06 Thread Simon Males
...@googlegroups.com. To post to this group, send email to 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. -- Simon Males -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us

Re: Is nested one-to-many table relationships possible in CakePHP?

2013-09-05 Thread Simon Males
://groups.google.com/groups/opt_out. -- Simon Males -- 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 receiving emails

Re: cakePHP beginner: first app; some questions

2013-09-04 Thread Simon Males
. -- Simon Males -- 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 receiving emails from it, send an email to cake

Re: Where is the Tool for the Naming Convention Generation

2013-09-03 Thread Simon Males
, send email to 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. -- Simon Males -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You

Re: Where is the Tool for the Naming Convention Generation

2013-09-03 Thread Simon Males
, Matthew Kaufman mkfmn...@gmail.com wrote: Cool, thanks Simon. I am trying to explain to someone what the entire point of the Inflector was. He is migrating a old MySQL application table schema into a new Cake application he is building. He isn't totally familar with conventions yet and I am

Re: Element Path Help

2013-08-29 Thread Simon Males
://groups.google.com/groups/opt_out. -- Simon Males -- 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 receiving

Re: CakePHP 2.4.0-RC2 released

2013-08-20 Thread Simon Males
/opt_out. -- Simon Males -- 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 receiving emails from it, send

Re: Where are the sites?

2013-08-17 Thread Simon Males
-php. For more options, visit https://groups.google.com/groups/opt_out. -- Simon Males -- 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

Re: CakePHP Schema Connection is Resetting to Default

2013-08-14 Thread Simon Males
...@googlegroups.com. To post to this group, send email to 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. -- Simon Males -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us

Re: Authorization adapter actions was not found.

2013-08-12 Thread Simon Males
receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to 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. -- Simon Males -- Like

Re: after div closing tag form ends

2013-08-08 Thread Simon Males
://groups.google.com/groups/opt_out. -- Simon Males -- 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 receiving

Re: userCake with CakePHP

2013-08-07 Thread Simon Males
from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to 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. -- Simon Males -- Like Us

Re: after div closing tag form ends

2013-08-07 Thread Simon Males
it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to 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. -- Simon Males -- Like Us on FaceBook

Re: legacy db with non standard foreignkey hasMany association

2013-08-07 Thread Simon Males
options, visit https://groups.google.com/groups/opt_out. -- Simon Males -- 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

Re: Noob question. Evaluating CakePHP

2013-08-06 Thread Simon Males
emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to 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. -- Simon Males -- Like Us

Re: Build a LMS in CakePHP

2013-08-04 Thread Simon Males
email to 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. -- Simon Males -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You

Re: Double inclusion of jquery (using Html-script) leads to many problems. I suggest a solution.

2013-08-04 Thread Simon Males
...@googlegroups.com. To post to this group, send email to 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. -- Simon Males -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http

Re: jquery/mobile

2013-07-31 Thread Simon Males
to this group, send email to 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. -- Simon Males -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP

Re: Content blocks via controller

2013-07-12 Thread Simon Males
-php+unsubscr...@googlegroups.com. To post to this group, send email to 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. -- Simon Males -- Like Us on FaceBook https://www.facebook.com

Re: redirect images url from live javascript

2013-07-05 Thread Simon Males
this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out. -- Simon Males -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you

Re: IBM AS400 DB2 Driver

2013-07-03 Thread Simon Males
. For more options, visit https://groups.google.com/groups/opt_out. -- Simon Males -- 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

Re: CakePHP switching source

2013-06-27 Thread Simon Males
://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out. -- Simon Males -- 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

Re: Strange cache behavior in console scripts

2013-06-24 Thread Simon Males
to this group, send email to 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. -- Simon Males -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com

Re: Quick way to wrap input[type=radio] in label tags?

2013-06-18 Thread Simon Males
it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to 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. -- Simon Males -- Like Us on FaceBook

Re: Is Cake 3 dead?

2013-06-17 Thread Simon Males
. For more options, visit https://groups.google.com/groups/opt_out. -- Simon Males -- 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

Re: Sending email using HTTP fx sendgrid

2013-06-15 Thread Simon Males
https://groups.google.com/groups/opt_out. -- Simon Males -- 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

Re: Is data sanitization required in setting $this-Model-id = $id?

2013-06-12 Thread Simon Males
, visit https://groups.google.com/groups/opt_out. -- Simon Males -- 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

Re: Multiple CakePHP running on the same machine are mixing up their classes

2013-06-04 Thread Simon Males
https://groups.google.com/groups/opt_out. -- Simon Males -- 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

Re: my site was hacked (v 2.2.5)

2013-05-05 Thread Simon Males
/groups/opt_out. -- Simon Males -- 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 receiving emails from

Webhooks and EventSystem

2013-03-12 Thread Lucas Simon Rodrigues Magalhaes
Has anyone done an application built in CakePHP and EventSystem to consume webhooks ? My problem it's I don't know how to start it. There are a example app that can show me? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You

Re: Webhooks and EventSystem

2013-03-12 Thread Lucas Simon Rodrigues Magalhaes
, 12 de março de 2013 17h15min12s UTC-3, Lucas Simon Rodrigues Magalhaes escreveu: Has anyone done an application built in CakePHP and EventSystem to consume webhooks ? My problem it's I don't know how to start it. There are a example app that can show me? -- Like Us on FaceBook https

Re: How can I use CakePHP on Heroku without getting logged out everytime I do an update?

2013-03-07 Thread Simon Males
/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- Simon Males -- 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

Re: Cakephp 2.3.x Sending Files and forcing the download of a mp4 file

2013-03-07 Thread Simon Males
/groups/opt_out. -- Simon Males -- 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 receiving emails from

Re: any oAuth Provider implementations for Cake or PHP

2013-03-07 Thread Simon Males
to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- Simon Males -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com

Re: Cakephp 2.x - Changing the name of a table within the schema

2013-02-15 Thread Simon Males
to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- Simon Males -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You

Re: Cache errors on Heroku with update to 2.3 but works fine on local?

2013-02-09 Thread Simon Males
...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- Simon Males -- Like Us on FaceBook https://www.facebook.com/CakePHP

Re: how i use html in cake

2013-02-09 Thread Simon Males
an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- Simon Males -- Like Us on FaceBook https

How I get the index value using Hash::extract() on this array

2012-12-05 Thread Lucas Simon Rodrigues Magalhaes
Array( [168] = Array ( [check] = 0 ) [169] = Array ( [check] = 1 ) [170] = Array ( [check] = 1 ) [171] = Array ( [check] = 1 ) [172] = Array ( [check] = 0 ) ); I try it, $a =

Re: How I get the index value using Hash::extract() on this array

2012-12-05 Thread Lucas Simon Rodrigues Magalhaes
: This should do it: $keys = array_keys(Hash::remove('{n}[check=0]')); On Wed, Dec 5, 2012 at 11:50 AM, Lucas Simon Rodrigues Magalhaes luca...@gmail.com javascript: wrote: Array( [168] = Array ( [check] = 0 ) [169] = Array ( [check] = 1

[Run TEST] Erro: Call to undefined method PHPUnit_Framework_AssertionFailedError::getComparisonFailure()

2012-11-24 Thread Lucas Simon Rodrigues Magalhaes
Fatal Error *Erro: * Call to undefined method PHPUnit_Framework_AssertionFailedError::getComparisonFailure() *File: */home/lucas/public_html/eventos-backend/lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php *Line: * 252 Whats wrong? -- Like Us on FaceBook

Error to load a third Libs

2012-10-16 Thread Lucas Simon Rodrigues Magalhaes
($content); $pdf-Output('test.pdf'); } catch(HTML2PDF_exception $e){ die($e); } The error: Fatal Error*Error: * Class 'HTML2PDF' not found *Line: * 196 *Notice: * If you want to customize this error message, create app\View\Errors\fatal_error.ctp My folder: Lucas Simon@LUCAS-PC app/Lib/html2pdf

Re: Error to load a third Libs

2012-10-16 Thread Lucas Simon Rodrigues Magalhaes
I am using cake2.2 Em terça-feira, 16 de outubro de 2012 11h50min46s UTC-3, MaJerle.Eu escreveu: your file is .class ??..and tell us which cake u use -- Lep pozdrav, Tilen Majerle http://majerle.eu 2012/10/16 Lucas Simon Rodrigues Magalhaes luca...@gmail.comjavascript: Hiii, good

Re: Tutorial for REST API user create and authenticate?

2012-08-30 Thread Simon Males
, August 13, 2012 5:16:57 PM UTC+10, Simon Males wrote: Yeah API/REST Auth is a little tricky. At the moment I'm checking the extension of the request (.json) in AppController::beforeFilter(), then switching the Auth type to Basic and then attempting $this-Auth-login(). When it's basic, the user

Re: loadModel

2012-08-29 Thread Lucas Simon Rodrigues Magalhaes
change this variable $game = $this-Game-find('all'); to $games = = $this-Game-find('all'); in IndexsController . Em quarta-feira, 29 de agosto de 2012 05h08min00s UTC-3, Nareh Tarasyan escreveu: Hi people. I'm a beginner in CakePHP. And I need help. I try to use loadModel. I

Re: loadModel

2012-08-29 Thread Lucas Simon Rodrigues Magalhaes
And ... $this-set(compact('games')); Em quarta-feira, 29 de agosto de 2012 08h40min58s UTC-3, Lucas Simon Rodrigues Magalhaes escreveu: change this variable $game = $this-Game-find('all'); to $games = = $this-Game-find('all'); in IndexsController . Em quarta-feira, 29 de agosto de

How can I put my $id in $this-redirect

2012-08-24 Thread Lucas Simon Rodrigues Magalhaes
I doing it: $this-redirect(array('controller'='customers','action' = 'view',$id)); but do not work. Invalid customer *Error: * The requested address *'cadastros/admin/customers/view'* was not found on this server. -- You received this message because you are subscribed to the Google Groups

Re: How can I put my $id in $this-redirect

2012-08-24 Thread Lucas Simon Rodrigues Magalhaes
($this-referer()); 2012/8/24 Lucas Simon Rodrigues Magalhaes luca...@gmail.com javascript: I doing it: $this-redirect(array('controller'='customers','action' = 'view',$id)); but do not work. Invalid customer *Error: * The requested address *'cadastros/admin/customers/view

Re: How can I put my $id in $this-redirect

2012-08-24 Thread Lucas Simon Rodrigues Magalhaes
1. //$id = $this-request-data['ProductDetail']['customer_id']; 2. forget this line comment $id = $this-request-data['ProductDetail']['customer_id']; Em sexta-feira, 24 de agosto de 2012 15h01min02s UTC-3, Lucas Simon Rodrigues Magalhaes escreveu: After add the product detail, I

Re: How can I put my $id in $this-redirect

2012-08-24 Thread Lucas Simon Rodrigues Magalhaes
Uhuhuuulll Thnx dude!!! Em sexta-feira, 24 de agosto de 2012 15h11min35s UTC-3, ivnrmc escreveu: OR $this-redirect('/customers/view/'.$id); :-) 2012/8/24 Lucas Simon Rodrigues Magalhaes luca...@gmail.com javascript: 1. //$id = $this-request-data['ProductDetail']['customer_id

Re: Bcrypt Authenticate plugin

2012-08-22 Thread Simon Males
this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US. -- Simon Males -- You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php

Re: TDD with CakePHP

2012-08-21 Thread Simon Males
@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US. -- Simon Males -- You received this message because you are subscribed to the Google Groups CakePHP group. To post

Re: Tutorial for REST API user create and authenticate?

2012-08-13 Thread Simon Males
that helps dude. On Mon, Aug 13, 2012 at 4:40 PM, 42startups he...@42startups.com wrote: Simon! Yep it's me :) I worked out I didn't include the RequestHandler component. Second issue was formatting the POST data. Was trying to post raw json to /users.json using a chrome plugin. Didn't work

Re: Error to save in database

2012-08-13 Thread Lucas Simon Rodrigues Magalhaes
of User model. And so registerValidate is being sent directly to the database as a query. Is this model in a plugin? What is the file name? What does the first line have? eg. class User extends Appmodel { On Fri, Aug 10, 2012 at 4:29 PM, Lucas Simon Rodrigues Magalhaes luca...@gmail.com

Re: Error to save in database

2012-08-13 Thread Lucas Simon Rodrigues Magalhaes
I don't understand it. I define the correct names of Model Files and the cake don't recognize the model User? How? Em segunda-feira, 13 de agosto de 2012 09h41min39s UTC-3, Lucas Simon Rodrigues Magalhaes escreveu: I have a model User.php in plugin, look my gist[1] [1] https

Re: Error to save in database

2012-08-13 Thread Lucas Simon Rodrigues Magalhaes
escreveu: On Monday, August 13, 2012 8:54:04 PM UTC+7, Lucas Simon Rodrigues Magalhaes wrote: I don't understand it. I define the correct names of Model Files and the cake don't recognize the model User? How? you might need to tell AuthComponent which userModel to use. Typically, you'll

Re: Tutorial for REST API user create and authenticate?

2012-08-12 Thread Simon Males
+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US. -- Simon Males -- 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

Error to save in database

2012-08-10 Thread Lucas Simon Rodrigues Magalhaes
hii guys!!! I have a error[1] in any save data of my actions in my UserController. The error is in my function to validate[2] a add[3] user [1] http://pastebin.com/M3hSWD9k [2] http://pastebin.com/9Wg1Aujm [3] http://pastebin.com/rZctnxFX -- You received this message because you are

Re: Building a CakePHP app with Parse.com - anyone done it?

2012-08-02 Thread Simon Males
. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Simon Males -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new

Re: Date picker for CakePHP 2.0.3

2012-07-16 Thread Simon Schneider
Hey this worked perfectly for me, thanks a lot!! Am Dienstag, 29. November 2011 11:03:06 UTC+1 schrieb Florin Trifu: Hi I need to implement a date picker into my application. I have found this tutorial: http://bakery.cakephp.org/articles/agusti/2010/02/02/transparent-datepicker-with-jquery

How to use ClassRegistry::getObject('view') in cake 2.2?

2012-07-10 Thread Lucas Simon Rodrigues Magalhaes
I'm using this, $view = ClassRegistry::getObject('view'); in my Helper but does not work. I imported App::uses('ClassRegistry', 'Utility'); but nothing ... and my debug( $view = ClassRegistry::getObject('view')); always return false -- Our newest site for the community: CakePHP Video

[OT] How to use Sphinx docs?

2012-07-06 Thread Lucas Simon Rodrigues Magalhaes
hello, Somebody already used the Sphinx for generating documentation of their systems in cakePHP? like a book.cakephp.org? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others

Re: AuthComponent, set userScope in appController

2012-07-04 Thread Lucas Simon Rodrigues Magalhaes
Thaks. Solved Em terça-feira, 3 de julho de 2012 18h32min58s UTC-3, cricket escreveu: On Tue, Jul 3, 2012 at 8:31 AM, Lucas Simon Rodrigues Magalhaes lucass...@gmail.com wrote: The error appear in this line: 'scope' = array('User.status' = Configure::read('User.ACTIVE

Re: AuthComponent, set userScope in appController

2012-07-03 Thread Lucas Simon Rodrigues Magalhaes
this in AppController: public function beforeFilter() { parent::beforeFilter(); $this-Auth-userScope = Configure::read('User.ACTIVE'); } -- Lep pozdrav, Tilen Majerle http://majerle.eu 2012/7/2 Lucas Simon Rodrigues Magalhaes lucass...@gmail.com Hello, I have a little problem in my auth

AuthComponent, set userScope in appController

2012-07-02 Thread Lucas Simon Rodrigues Magalhaes
Hello, I have a little problem in my auth component in cakePHP 2.2. I set in my bootstrap.php [1] many CONSTANTS, example,Configure::write('User.ACTIVE', 'A'); and I wanna to use this constant in my auth component, but when I used Configure::read('User.ACTIVE'), the cakePHP show-me an

Which the preview to release the version CakePHP 2.2?

2012-06-26 Thread Lucas Simon Rodrigues Magalhaes
Hello there! I have a system in CakePHP 1.2.7, and I wanna migrate to the new version. So I prefer waiting the new release, than migrate to CakePHP 2.1 -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site

Re: Which the preview to release the version CakePHP 2.2?

2012-06-26 Thread Lucas Simon Rodrigues Magalhaes
and the 2.2 stable? Em terça-feira, 26 de junho de 2012 12h17min41s UTC-3, Justin Edwards escreveu: https://github.com/cakephp/cakephp/tree/2.2 https://github.com/cakephp/cakephp/zipball/2.2 On Tue, Jun 26, 2012 at 8:58 AM, Lucas Simon Rodrigues Magalhaes lucass...@gmail.com wrote

Re: Which the preview to release the version CakePHP 2.2?

2012-06-26 Thread Lucas Simon Rodrigues Magalhaes
://cakephp.lighthouseapp.com/projects/42648-cakephp/milestones/139707-220 It is very stable. It's technically in beta, but that doesn't mean much. On Tue, Jun 26, 2012 at 10:24 AM, Lucas Simon Rodrigues Magalhaes lucass...@gmail.com wrote: and the 2.2 stable? Em terça-feira, 26 de junho de 2012

Re: How to do a REST WS?

2012-06-22 Thread Lucas Simon Rodrigues Magalhaes
is it. By enabling Cake's core features you could be able to easily manage a REST service. Hope this helped. Cheers, Borislav. On Thursday, 21 June 2012 20:26:28 UTC+3, Lucas Simon Rodrigues Magalhaes wrote: Hello I need to build an application in Webservice to return data for a particular billing

How to do a REST WS?

2012-06-21 Thread Lucas Simon Rodrigues Magalhaes
Hello I need to build an application in Webservice to return data for a particular billing. I thought about using REST to provide data json / xml instead of nusoap, but I'm sure how to do it. First I'm using cakePHP version 1.3, and following the cake book [1]. According to according to the

Re: Geocoding

2012-05-25 Thread Simon Males
questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Simon Males -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new

Webcam chat on how I built Coachy.com

2012-04-23 Thread Simon Males
to book an actual lesson :) Just mention your responding to the CakePHP user group post. http://www.coachy.com/profile/simon-males Any questions? Please ask me off the list. Thanks (sorry if this is spammy) -- Simon Males -- Our newest site for the community: CakePHP Video Tutorials http

PaaS recommendations

2012-03-20 Thread Simon Males
too much? -- Simon Males -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr

Re: Command history in CakePHP console

2012-03-01 Thread Simon Males
:58 PM UTC-8, Simon Males wrote: Hello, Are there any hacks out there to support command history in CakePHP console? Closest thing I could find is this: https://github.com/sizuhiko/Taste using Facebook's phpsh. Though it's not supported by 2.0 -- Simon Males -- Our newest site

Command history in CakePHP console

2012-02-29 Thread Simon Males
Hello, Are there any hacks out there to support command history in CakePHP console? Closest thing I could find is this: https://github.com/sizuhiko/Taste using Facebook's phpsh. Though it's not supported by 2.0 -- Simon Males -- Our newest site for the community: CakePHP Video Tutorials

Using the Schema callback `after` to insert content in the database

2012-02-26 Thread Simon Males
Hello, The Schema console interface seems to be lightly talked about from what I can tell. I've experimented with the after callback, and would like some feedback. https://gist.github.com/1917192 Anyone else using the Schema callbacks? -- Simon Males -- Our newest site for the community

Re: Wich command use in cakePHP 2.X similar to Dispatcher::baseUrl()?

2011-12-19 Thread Lucas Simon Rodrigues Magalhaes
Thks @José Lorenzo It works. And i tested also ?php $this-here ? On 18 dez, 22:04, Lucas Simon Rodrigues Magalhaes lucass...@gmail.com wrote: i don't find in cake book http://stackoverflow.com/questions/8555607/wich-command-use-in-cakeph... -- Our newest site for the community: CakePHP Video

Wich command use in cakePHP 2.X similar to Dispatcher::baseUrl()?

2011-12-18 Thread Lucas Simon Rodrigues Magalhaes
i don't find in cake book http://stackoverflow.com/questions/8555607/wich-command-use-in-cakephp-2-x-similar-to-dispatcherbaseurl -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others

Re: Cakebook crashes Flash on Chrome

2011-11-24 Thread Simon Males
...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Simon Males -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related

How to download multiples files with cake?

2011-11-18 Thread Lucas Simon Rodrigues Magalhaes
Hii, I have a doubt, how to download multiples files with cake. I have in my directory webroot/files, four files. form1.pdf,form2.pdf,form3.pdf,form4.pdf In my view i have this code: h1Formulários/h1 ?php echo $this-Form- create('Formulario',array('target'='_blank'));? ?php echo

Re: [Ask] Installer CMS like on CakePHP??

2011-10-28 Thread Simon Males
and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Simon Males -- Our newest site for the community: CakePHP Video

Re: vtiger CRM with Cakephp

2011-10-19 Thread Simon Males
they are not worth contributing too? Paul / WebbedIT - I think your taking the thread down the wrong track. The question is about CRM not CMS. -- Simon Males -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http

Re: passing post_id to comments

2011-10-12 Thread Simon Males
into the comments add url but, it won't seem to add the post_id to the database? Your question seems like a bit of a brain dump, but I'll try and answer. Have you considered using hidden form elements in the comment form? -- Simon Males -- Our newest site for the community: CakePHP Video Tutorials http

Re: Which is the better IDE for cakePHP?

2011-09-30 Thread Lucas Simon Rodrigues Magalhaes
I like, and used the Komodo-edit free. look this and setup the configure the cakephp: http://community.activestate.com/faq/how-setup-and-use-cakephp-komodo other option, is eclipse-ide On 24 ago, 23:33, sue lassie...@gmail.com wrote: Hi all...i'm really new in cakephp...so,could somebody

Re: How safe is CakePhps auth component and other ..

2011-09-11 Thread Simon Males
, Olaf Reitmaier Veracierta ola...@gmail.com wrote: Hi Milos, SSL is a must... take care of what happen recently to me: http://cakephp.19694.n2.nabble.com/Auth-ACL-proxy-server-mixed-up-sessions-td6535034.html Regards, Olaf. -- Simon Males -- Our newest site for the community: CakePHP

Job: CakePHP developer in Sydney, Australia - buyinvite.com.au

2011-09-08 Thread Simon Males
? * Spend much time on the command line? * Craft SQL queries by hand? Send application attention to Simon: code ( at ) buyinvite.com.au -- Simon Males -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http

Re: newbie question about databases

2011-07-31 Thread Simon Males
gives me the blogs table that ships as an example in CakePHP. The following command will dump the whole schema by looking at the DB, rather then the models. cake schema generate -f -- Simon Males -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out

  1   2   3   >