Loading...
 
Skip to main content

Allow smarty templates (.tpl files) for formatting pages created using outputtowiki option of pluginTracker

Status
Open
Subject
Allow smarty templates (.tpl files) for formatting pages created using outputtowiki option of pluginTracker
Version
12.x
Category
  • Feature request
Feature
Templates (Smarty)
Trackers
Wiki Plugin (extends basic syntax)
Resolution status
New
Submitted by
hrsms
Lastmod by
hrsms
Rating
(0)
Description

I wish to use a smarty template to format the page created through the pluginTracker output-to-wiki feature. I've just noticed that it only accepts wiki pages as templates. I don't know if this a permanent limitation or not. My wish is for TIki to provide the option to use smarty templates as well as wiki templates. pluginTrackerList does this for pretty trackers.

I want to use a smarty template because I want to avoid creating content for optional fields that were left blank in the tracker item. I can do this with {if} statements and isset().

Workaround

When I wrote this, I was having trouble getting {if} statements to work in wiki templates. But I have figured that out. So that is the workaround.

I think this is still a legitimate wish, as it will make pluginTracker consistent with pluginTrackerList, pluginTrackerFilter, and any similar plugin.

Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5438
Created
Thursday 21 August, 2014 01:03:51 UTC
by hrsms
LastModif
Thursday 21 August, 2014 01:45:21 UTC


Show PHP error messages