You are here: Foswiki>Tasks Web>Item13354 (05 Jul 2015, GeorgeClark)Edit Attach

Item13354: Statistics and WikiUsers links shown even when the topics don't exist.

Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Extension
Component: PatternSkin
Branches: master
Reported By: CrawfordCurrie
Waiting For:
Last Change By: GeorgeClark
  * %IF{"istopic '%STATISTICSTOPIC%'" else=" $percntICON{\"statistics\"}$percnt
 $percntMAKETEXT{\"Statistics\"}$percnt" then="[[$percntSTATISTICSTOPIC$percnt][
 $percntICON{\"statistics\"}$percnt $percntMAKETEXT{\"Statistics\"}$percnt]]"}%
   * [[WebPreferences][ %ICON{"wrench"}% %MAKETEXT{"Preferences"}%]]

leaves an unlinked item in the menu if the statistics topic doesn't exist. At the very least it could be DELed out.

-- CrawfordCurrie - 07 Apr 2015

This is true for the WikiUsers topic, as well as the UserRegistration page, even when registration is disabled.

Removing Statistics, Users when the topics are missing, and removing Registration when registration is disabled.

-- GeorgeClark - 11 May 2015

ItemTemplate edit

Summary Statistics and WikiUsers links shown even when the topics don't exist.
ReportedBy CrawfordCurrie
Codebase 1.2.0 beta1, trunk
SVN Range
AppliesTo Extension
Component PatternSkin
Priority Normal
CurrentState Closed
Checkins distro:823b2d5956e2
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches master
masterCheckins distro:823b2d5956e2
Topic revision: r5 - 05 Jul 2015, GeorgeClark - This page was cached on 25 Oct 2016 - 21:09.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License