I am building a mostly static website that can take
advantage of some
automation, so I have written it using Pier. I just took a look at
the MC
repo and noticed I am a ways behind in revisions (i'm at 79) so
maybe there
is a way to do this now. Or maybe there was before I just didn't
understand
it.
What package? There are several packages with version 79, some of
them even have multiple branches with a 79 version. Pier-All-lr.79?
What I am doing is making a band website. One of the
things we
need on the
page are CD's. What I would like to do is; in Pier do a normal
Component
add, but I would select PRCDPage instead of the normal one. Then I
can edit
the CD from the Edit command. Simple enough.
But it occurs to me that this is a more general problem. I have an
object
which may be image only, or it may actually live in the database.
I want to
do a "PRModelPage" add, have the edit let me select the model and
then after
the model is known the Edit command will edit the object directly.
I am a bit confused. First you talk about Components, I guess you
ment structures.
Now you talk about models, what is a "PRModelPage"?
Then you talk about the addition of a structure. And about the fact
the user has to choose the type (Page, File, Component) before adding
it.
I really think something like this would be helpful
for the site
overall. I
think this is the type of thing you get easily from Rails. So
before I go
off and implement it, I thought I was ask, what do you guys think?
Does
this exist already? Is there some better way it should be
implemented them
how I am suggesting (i.e. the Migretta meta-information will have
to be kind
of "two phase")?
Isn't this already the default behavior? Adding lets you select the
type, then an editor on the selected type is displayed. Two-phases,
the first one always looks the same, the second one is different
depending on the type selected and its user customizable settings.
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch