Show Changes Show Changes
Edit Edit
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Administration Page Administration Page
Search

History

1/24/2008 9:00:47 AM
FLWCOM-jwdavidson
10/4/2007 7:34:22 PM
-87.248.160.134
12/14/2004 8:09:43 AM
davidorn@microsoft.com-131.107.71.224
List all versions List all versions

RSS feed for the FlexWiki namespace

Customizable Topic Templates Historical
.

Old discussion archived from CustomizableTopicTemplates

By way of "_TopicTemplate"...

The ability to customize the template used during creation of new topics has been requested. My implementation of this is to utilize a topic called _TopicTemplate, the content of which is used as the starting content of a new topic in the same namespace. If no _TopicTemplate topic exists in the current namespace, the _TopicTemplate topic of the default namespace will be used as the starting content of the new topic. If neither _TopicTemplate topic exists, the current starting content - defined in the source code itself - will be used.

A working implementation of this feature can be seen at http://www.laneve.com/FlexWiki , and this particular implementation of this feature requires only 9 lines of code added to the EditTopicPage.cs file.

Q: How did you do your implementation? I tried making such a topic, and it didn't work. The above link doesn't seem to be working either. This seems like such a simple thing that everyone would want: ability to set up templates, even if only 'one' template is allowed. If anyone has a way I can do this myself before next version, please let me know here. Thanks. -- ToddSturgeon, 2004-10-26

How 'bout giving users a choice of templates when they create a new page? You could take a set of templates all with a common naming convention (or you could have a WikiPageProperty in the ContentBaseDefinition that listed a bunch of topics that could be used as templates).

Yes...deep down I agree. Your description follows that of the OpenWiki implementation, and I really should have done it that way. I'll get back to work! -- RyanLaNeve

Not logged in. Log in

Welcome to the home of FlexWiki, an experimental collaboration tool, based on WikiWiki.

This is FlexWiki, an open source wiki engine.

This site supports the new NoFollow anti-spam initiative.
Change Style

Recent Topics