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:
--
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,
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
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
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()*
*
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
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:
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
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
*
*
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,
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
11 matches
Mail list logo