> Why not make your third party partners create a special HTML page and include
> an HTML comment that indicates where the content goes.  Something like...
>
> <html>
>  <head>.....</head>
>  <body>
>    <h1>My Groovy Layout</h1>
>    <!-- CONTENT -->
>    <div>Footer Stuff</div>
>  </body>
> </html>

So, it looks like what you're proposing is more-less a re-invention of
an alternative layout facility.  Notice that if you were to replace
the '<!-- CONTENT -->' in your code with '<%= yield(:layout) %>' the
result would be a typical layout.  It's something to consider.  I was
just trying to use the existing layout facility.  I think that
approach might be a bit more robust and it might integrate better.
Thanks for the input.  As I say, it's something to consider.

        ... doug

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to