[Rails] Re: how to insert static pages and how to develop a website using ROR?
hi mahesh,
Thanks for the quick response...... i tried what u told
but the images are not getting displayed..
i seperately designed a home page using html and i pasted the code in
the home\index.html (i copied the image to home foleder as well)but
the text only itself only displaing and the images are not..
and one more doubt, if we developed this home page using photoshop how
can i insert that or if the home page is designed using some asp like
that then wat to do?
On Nov 16, 5:46 pm, mahesh s <mahesh...@gmail.com> wrote:
> Hi
> create apprpriate controller and action of your static page
>
> like if your have controller called home_conntroller the action for index
> like controller ->home action ->index
> so in rails you will get a view foor each action
> in index file you just paste the welcome page html file on that
>
> if ur well in layout u create layout for that or you can use application
> layout
> there you can separte your common things like all the pages, the header and
> footer
> will be same so paste those things there
>
> then you paste remaing things in their own page other wise you have copy
> and paste the header and footer in each view file.
>
> On Tue, Nov 16, 2010 at 6:06 PM, venkata reddy <venkatareddy...@gmail.com>wrote:
>
>
>
>
>
>
>
> > Hi all..........
> > I configured ROR successfully...and i practiced 2-3 sample
> > applications Using ROR like creating a video_jukebox and displaying a
> > list of tickets etc..
> > but now i want to build a real time project using ROR.That is a site
> > for a hospital and which contains almost all pages.
> > So how to insert those static pages into the site using ROR...and from
> > where to start?
> > Pls help.......
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Ruby on Rails: Talk" group.
> > To post to this group, send email to rubyonrails-talk@googlegroups.com.
> > To unsubscribe from this group, send email to
> > rubyonrails-talk+unsubscribe@googlegroups.com<rubyonrails-talk%2Bunsubscrib e@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/rubyonrails-talk?hl=en.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home