Loading...
 
Skip to main content

History: Static Text Tracker Field

Source of version: 9 (current)

Copy to clipboard
            !Static Text Tracker Field
This type of field inserts text between item fields. When this type of field is chosen, the Description text field changes in a textarea, so the tracker creator can put whole paragraphs of text.
The basic usage of this type of field does not allow any input from the users. However, you can request tiki to parse the contents of the description textarea from this tracker field, taking into account just line breaks, all wiki parsing, or since ((Tiki16|Tiki16.2)), all wiki parsing plus ((pretty tracker)) syntax to reuse values from other fields of the same tracker item in there.

Therefore, the initial purpose of this field is to allow for a more legible display, even if it can be used for more advanced setups in combination with ((PluginJQ)), ((PluginArchiveBuilder)), or ((PluginPaymentList)). 

!!# Parameters
The content of the "Name" text field will be displayed on the left column.
The content of the "Description" text field will be displayed as text on the right column.

||Parameters|type|description
wikisyntax|1 or 0|if 1, the text will be wiki-parsed, and since ((Tiki6)).1, the notification emails (if any) will include the parsed version. If 0, only line breaks are supported, and the exact text is sent in the email with no parsing.
listmax|numeric|maximum number of characters that are displayed in list mode||

!!# Examples
!!! Basic Example 1: 'Read this first' in a registration form
You can play with a basic example if you apply profile ((pr:User_Trackers)), where ((PluginTabs)) and ((PluginFade)) are used inside a static text tracker field to allow displaying more information to users in the registration process to their a Tiki site.

It will show a section called "Note" displayed to users in the middle of the form, with two tabs: "Read this first" (which includes an expandable section when you click at the link "Read more") and "Feedback":

{img src="http://tiki.org/display542" width="400" thumb="zoom"}

!!! Basic example 2: Terms and conditions
It can be used to display a term and conditions text for instance.

{img src="img/wiki_up/tracker_field_static_text.png" }

You can use a static field in combination of a mandatory checkbox field to display a terms and conditions note.
If the shadowbox and jquery features are on, you can do a popup like this
{CODE(colors="tiki")}
[http://mysite.com/tiki-print.php?page=Terms|Click to see the terms|shadowbox:title:Terms;]
{CODE}
If the IFRAME plugin is activated, you can display an ifram like this
{CODE(colors="tiki")}
{IFRAME(src="tiki-print.php?page=Terms" height="300px" width="300px") /}
{CODE}

~tc~ } curly bracket added to restore normal highlighting through codemirror~/tc~

Note:
*This is a 2.0 feature.

!!! Advanced example: Synchronize owners of related items in linked trackers through jQuery
You can play with an advanced example if you apply profile ((pr:Work_Custom_Pricing)). A static text tracker field is used to place code through ((PluginJQ)) to synchronize owners (through ((User selector|user selector tracker field)) ) of related items in linked trackers (through tracker field ((ItemLink)) ).


Alias names for this page:
(alias(Static text)) | (alias(Static)) | (alias(StaticText))