From: Dennis Daniels <ddaniels@ma...> - 2003-10-29 05:36:07
I'd like to propose a new feature for Tiki; template and tpl changes to db.
I'd like to be able to use templates that write directly to the tiki
database. I'm thinking particulary of polls, surveys and quizzes but
ostensibly any of the tiki features. Why? Well, because wiki pages are
currently the only place that holds a history of changes.
How do I envision it?
Starting with something simple like a poll. The user creates a new page
and applies a template called poll. The selection pulls a new ID from
the DB to make sure that the poll is unique and the ID is displayed in
the tiki page name. The variables for the poll are wrapped in tags and
the user fills supplies the data within the tags, completely skirting
the form based interface. The preview shows the poll as generated by the
poll feature and the user edits the poll in the wiki page until it is
satisfacory and then saves it.
I'd also like to suggest that this idea points to a much needed
interface for editing and saving of .TPLs in general. Each .tpl should
have a unique ID number so that designers can have more freedom in the
design of their tiki interface. As yet, there's no easy way for users to
create and test TPLs within the Tiki interface without fear of breaking
the existing tpl... the tpls do not have histories and so a user is
forced to tread lightly and back up often if they intend on creating a
more customized tiki interface.
Please consider for a moment how useful having wiki pages be the
foundation for creating new items in a poll, survey, faq,
quiz,directory, or structure. Then consider what Tiki could be if the
'regular' user could edit, preview and save .tpls without worrying that
they will break their Tiki site.
Again, thoughts, criticism, and ideas are welcome!