Re: Js URL

2009-08-03 Thread Sam Sherlock
the default css does not have have a suffix nor should the js
   echo $html->css('default');
   echo $html->css('custom-theme/jquery-ui-1.7.2.custom');
   echo $javascript->link('jquery-1.3.2.min.js'); - S

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Js URL

2009-08-03 Thread RhythmicDevil

Hi,
I am using CakePHP for my application. I am in the process of adding
jQgrid and I am having a problem loading the language file. CakePHP
complains that there is no controller for it?! I have no idea why
though. I have verified that the files are all in the correct place. I
have moved the language file to different locations but it made no
difference. I tried loading by writing out the script tag by hand,
still no difference.

This is from my default layout:

css('default');
echo $html->css('custom-theme/jquery-ui-1.7.2.custom');
echo $javascript->link('jquery-1.3.2.min.js');
echo $javascript->link('jquery-ui-1.7.2.custom.min.js');
echo $javascript->link('jquery.jqGrid.min.js');
echo $javascript->link('i18n/grid.local-en.js');
echo $javascript->link('jquery.json-1.3.min.js');
echo $javascript->link('app.js');
?>

This is what Firebug shows me: