Loading...
 
Skip to main content

Improve consistency of the wiki templates parameter and syntax in Tiki tools, plugins and syntax

Status
Open
Subject
Improve consistency of the wiki templates parameter and syntax in Tiki tools, plugins and syntax
Version
27.x
master
Category
  • Feature request
Feature
All / Undefined
Resolution status
New
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

It Tiki we can use Smarty or Wiki templates (wiki pages).

For the Wiki pages there no consistency between tools in Tiki.

The template parameter

For customSearch plugin the parameter is "wiki=" - https://doc.tiki.org/PluginCustomSearch
For the List plugin the parameter is "tplwiki=" - https://doc.tiki.org/PluginList-output-control-block
For the Plugin IncludeTpl the parameter is "filename="wiki:" - https://doc.tiki.org/PluginIncludeTpl
... There could be more...

All the parameter to call a template from a wiki page the parameter should be the same anywhere.
"tplwiki=" seems to me to most understandable and precise.

The Wiki syntax require to use the template
  • Plugin List: a wiki template can be use as is (you just paste your HTML)
  • Plugin customSearch: your html need to be enclosed between literal tags ({literal} HTML {/literal}


It should be just consistent for the end user (not power user) experience.

Importance
3
Easy to solve?
5
Priority
15
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8518
Created
Wednesday 13 September, 2023 07:44:09 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Wednesday 13 September, 2023 07:54:03 UTC


Show PHP error messages