I can't seem to find what I am doing wrong here after scouring the web
for hints. The relevant (I hope) code bits are included below. I am
using cakePHP 1.2.6 and jquery 1.4.2.
In my default.ctp, the 'javascript->link' form does NOT include
the .js files but the direct '<script></script>' tags form DOES. Any
thoughts on where else I might look to find something I might be
overlooking?
TIA, DaveT.
app_controller.php:
class AppController extends Controller {
var $uses = array('User');
var $helpers = array('Html', 'Form', 'Javascript', 'Ajax');
var $components = array('Acl', 'Auth', 'Session',
'DebugKit.Toolbar');
// more stuff
}
default.ctp:
<head>
<?php echo $html->charset(); ?>
<title><?php echo $title_for_layout?></title>
<?php
echo $html->meta('icon');
echo $html->css(array('cake.generic', 'my.style'), false);
// echo $javascript->link(array('jquery/jquery', 'jquery/qtip'),
false);
echo $scripts_for_layout;
?>
<script type="text/javascript" src="/GPDdev/js/jquery/jquery.js"></
script>
<script type="text/javascript" src="/GPDdev/js/jquery/qtip.js"></
script>
</head>
<!-- more stuff -->
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment