Thank you so much
On Apr 24, 9:49 pm, Teh Treag <tehtr...@gmail.com> wrote:
> Chris,
>
> I use iui on one of my sites. Your description of your install sound
> ok. Are the uris to the files correct? Iui is a little quirky, I
> would sugguest you temporarily elimate cakephp as potentially part of
> the problem and try a static HTML/php page in $app/webroot. once you
> can confirm that works, then you can try the integration with
> cakephp.
>
> I do have a page using cakephp and iui.http://iheartstar.com
>
> BTW - I don't use iui for new development.
>
> -teh
>
> On Apr 24, 5:40 pm, cpeele <chris.peel...@gmail.com> wrote:
>
> > Hey guys, I have been trying to get CakePHP to work with the iPhone
> > 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