Loading...
 
Skip to main content

Group plugin: A way to have not just "if" but "if/else"

Status
Closed
Subject
Group plugin: A way to have not just "if" but "if/else"
Version
1.9.x
Category
  • Feature request
Feature
Wiki Plugin (extends basic syntax)
Group
Resolution status
Fixed or Solved
Submitted by
Marc Laporte
Volunteered to solve
sylvieg
Lastmod by
Marc Laporte
Rating
(0)
Description

Group plugin is very cool to put conditional content on a wiki page.

However, it is only an if. There is no if/else.


Say I want to show a content X to people in a group and content Y to everyone else.

Maybe we could have a new parameter?: notgroups

Copy to clipboard
{GROUP(groups=>Anonymous)}text for anon{GROUP}

Copy to clipboard
{GROUP(groups=>notgroups=>Anonymous)}text for the others{GROUP}

Importance
7
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
994
Created
Thursday 18 January, 2007 21:40:48 UTC
by Unknown
LastModif
Thursday 14 January, 2010 23:44:18 UTC


Show PHP error messages