Accessing Vendor classes in cakephp 3 Controller

2014-09-19 Thread Jipson Thomas
Hi I am using Mandrill API (from a composer pack) in my cakephp 3 project. I installed the mandrill as a vendor by editing composer.js file by adding the line "require": { "php": ">=5.4.16", "cakephp/cakephp": "3.0.*-dev", "mobiledetect/mobiledetectlib": "2.*", "c

Re: belongsTo proper usage to avoid 1052 ambiguity?

2014-09-19 Thread MikeK
I fugured it out - problem is the name should be "favorite_lure" without the space. For some reason old 1.2 didn't mind. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google

HELP cant display records from a join

2014-09-19 Thread ajt
Hi, I cant get this simple join to produce records. I am trying to link a HABTM model with joins but I dont get any records from the joined tables. I want all the subjects for tutor id =2 but as you see I get NULL and I have tried different recursive levels. i should not get NULL in the other

Re: Best practice to get menu array

2014-09-19 Thread Dario Savella
By the look of it what you need is a Plugin and inside the Models for the tables you mentioned and at least an Helper to produce the HTML output. I recently used the MenuBuilder Plugin. You will have to add the logic to retrieve the menu from your Models though. On Saturday, September 13, 2014 1

Imagine Plugin

2014-09-19 Thread Nirmala shrestha
I'm new to Cakephp and a bit confused how to use Imagine Plugin in Cakephp. I came to know that we need to load plugin in bootstrap.php file but i am not able to start to use plugin features. How to use in controller and display in view? Anybody please guide me. -- Like Us on FaceBook https://

Cannot connect to sqlserver

2014-09-19 Thread athirah hazira
I got this error : CakePHP is NOT able to connect to the database. Database connection "Sqlserver" is missing, or could not be created. Details : - CakePHP 2.5.4 - Wamp server 32-bit - Dreamweaver CS6 On my *details.php* class DATABASE_CONFIG { public $default = array( 'datasou