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].
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en.

Reply via email to