Fullscreen
Loading...
 
Skip to main content

When there are no result for a Plugin List, ALTERNATE should allow to use 0 as a value

Status
Closed
Subject
When there are no result for a Plugin List, ALTERNATE should allow to use 0 as a value
Version
27.x
Category
  • Bug
  • Easy for Newbie Dev
Feature
Wiki Plugin (extends basic syntax)
Resolution status
Fixed or Solved
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
bienvenu ushindi
Rating
(0)
Description

You can set "0" as a value for the ALTERNATE parameter in a plugin list.

{ALTERNATE()}0{ALTERNATE}

Won't display anything.

If you use the plugin as counter of things that's a problem.

Solution

{ALTERNATE()} 0 {ALTERNATE}

0 surrounded with space work but then creates other issues for designing gauge or counters.

Workaround
Importance
5
Easy to solve?
9
Priority
45
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8686
Created
Sunday 08 September, 2024 07:59:02 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Monday 11 November, 2024 18:35:14 UTC


Show PHP error messages