Hi Chris,

Thanks for bringing this thread over to iPhoneWebDev.  Christopher Allen 
and I decided long ago that this would be the place for iUI user support 
-- not that either of us has done too much of it :(  -- Thankfully, the 
community has :)  There was a guy on iui-developers that said he did it, 
so I'm hoping he'll come over here for the discussion.

On 'iui-developers' you said you had posted this question on the CakePHP 
list.  I'm surprised they weren't able to help you.  I don't know Cake, 
but I've made iUI work in several different server side frameworks 
(Rails and Grails, for example) and I should be able to offer some help 
if we can't find a Cake person to step forward.

I've recently added a server-side language/framework page to the iUI 
Google Code site, so maybe we can add CakePHP to the wiki if we get this 
resolved.

Additional comments in-line...


cpeele wrote:
> 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.
>   


There is an automated way to do this if you build iUI from source (it 
uses Apache Ant: http://ant.apache.org)  Or you could just use 
find/replace in any programmer's editor.


> 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">

Are these hrefs the correct paths?  Did you copy and paste them into 
your browser to check?

It would be a great help if you could create a really simple CakePHP app 
that uses iUI as a test case.  You could use one of the samples from the 
iUI distro.  I've also created the simplest possible sample, called 
"minimal.html".  It's not in the download yet, but you can find it here:
http://iui.googlecode.com/svn/trunk/samples/minimal/minimal.html

You could either download it with Subversion or just do a "view 
source"in your browser.  Since iUI uses Javascript to set the title, 
you'll know that both the CSS and the JavaScript were loaded properly if 
it sets the title correctly.

A URL to the page that is currently displaying the problem might also be 
a help.

Thanks,

Sean


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" 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/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to