Hi All,
I have a fairly pressing requirement to complete that involves
the CR, and I could do with some advice as the best way to proceed.
Let me briefly outline the problem-space.
I'm putting together a custom, content management section, for a new
site. The idea is that a user of the site can, via some on-line
screens create a number of text and image elements describing their
company and can then select from a number of display templates to
determine how the page will appear when served up.
Typically the user will create a 'description' item, a 'capability
list' and probably include a corporate image.
I intend to offer them each as a separate item to maintain, so that
the task of doing so could be separated amongst distinct users. The
final 'approval' or 'publish' step will be performed by the site
administrator who will essentially control if new revisions can become
the live revision.
The Problem
The 'capability list' is an item consisting of one or more list
entries (plain text) but with the possibility of attaching an image.
Ok, I could model where each list element is itself a separate content
item, as is each image, and therefore relate them to each other (image
being the child of list element perhaps).
That's ok ish, but its hard to imagine a UI to accompany that that
would not be cumbersome. (and the users are not necessarily that
web-savvy)
What I'd really like to offer is a single text entry box where the
list can be produced, and when an image is desired they can just put
in a simple directive naming the image.
Therefore the template would have to, when constructing the page,
replace these directives with the relevant image.
Ok, that in itself is clear enough, but then the issues arises of how
to get the images into the system
I could have an 'add image to image bank' screen, where they can
upload images (Stored in the CR?) that can then be reference by name.
(of course the name would have to be made unique within the context of
that user).
Question: This seems fairly do-able, but what concerns me is
the template itself. I've used the CR a bit before, but not with any
great aggression, so although I'm sure this is acheivable I'm not
entirely sure how the template would operate.
Does anyone have an example of this sort of thing, or some advice, or
even a suggestion for an alternative approach to how this might be
achieved?
I guess really this is highlighting my lack of usage of the CR.
Creating fairly strict, fixed size and content stuff is
straightforward, but the docs and example are a little thinner on the
ground when it comes to creating CR based docs that have fairly
arbitrary content where you want the user to have control over that.
If anyone has examples (and I will respect confidentiality/NDA
if its
commercial) I could work from etc.. I would be deleriously
grateful.
Thanks in advance
Simon