• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item3894: Make topicExists accessible with IF

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Enhancement Closed   minor 4.2.0

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

It would be a big improvement to be able to check for topic names using IF.

For example:

%IF{"exists 'BlogComments'" then="topic exists"}%

-- TWiki:Main/ArthurClemens - 14 Apr 2007

And/or add a new %EXISTS{}% variable, returning 0 or 1.

-- TWiki:Main.PeterThoeny - 14 Apr 2007

if the %EXISTS variable exists, you can write:

%IF{"$ 'EXISTS{TopicName}'" then="topic exists"}%
So I'd favour %EXISTS rather than adding another function to %IF.

Setting to confirmed.

CC

TWiki/IfStatements tells me that it is implemented as istopic

-- SvenDowideit - 31 Jul 2008

This is marked as "Waiting for release", but there is no check-in and since January (when it was marked as "Waiting for Release") we had 4.2.1... By now, I'm cleaning "WaitingFor" field.

-- TWiki:Main.GilmarSantosJr - 10 Aug 2008

ItemTemplate
Summary Make topicExists accessible with IF
ReportedBy TWiki:Main.ArthurClemens
Codebase

SVN Range TWiki-4.1.2, Fri, 13 Apr 2007, build 13369
AppliesTo Engine
Component

Priority Enhancement
CurrentState Closed
WaitingFor

Checkins

TargetRelease minor
ReleasedIn 4.2.0
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2008-08-10 - SvenDowideit
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback