Re: Can not get CakePHP to work with iPhone web app kit "iui"

2009-04-25 Thread cpeele

ok, I tried as you suggested and when the js and css files are in the
cakephp js and css folders it doesn't work. If I have the path point
just to the iui folder that contains the libraries it works.

can you show me what paths in your css files are pointing to the
images and also what directory structure you are using?

Thank you so much,

Chris

On Apr 24, 9:49 pm, Teh Treag  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  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:
>
> >  >         $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:
>
> >         
> >         

Re: Can not get CakePHP to work with iPhone web app kit "iui"

2009-04-25 Thread cpeele


ok, will do, I will get back with you.
Thank you so much

On Apr 24, 9:49 pm, Teh Treag  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  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:
>
> >  >         $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:
>
> >         
> >         

Re: Can not get CakePHP to work with iPhone web app kit "iui"

2009-04-24 Thread Teh Treag

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  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:
>
>          $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:
>
>         
>         

Can not get CakePHP to work with iPhone web app kit "iui"

2009-04-24 Thread cpeele


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:

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:




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