CakePHP 3.0 (Send html email without template)

2015-03-31 Thread Rodrigo Aiello
Hello, I'm trying to send an html email without template, but the variables it´s not working. $email = new Email('default'); $email-emailFormat('html') -to($toAddress) -subject('Test') -viewVars(['value' = '12345']) -send('pHere is your value: b?= $value ?/b/p'); I'm doing

Re: CakePHP 2 v CakePHP 3 SQL

2015-03-31 Thread José Lorenzo
Hopefully from our previous messages you can guess it yourself: $options = array( 'conditions' = array( 'Rentals.id' = $id, ), 'contain' = array( 'Trailers' = array(

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: CakePHP 3.0 - Confusion comes from

2015-03-31 Thread Md Bayezid Alam
Got it [?] Thanks On Tue, Mar 31, 2015 at 6:49 PM, Farid Aditya farid.adi...@gmail.com wrote: 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 ,

Re: Creating a dev environment

2015-03-31 Thread Guru Prasad
Hi, Copy the same folder to ur development server, take structural dump of the application db and restore it on the dev server. Now go to Application/app/Config/database.php in Dev server and change the dbusername and password. Now your app is ready on Dev server. You can use svn or git for

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:

Creating a dev environment

2015-03-31 Thread Job Job Resume
Hi I have my site up and running, but it was done by another developer, i am not too familiar with this yet. But i want to duplicate the site so i have a developer environment that i can use for testing out changes I make. How can i do this? Thanks SO much for the help. JJR -- Like Us on