How to -- newbie

Hi …

I am getting started with RoR and having fun :slight_smile:

So, my problem is how to integrate the static and dynamic sides of the
site I am making. I have a standard look-and-feel, the usual stuff,
graphic header, left sidebar with menu, content in the centre. Some
pages are static – main page, contact, that kind of thing – and some
are dynamic, such as the admin pages.

My problem is I don’t know how to get the standard template that I am
using into the dynamic pages. When I copy the template code into
views/layouts/admin.rhtml it loses the graphics and the static links,
such as ‘contacts.html’ get interpreted as controllers, which I don’t
want.

If someone can point me at some documentation on how to do this, I would
be very appreciative.

Regards,

-mark.

Mark Probert wrote:

If someone can point me at some documentation on how to do this, I would
be very appreciative.

Regards,

-mark.

http://www.pragmaticprogrammer.com/titles/rails/index.html