New video tutorial: CakePHP basics part 4 - Model Associations

2012-08-23 Thread frederikjacques
Hi cake lovers, I've just uploaded part 4 of my cakePHP basics tutorial series. In this one I'll explain how you can create associations in your models to get associated data from other models when you retrieve data. http://blog.the-nerd.be/2012/08/cakephp-basics-tutorial-part-4/ Hope you like

SecurityComponent black-holing my controller test case

2012-08-23 Thread Thiago Belem
Here's my UsersController test case: https://gist.github.com/3445573 There's nothing special about my *UsersController*, but it uses the * SecurityComponent* (inherited from AppController). And when I run the tests, i get the infamous: The request has been black-holed Test case: UsersControlle

Re: New video tutorial: CakePHP basics part 3 - Basic authentication, Sessions, Callbacks, Routing

2012-08-23 Thread Chetan Patel
Again g+1 -- 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 cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.c

Re: CakePdf - How To Start?

2012-08-23 Thread Adam Symonds
Thanks, I updated both issues and now I am getting pdfs with both Tcpdf and Dompdf. I will look into the other one you mentioned. My next thing is the pages I am trying to generate as PDF's have google charts on them but they don't load. Is this something that is possible? https://developers.goog

Re: How to set my table's Storage Engine using CakeSchema?

