You are here: Foswiki>Tasks Web>Item13872 (20 Jan 2017, GeorgeClark)Edit Attach

Item13872: RFE - Add TOPICTITLE support as per TWiki

Priority: Enhancement
Current State: Duplicate
Released In: 2.2.0
Target Release: minor
Applies To: Engine
Component: FoswikiUsability
Reported By: VickiBrown
Waiting For:
Last Change By: GeorgeClark

I created something like this in a local cover at Yahoo! in 2007. I named mine PAGETITLE.

Many of my users greatly appreciated this addition, especially in wiki applications. ("Project Kumquat QA Meeting" being easier to remember in bookmarks than Proj00017.)

From the TWiki docs:

TOPICTITLE -- title of a topic

  • The topic title is defined by, in order of sequence:
    • form field named "Title",
    • topic preference setting named TITLE,
    • I have requested that TWiki add support here for the firs H1 header on a page
    • topic name.
  • Syntax: %TOPICTITLE% or %TOPICTITLE{ topic="TopicName" }%
  • Supported parameters:
    Parameter: Description: Default:
    "..." or
    Topic to get the title from. Can be of form TopicName or Web.TopicName. Current topic
    encode="html" Encode special characters into HTML entities. If a TOPICTITLE is passed into an HTML form field it should be encoded as "html". Additional encodings: encode="quote", encode="moderate", encode="safe", encode="entity" and encode="url". See ENCODE for details. "" (no encoding)
  • Example: %TOPICTITLE{Projects.SushiProject}% returns Sushi Project assuming the topic has a form field named "Title" with value "Sushi Project"
  • Expands to: %TOPICTITLE{topic="Item13872"}%

-- VickiBrown - 27 Nov 2015

See Development.TopicDisplayName. Already available with Extensions.DBCachePlugin.

-- MichaelDaum - 27 Nov 2015

Duplicate of Item13835

-- GeorgeClark - 20 Jan 2017

ItemTemplate edit

Summary RFE - Add TOPICTITLE support as per TWiki
ReportedBy VickiBrown
Codebase 2.1.3 beta1, 2.1.2
SVN Range
AppliesTo Engine
Component FoswikiUsability
Priority Enhancement
CurrentState Duplicate
TargetRelease minor
ReleasedIn 2.2.0
Topic revision: r4 - 20 Jan 2017, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy