1st, sorry for mistakes I made in my last posts yesterday, was tired
cause of work :p
2nd, I'm learning CakePHP for a week, can't yet imagine an action
using 2 components (1 included in AppController and 1 in
ThingsController) to be sure of what I'm testing
but if you have the answer, I'm
hello there,
When i try to include a external javascript fle in my 'thtml' file
echo $javascript-link('rico/rico.js');
it resides in webroot/js/
but iam getting the error
h1Missing controller/h1
p class=errorYou are seeing this error because controller
emJsController/em could not be found./p
Also remember that helpers are not additive, so if you have
'Javascript' in your AppController and you have other stuff in that
controller for this page Javascript is gone.
On 4/5/07, Dia [EMAIL PROTECTED] wrote:
I think you should add
var $helpers = array('Javascript');
in the controller
sorry, $controller[] = d;
--~--~-~--~~~---~--~~
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, send email to [EMAIL
you mean if I have
var $helpers = array('Html', 'Form', 'Javascript');
in app/app_controller.php
and
var $helper= array('Text');
in xxxsController
only Text helper will be available in xxxsController ?
(sorry for just reformulation-question but sometimes have troubles
with English :p)
is it
is it possible to do :
// AppController :
$components = array(a, b, c);
// ThingsController
$components[] = c;
?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email