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
<h1>Missing controller</h1>
<p class="error">You are seeing this error because controller
<em>JsController</em> could not be found.</p>
<p><span class="notice"><strong>Notice:</strong> If you want to
customize this error message, create app/views/errors/
missing_controller.thtml.</span></p>
<p><span class="notice"><strong>Fatal</strong>: Create the class below
in file : app/controllers/js_controller.php</p>
<p><?php<br />
class JsController extends AppController {<br />
var $name = 'Js';<br />
}<br />
when i add this it will say no model specified...
do i need to configer any thing else to include a javasript in my
thtml file..
please any one help me.......please......
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---