2012-08-23 Thread Ivan Rimac
Did not think you would not figure out yourself :) sent from my Samsung Galaxy S Ivan Rimac mail: ivn...@gmail.com mob: +385 95 555 9966 Dana 23.8.2012. 19:38 "andrewperk" je napisao/la: > I figured out. Just in case someone else wants to know this: > > 'tableParameters' => array('engine' => 'M

Re: How to retrieve this kind of data?

2012-08-23 Thread Fábio
I figured out that the system should already selecting the options, but its not happening. I cant figure out why. Em quinta-feira, 23 de agosto de 2012 13h55min52s UTC-3, Fábio escreveu: > > I'm trying to obtain the list of users assigned to the "listing" model to > use this as selected values f

Re: How to set my table's Storage Engine using CakeSchema?

2012-08-23 Thread andrewperk
I figured out. Just in case someone else wants to know this: 'tableParameters' => array('engine' => 'MEMORY') On Thursday, August 23, 2012 10:14:50 AM UTC-7, andrewperk wrote: > > Hello, > > I'd like to be able to ensure that the table CakeSchema create's is a > memory heap. How can I set the st

Re: Content blocks via controller

2012-08-23 Thread André Luis
I will explain a little bit better... I need to create a content block to use in my layout, for example... echo $this->fetch('my_custom_content'); BUT, the data for this my_custom_content comes from a Component, for example in AppController: public $components=array('MyCustomComponent'); AND t

Re: Content blocks via controller

2012-08-23 Thread André Luis
No one knows if it´s possible, or anyone didnt understand?? Em segunda-feira, 6 de agosto de 2012 16h00min32s UTC-3, André Luis escreveu: > > Hi people, i have a doubt, i am trying to create a content block but the > data will be sent from a controller... > > For example... > > in layout.ctp i h

How to set my table's Storage Engine using CakeSchema?

2012-08-23 Thread andrewperk
Hello, I'd like to be able to ensure that the table CakeSchema create's is a memory heap. How can I set the storage engine for a table created using CakeSchema? I tried something like this: public $sucker_log = array( 'id'=>array('type'=>'integer', 'null'=>false, 'default'=>null, 'key'=>'pri

How to retrieve this kind of data?

2012-08-23 Thread Fábio
I'm trying to obtain the list of users assigned to the "listing" model to use this as selected values for checkboxes in edit form. The code below obtains a list of users, but its giving me all the users and i want only the selected ones. The condition in listing model makes the listing that is

REST, Xml::fromArray() and find('all')

2012-08-23 Thread Alexandre Leprêtre
Hi everyone, I am trying to build a nice REST API for my website and I had never tried it through CakePHP. I started to follow the (short) instructions, however, the way it works looks totally different from what I can read in the Cookbook. I use CakePHP 2.2.1. Here's what I've done so far:

Error when I use the $validate in the model file

2012-08-23 Thread shyandsy
What I did I used the cakePhp What happened When I use $validate in the model file to check the user input, the warning information like below: Warning (2): preg_match(): Delimiter must not be alphanumeric or backslash [CORE\Cake\Model\Validator\CakeValidationRule.php, line 276] The regular e

Model with self association: how do I reference associated field from Child?

2012-08-23 Thread kevin.ncbible
Thank you, so much, for taking the time to help. I do appreciate how quickly individuals here has shared their expertise. I have a model, called "Topic", with a hasOne association to another model, called "Passage." In the Passage model is a field that I always need when calling up Topic data:

Re: Bcrypt Authenticate plugin

2012-08-23 Thread Thiago Belem
I'm already using the 2.3 native way of doing it, thanks -- 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 cake-php+unsubscr...@googlegroups.

Re: Bcrypt Authenticate plugin

2012-08-23 Thread Remy Bertot
In the meantime this does the trick: http://www.mark-story.com/posts/view/using-bcrypt-for-passwords-in-cakephp You might want to consider adding an individual salt and HMAC operation as per: https://wiki.mozilla.org/WebAppSec/Secure_Coding_Guidelines#Password_Storage Cheers, On Thu, Aug 23, 20

Re: CakePdf - How To Start?

2012-08-23 Thread Ceeram
I fixed the notice: https://github.com/ceeram/CakePdf/commit/efb6f480d28676f95d1860dd95f71aa01da5a0a5 On Thursday, August 23, 2012 3:31:14 PM UTC+2, Ceeram wrote: > > The first error about missing method setExtensions() is because you are > not using latest cake version, if you would look up the

Re: CakePdf - How To Start?

2012-08-23 Thread Ceeram
The first error about missing method setExtensions() is because you are not using latest cake version, if you would look up the line where the error points to you would read this: https://github.com/ceeram/CakePdf/blob/master/Config/routes.php#L3 The dompdf error, i can not help with really, th

Re: Looking for work?

2012-08-23 Thread Jeremy Burns
Thanks - I have forwarded your details on to a chap called Andrew Nicholls. Jeremy Burns jeremybu...@me.com (Skype) +44 208 123 3822 (jeremy_burns) (m) +44 7973 481949 (h) +44 208 530 7573 On 23 Aug 2012, at 12:56:01, Shiv Modi wrote: > Hi, > > I am interested in part time work. Currently wor

Re: Looking for work?

2012-08-23 Thread Shiv Modi
Hi, I am interested in part time work. Currently working in bangalore. Worked on couple of projects in CakePHP. My Featured projects are : http://www.growthpod.com/ https://www.socialstage.com/ http://sumazi.com/ Let me know if i meet your requirements. Regards, Shiv On Thu, Aug 23, 2012 at

Re: Looking for work?

2012-08-23 Thread ivnrmc
Hello, I am interested for work, part time thing. Working with cakePHP about year from now on, so I would like to try bid for a job. CakePHP apps: http://shareurride.com (project near completion) http://angrylemmings.com Other web solutions that I made: http://ivanrimac.com/portfolio/ Let me k

Re: Looking for work?

2012-08-23 Thread Ivan Rimac
Hello, I am interested for work, part time thing. Working with cakePHP about year from now on, so I would like to try bid for a job. CakePHP apps: http://shareurride.com (project near completion) http://angrylemmings.com Other web solutions that I made: http://ivanrimac.com/portfolio/

Looking for work?

2012-08-23 Thread Jeremy Burns
A good friend of mine is looking for a couple of developers. One is full time, based in the City (London), PHP/Magento/MySQL paying about £50k. The other is PHP/MySQL working part time short term on a new project that is nearing completion; doesn't pay much but presents an opportunity to get in

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 > Dear

Re: Barcode

2012-08-23 Thread Ryan Snowden
In my case I needed to have multiple barcodes/QR Codes to scan in with a barcode scanner directly from the screen, so I needed the image separate, and widely available. I'm not sure if using a PDFGEN library will allow this. On 23 August 2012 17:41, Ly Dara wrote: > Dear Mr. Borislav, > > I will

Cakephp Control Panel (Limit the user access role)

2012-08-23 Thread Mr. Manager
Dear All, I am developing one application bases on cakephp 2.1 with requirement of limit the user access level and role. And so I would like to ask whether anyone know plugin or any other way that can do that. This is urgent. I am looking forward to hearing from you as soon as possible. Since

Re: Barcode

2012-08-23 Thread Ly Dara
Dear Mr. Borislav, I will try with your guide and I will need to get more information about this later. And one more I have read and practice the book of cakephp entitled practicing cakephp on controlpanel chapter but it doesn't work and so I want to ask that there is any other way because I want

Extract text and text in image from pdf?

2012-08-23 Thread Sumit Madan
Is there any api or library in cake php to extract the text and image from pdf also the text of the image that is in pdf? I need to extract the text with table look as it is in pdf file. -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to t

Add language prefix to URL from cookie on page load

2012-08-23 Thread diwasas
Hi. I'm quite new on cakePHP. I'm creating multilanguage page using this tutorial: i18n internationalization tutorial , everything is working fine, but

show content in plgins layout

2012-08-23 Thread Alexandre Vasconcelos
Hi, I have a plugin and it does a ajax call to a Controller inside of my plugin, it's is correct, but, when I show the result of the content, it's does not appear. in my controller a have: public function form(){ Configure::write('debug', 0); $this->layout = 'ajax'; $va

Re: New video tutorial: CakePHP basics part 3 - Basic authentication, Sessions, Callbacks, Routing

2012-08-23 Thread soda sonic
nice. 2012/8/23 frederikjacques > Hi cake lovers, > > I've just uploaded part 3 of my cakePHP basics tutorial series. > In this one we create a login form via the FormHelper, check it with the > database by using a ordinary find method and using magical (oehh :)) find > methods. > We'll check ou

New video tutorial: CakePHP basics part 3 - Basic authentication, Sessions, Callbacks, Routing

2012-08-23 Thread frederikjacques
Hi cake lovers, I've just uploaded part 3 of my cakePHP basics tutorial series. In this one we create a login form via the FormHelper, check it with the database by using a ordinary find method and using magical (oehh :)) find methods. We'll check out sessions and some callback methods like befo