Templates?
|
32 posts
|
I have an editor who will need to create weekly schedules. My first thought was to put them all in a page and the editor would copy&paste to make a schedule for a new week. After having a few nights of sleep I realized it is much cleaner if there is one page per schedule. A master page can then output a number of the schedules in one html-page. But my problem still boils down to how to make it as simple as possible for the editor. The copy-page feature in 0.95 will probably take me quite far. Then the editor only has to remember to change the page status… But has anybody else had the need for templates? What were you trying to solve with them? |
|
651 posts
|
Never needed templates for something like this myself. It sounds more like you need a scheduling application with some nice output possibilities than a template? At least that’s the direction I’d head into. Something like this would require structured input (otherwise you’d get a very error-prone process) and that in turn would suggest an input form and validation of some kind for the schedule data. Which is why I’d be tempted to turn it into a plugin. |
|
32 posts
|
Yes, that would be the ultimate solution. But just stacking pages after one another is much faster to implement. :-) And there actually is, in my case, a bonus with not having to stick with a strict layout too. I’m trying to duplicate what they currently scribble down on a whiteboard… But if I would like to implement a simple template plugin, what would be a god logical way of handling it? A template is basically a page that behaves like a hidden page (so that the template can be previewed). But it would have an easy copy-functionality, asking for a title and setting the status to Draft. That should be quite ieasy to implement? Logically I would classify a template as a page type, but the status field is more suitable for the functionality… |
|
1493 posts
|
Can you give us an idea of what the page looks like? screen-grab of output? photo of the latest whiteboard? :) etc. |
|
32 posts
|
For your amusement only… :-) But this is a “quiet week”, normally they have different activities marked for the morning and afternoon and there might be additional notes like “take home wet clothes!!” etc… But Martijn’s comment about a plugin seems to have done it’s work during the night… I realized I want a whiteboard-plugin! :-) (http://www.imaginationcubed.com/) I was first thinking of a Flash-based one. But it just hit me that it would be quite cool with a SVG or HTML5 canvas-based whiteboard… This is a mockup of what it might look like on the net: http://www.ekebodagis.fi/dagis/veckoschema/vecka-xx-dd-dd-mm.html |
|
1493 posts
|
Very cool! :) It seems like you do a lot of “work” at night, too!! |
