Hi Bruno, Thanks for your feedback. I am still experiencing issues with the 4th step. I am running Mongrel on localhost on OS X 10.6, I have added the iphone.localhost subdomain to etc/hosts but when I click the link for the iphone optimized site on my iphone, I get a server stopped responding error.
I also found a way to manually check the interface for the iphone by adding the ".iphone" extension at the end of the URL. I noticed only some functionality from CE loading up. for example, no blog posts, no forums, no friends... Should I expect this issue to resolve with proper iphone plugin configuration? Thank you, Igor On Tue, Mar 16, 2010 at 9:37 AM, Bruno Bornsztein < [email protected]> wrote: > Sure: > > 3. Add the `iphone_user_notice_partial` to your application layout: > > = render :partial => "shared/iphone_user_notice" > > This just means you need to duplicated CE's > app/views/layouts/application.html and put it in your app's layout directory > (rails_root/app/views/layouts). Then add the line to render the partial to > the template somewhere (I usually put it right inside the #bd element), so: > > #bd > = render :partial => "shared/messages" > = render :partial => "shared/iphone_user_notice" > > > 4. Set up your server to accept requests to `iphone.yourdomain.com`. For > example, if you're using Passenger, add a server alias to your vhost > definition: > > ServerName www.yourdomain.com > ServerAlias iphone.yourdomain.com > > *Make sure you also set up your DNS to resolve the `iphone` subdomain.* > > > This has nothing to do with Rails. You just need to set up your server to > route requests to iphone.yourdomain.com to your Rails app. What server are > you using (Apache, Nginx,etc.)? > > Thanks > Bruno > > > On Mon, Mar 15, 2010 at 8:02 PM, Igor <[email protected]> wrote: > >> Hi Bruno, >> >> Could you please post a more detailed instruction set on how to >> configure the iphone plugin than the one given in the README file. I >> have never used RoR before and would really appreciate help with steps >> 3 and 4. I got the engine running on localhost and yet to override any >> of the methods and the iphone plugin is in vendor/plugins . >> >> Thank you very much >> >> Igor >> >> -- >> You received this message because you are subscribed to the Google Groups >> "CommunityEngine" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<communityengine%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/communityengine?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "CommunityEngine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<communityengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/communityengine?hl=en. > -- You received this message because you are subscribed to the Google Groups "CommunityEngine" 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/communityengine?hl=en.
