The template is attempting to loop through $onlineUsers['records'] but your are setting your variable as $users. Take this line: PHP: $response->params['users'] = $userModel->getLatestUsers(array(), array('limit'=> 5)); and replace it with this: PHP: $response->params['onlineUsers'] = $userModel->getLatestUsers(array(), array('limit'=> 5));
Kier, start a radio broadcast, you'd be great Great batch of videos, so unbelievably cool what you can do.
I know this is an old thread, but I ran into this issue as well. For anyone who also runs into it, you can add this into your .htaccess file and it basically removes the webdav file from the HTTP Auth protection, allowing you to get access via WebDav. Code: <Files admindav.php> order allow,deny allow from all satisfy any </Files> You can of course change it to below which should limit access to a specific IP address. (I haven't tested it though.) Code: <Files admindav.php> order deny, allow deny from all allow from 123.123.123.123 satisfy any </Files>
Hello, I am making a page following this tutorial, but when I use "respond" I have the following error : please use a valide callback method. Thanks.
It means the callback method (either controller, or action) isn't valid - either the class can't be loaded, or the action is invalid (usually doesn't exist, or has a typo).
I just enabled this feature using the demo here... I got it all to work... The question is, what is the proper way to return the HTML inside the Template HTML area? Or do I have to insert it into the template? ****EDIT: Just used the PAGE_CONTAINER html.