Tags:
create new tag
view all tags

SID-01512: New Topic Page Title

Status: Answered Answered TWiki version: 5.1.1 Perl version: 5.10.1
Category: CategoryEditing Server OS: Linus 2.6.32 Last update: 14 years ago

Hi Developers and fellow users,

I was able to edit the WebTopicEditTemplate so that each new topic is created with a title.

The contents of the template is as follows:

<noautolink> %STARTSECTION{ type="expandvariables" }%
%TOPIC%
%ENDSECTION{ type="expandvariables" }% </noautolink> 

Most of the time I create the wiki words using [[  ]]. So [[my topic]] becomes MyTopic. How do I force TWiki to expand %TOPIC% into "my topic" instead of MyTopic?

Thanks, LawrenceWalker

-- LawrenceWalker - 2012-07-30

Discussion and Answer

Use %SPACEOUT{%TOPIC%}%. See VarSPACEOUT.

-- PeterThoeny - 2012-07-30

      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 Answered
Title New Topic Page Title
SupportCategory CategoryEditing
TWiki version 5.1.1
Server OS Linus 2.6.32
Web server Apache 2.2.22
Perl version 5.10.1
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2012-07-30 - 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.