web app js and css library "iui" and always run into problems with it
when it comes to CakePHP finding the files.
I was able to do this without CakePHP. I know it is my lack of
understanding of how best to include a third party js and css library
into CakePHP framework
The iui library consists of some images, js and css files with the
path to the img files hardcoded in the css (i.e. url(myImage.png) ).
To go along with the way CakePHP does things I removed the images from
their image folder within the iui folder and placed them in the img
folder within "webroot". I then placed the js and css files in their
respective webroot folders as well.
Then, since the css styles were looking for the image files in the
image folder they came with I had to go and change the path to each
and every style so that they could find the images within the webroot
img folder.
I then referenced the styles and js scripts like so:
<?php
$html->css('iui', null, null, false);
$javascript->link('iui', false);
?>
When I go to view the page in the browser everything goes blank.
When I view the page source, this is the path to the files it shows:
<link rel="stylesheet" type="text/css" href="/TeamPlayerMobile/css/
iui.css" />
<script type="text/javascript" src="/TeamPlayerMobile/js/iui.js"></
script>
If anyone could please help I would greatly appreciate it.
Thank you so much!
Chris
--~--~---------~--~----~------------~-------~--~----~
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