Tags:
create new tag
view all tags

SID-00683: Using Template Pages - some questions

Status: Unanswered Unanswered TWiki version: 4.3.2 Perl version:
Category: CategoryTemplates Server OS: Last update: 16 years ago

Hello all,

I am in the process of setting up Twiki as a knowledge base at my workplace and want to use the Twiki templates to create a consistent look across the wiki, for example for topics that can be classed as "general information" have a template with the main headings already set out so that people have something to work with rather than starting from scratch every time. I have a couple of questions:

1) For every topic based on a template I want there to be a corresponding discussion page. I have set up a template called GeneralArticleTemplate which contains the following line:

Click here to discuss this article.

So a link to a child topic with a name related to the parent topic (based on the template) is created and can be used as the Discussion page. However what I also want to do is for the Discussion page to have the %COMMENT% variable automatically inserted. I have not been able to figure out how to do this. Can anyone help here? I am not sure if it's even possible to insert a variable into a child topic when the parent topic is created via a template.

2) Whenever I try to create a new topic using a template and I select "Allow non WikiWord for the new topic name" it still tries to force a WikiWord type syntax. For instance trying to call a topic "This is not a Wiki Word" results in a topic called "ThisisnotaWikiWord". The reason I am trying to avoid WikiWords is that they appear to be very unpopular with the people I work with who seem to prefer the idea of free links. However it seems I can't use a template to create a topic that has a non WikiWord name. Does anyone know how I can do this?

Thanks in advance for any help.

Regards Richard Smith

-- RichardMSmith - 2009-12-21

Discussion and Answer

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2010-02-02

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Unanswered
Title Using Template Pages - some questions
SupportCategory CategoryTemplates
TWiki version 4.3.2
Server OS

Web server

Perl version

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2010-02-02 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.