Re: what is request array to save multiple records in cakephp3 ?

2014-06-24 Thread José Lorenzo
I just tried a similar application to yours and I could successfully save all the related records. Could you please use gist.github.com to sow your code? On Monday, June 23, 2014 2:15:35 PM UTC+2, Archana Goyal wrote: > > Hi Lorenzo, > > Still my code is not working. > > after newEntity() resume

Re: 3.0 how do I use vendor ?

2014-06-24 Thread José Lorenzo
What vendor? You could just use 'require' On Tuesday, June 24, 2014 11:48:04 AM UTC+2, Archana Goyal wrote: > > I want convert html to pdf in my application.To do so I need to import > vendor(tcpdf) in my controller. > Please suggest any other solution to convert html to pdf or way to import >

Array Format for Multiple Inserts

2014-06-24 Thread Christopher Wilson
I have a series of Form elements(select) that I create dynamically w/ JS, and I have JS that will change the name so that they will create an array. I can create either *Module.column_id.0* or *Module.0.column_id* and increment the number, but I can't get the multiple elements to write to the

Writing array from dynamically generated Select boxes to database.

2014-06-24 Thread Christopher Wilson
I don't quite know what this is called, so I'm having trouble finding a working example. This is what I want: 1. A select/pulldown menu that pulls data from the database. 2. An "add" button that creates a new menu that is a clone of the original 3. For this to write to the database.

Re: Cakephp HABTM association is not working

2014-06-24 Thread John Andersen
Check your class name in the association you have defined: 'className' => 'Children', Should it not be: 'className' => 'Child', Enjoy, John On Tuesday, 24 June 2014 14:29:52 UTC+3, Gregory Fox wrote: > > Hi, > > I need an association where therapists have many children and visa-versa. > > I h

Re: cakephp graphs

2014-06-24 Thread ajt
I am trying to use highchart in cakephp I still get a highchart not found. I downloaded highchartPHP and placed all the 4 files in `Vendor/HighchartsPHP` In the layout I add the lines with the actual js files in `webroot/js` echo $this->Html->script('jquery-1.9.1.min'); // Include jQuery

Cakephp HABTM association is not working

2014-06-24 Thread Gregory Fox
Hi, I need an association where therapists have many children and visa-versa. I have 3 tables: therapists children children_therapists You can see the association below: Therapist.php public $hasAndBelongsToMany = array('Child' => array(

Re: My $this->Auth->login() does not work, any help please? :) Cakephp 2.5.1

2014-06-24 Thread Zero Sony
Hi all, Finaly, i found the solutions. I made a big mistake in my Form. I write "username " and "password " instead of "username" and "password". Cake took the space after username and password. Thx all for your help. =) -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twit

Re: 3.0 how do I use vendor ?

2014-06-24 Thread Soumavo Chatterjee
then u can include it by using simple include keeping the complete structure on vendor folder On Tue, Jun 24, 2014 at 3:25 PM, Archana Goyal wrote: > I can not use App::Import because this is not in CakePHP 3. > > > On Tuesday, 24 June 2014 15:20:11 UTC+5:30, dada123 wrote: > >> Using App::Impo

Re: 3.0 how do I use vendor ?

2014-06-24 Thread Archana Goyal
I can not use App::Import because this is not in CakePHP 3. On Tuesday, 24 June 2014 15:20:11 UTC+5:30, dada123 wrote: > > Using App::Import > > > On Tue, Jun 24, 2014 at 3:18 PM, Archana Goyal > wrote: > >> I want convert html to pdf in my application.To do so I need to import >> vendor(tcpdf)

Re: 3.0 how do I use vendor ?

2014-06-24 Thread Soumavo Chatterjee
Using App::Import On Tue, Jun 24, 2014 at 3:18 PM, Archana Goyal wrote: > I want convert html to pdf in my application.To do so I need to import > vendor(tcpdf) in my controller. > Please suggest any other solution to convert html to pdf or way to import > vendor. > > -- > Like Us on FaceBook h

3.0 how do I use vendor ?

2014-06-24 Thread Archana Goyal
I want convert html to pdf in my application.To do so I need to import vendor(tcpdf) in my controller. Please suggest any other solution to convert html to pdf or way to import vendor. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- Yo

Re: what is request array to save multiple records in cakephp3 ?

2014-06-24 Thread A.K. Mahana
On Tuesday, June 24, 2014 12:06:54 PM UTC+5:30, Archana Goyal wrote: > > saveAssociated() method is not exist in cakephp 3. > > On Tuesday, 24 June 2014 11:49:07 UTC+5:30, A.K. Mahana wrote: >> >> >> >> On Tuesday, June 24, 2014 10:21:29 AM UTC+5:30, Archana Goyal wrote: >>> >>> Hi Mahana, >>> >>