On Tue, May 26, 2009 at 6:36 PM, yoheeb <[email protected]> wrote:
>
> On May 26, 4:03 pm, Erik Bray <[email protected]> wrote:
>> On Tue, May 26, 2009 at 2:24 PM, Christopher Barker
>>
>> <[email protected]> wrote:
>>
>> > Erik Bray wrote:
>> >> What would really be neat would be if there could be some template
>> >> variable fields that need to be filled in when creating a page from a
>> >> template. Some date fields come to mind, for example. I smell a
> well, in theory, you could combine a ticket template, with the
> PageVariableMacro. Although, according to the hak PageVariableMacro
> hasn't been made to work with 0.11 yet.
I had something much simpler in mind. The author of a template could
define some template variables (using a ${foo} syntax) and from those
variables a set of inputs would be displayed for a user to fill out
when they first create a page from that template.
Some additional syntax could go in to specify field types, and to mark
a field as required. I wouldn't want to go crazy with it though.
Nothing so complicated that it would have to involve the ticket
system.
This is something I've kind of had in mind for a while. For example,
we make wiki pages for meetings, and our Meeting template already has
what are essentially template variables for <Date>, <Time>,
<Location>, <Participants>, etc... This plugin would make it easier
to find those fields and make sure they get filled out.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
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/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---