Re: Still having trouble with saving BelongsToMany data

2015-04-08 Thread Farid Aditya
i have same problem, i can't save all my associated data. so for now i have to do it manualy save my associated one model by one model. José Lorenzo i hope cookbook give us more clear example hove to save associated models. On Sunday, February 22, 2015 at 9:01:16 AM UTC+7, Joe T. wrote: --

Re: Still having trouble with saving BelongsToMany data

2015-04-08 Thread Farid Aditya
i have same problem, i can't save all my associated data. so for now i have to do it manualy save my associated one model by one model. José Lorenzo i hope cookbook give us more clear example hove to save associated models. On Sunday, February 22, 2015 at 9:01:16 AM UTC+7, Joe T. wrote: So,

cakephp 3 multi tenant db schema, fail to save associated data

2015-04-01 Thread Farid Aditya
Help, i have this schema. it work fine with find methode, but it fail whene it try to saving data with associated data. it just save main model not associated model https://lh3.googleusercontent.com/-DCftkP_hpPw/VRzNieReGFI/BSY/hkrDj-hn1lI/s1600/myDesainArtRgnProject.png here sample of

Re: CakePHP 3.0 - Confusion comes from

2015-04-01 Thread Farid Aditya
Hi dave I agree with you, but I also disagree cakephp manual book may not be perfect, but it is quite complete and very helpful to understand the cakephp. deficiencies in the manual may be updated in the next update. And that is not in the manual book, we can ask each other in this group. On

Re: Cakephp3.0 Authentication issue

2015-04-01 Thread Farid Aditya
Try this hopely it can help public function login() { if ($this-request-is('post')) { $user = $this-Auth-identify(); if ($user) { $this-Auth-setUser($user); * $userrole = $this-request-session()* *

Re: CakePHP 3.0 - Confusion comes from

2015-03-31 Thread Farid Aditya
no cookbook tutorial/example is fine maybe $this-Model-newEntity(); is to create new object with blank attribute or create blank object container $this-Model-patchEntity($oldObjectAttr , $newObjAttr); is to update object attribute On Friday, March 27, 2015 at 9:37:26 PM UTC+7, Bayezid Alam

Re: Very basic question about the 'CakePHP Project Files'

2015-03-31 Thread Farid Aditya
hi, sorry for late answer after i visit your site, maybe no problem with your cakephp app, maybe it's just wrong data parsing to google map api, not in your CakePPH application. var mapProp = { center:new google.maps.LatLng(Lat_Data, Lng_Data), zoom: 7, mapTypeId:

Re: Very basic question about the 'CakePHP Project Files'

2015-03-26 Thread Farid Aditya
hi roger may i know what issues that you have?? what kind bug in your program/site. maybe if you specific share issues or bug in this group many poeple can help you. if you have the server itself - as mentioned - cakephp file may be in your server webroot. -- Like Us on FaceBook

cakephp 3.0 stable == need help with save assosiated, but data have composite primarykey

2015-03-24 Thread Farid Aditya
help i cann't saving data with save that have assosiated *nb*: *all my table used Inflector::rules('uninflected', ['dontinflectme']), so i don't have proble with naming convension* *this is my model table* class KaryawanTable extends Table { /** * Initialize method * *

Re: Cakephp3.0 stable taken data

2015-03-23 Thread Farid Aditya
that's because you print object not array try this in your controoler *$jobdetail = $this-Listjobs-find('all');* *$results = $jobdetail -all();* *$data = $results-toArray(); in your viewp?= pr($data);exit; ?/por p?= debug($data);exit; ?/p* On Tuesday, March 24, 2015 at 11:14:08 AM UTC+7,

Re: CakePHP 3.0.0-beta3 released

2014-12-29 Thread Farid Aditya
hi mark I have a question already can cakephp version 3 is used for the production phase for a very simple site? or I still have to use cakephp version 2. because I come from areas that do not use the English language, I use Inflector :: rules. in cakephp version 2 I put like this in Inflector