Loading...
 
Skip to main content

Tracker empty field wrongfully displayed when using PrettyTracker templates

Status
Pending
Subject
Tracker empty field wrongfully displayed when using PrettyTracker templates
Version
15.x
Category
  • Error
Feature
Trackers
Resolution status
Out of Date
Submitted by
Torsten Fabricius
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

Hi,

I have a small simple thing, which I consider a bug. It hurts me, and hopefully it is not a great deal to fix it (I hope it to be a "some minutes fix"):

  • I use the tracker setting "do not display empty fields".
  • I use a tracker to collect bibliographic references
  • I use Pretty Tracker templates to display bibliographic references in a scientific standart.


For certain elements of a bibliographic reference you need "punctuation characters" like commas or brackets at specific positions to distinguish a number of pages or page from to or if numbers mean chpters or pages, etc.

These punctuations are always the same and standardised and shall not be editable by the editorial team, but instead automatically added by the system (Tiki), when an item is not empty.

Examples:
I type in the tracker form "2014" and the system displays ", 2014"
I type in the tracker form "207 - 221" and the system displays ", p. 207 - 221"
etc.
I want to use the fields prefix and suffix for that, but the problem is right now, that these field prefixes and suffixes are displayed in Pretty Tracker pages even for empty fields, when I use {$f_field_name} or {$f_fieldId}, maybe the setting "do not display empty fields" does work for standart tracker item display only but not for a template based Pretty Tracker like custom display.

Any hints? anybody up to for checking how much work a fix would be.

Importance
5
Easy to solve?
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5662
Created
Friday 08 May, 2015 10:44:44 UTC
by Torsten Fabricius
LastModif
Monday 05 February, 2018 08:01:29 UTC


Show PHP error messages