> Want a solution to create multiple "documents" where the content for
> each document is made up of a number of templated "content blocks".

I'm not really sure this is a Hobo issue, although I imagine defining
custom tags with DRYML could make the job easier. I saw something like
this a few years ago, and it was done using plain HTML form selects to
choose the desired content blocks--unwieldy if you are doing a really
large proposal, but similar in principle to what you're talking about.

Just off the top of my head--completely untested, and worth what
you're currently paying me for skull sweat--you might consider a table
of content parts, and a join table to hold the per-proposal
selections. In other words:

class Document < ActiveRecord::Base
  belongs_to :proposal
  has_many :blocks
end

Once you know what you're rendering, you can focus on crafting the
right view to display it all properly.

Hope that helps.

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to