Re: Pulling data to the home page

2006-09-01 Thread dmancan
I tried using the requestaction method, but could only get back empty sets. If I do this...I get my dataset: var $uses = array('user'); function index() { $mdlUser = new User(); $this-set('data', $mdlUser-getUserList()); } If I do this, I get an empty

Re: Pulling data to the home page

2006-09-01 Thread dmancan
AD7six wrote: You could just put echo $this-requestAction (/users/getUserList,array(return=true)); I'm sorry. I tried this method and got a full page loading into another full page. AD7six: I used the method as described in the manual: http://manual.cakephp.org/chapter/controllers

Pulling data to the home page

2006-08-31 Thread dmancan
Hi I'm currently testing cakePHP to decide if our company should switch over. I have a quick question which I'm sure is a snap for you gurus to answer. I want my homepage to draw a collection of requests from various database tableseach dataset will populate various elements on the

Re: Pulling data to the home page

2006-08-31 Thread dmancan
I knew it was something easysheesh. Thanks John. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group,