Fullscreen
Loading...
 
[Show/Hide Left Column]
[Show/Hide Right Column]

User_Tracker

From 2015 onwards, please see this other profile "User_Trackers" (note the ending "s" from the plural word) which does create working instances of User Trackers with many more fields for you to get started more easily:

https://profiles.tiki.org/User_Trackers



User_Tracker profile

This mini profile creates basic User Tracker. Can be required and included by other Profiles. It also creates one mandatory field for the user login name which is necessary to make the user tracker work properly. It has modular concept so the other fields can be included as profile dependencies and are completely optional. Feel free to create your own fields for this User Tracker profile as "Profile snippets" and then call them via dependencies together with this profile from your own profile.

Preferences

Make sure Trackers feature is on:
YAML
preferences:
 feature_trackers: y


The User Tracker

YAML
objects:
 -
  type: tracker
  ref: user_tracker
  data:
   name: $profilerequest:User Tracker Name$User Tracker$
   description: $profilerequest:Tracker Description$Additional information about users$
   default_status: open
   allow: [ one_item_per_user, creator_modification ]
   hide_list_empty_fields: y
   show: [creation_date, modification_date, list_modification_date ]
   sort_default_order: asc


General Fields (Mandatory)
YAML
objects:
 -
  type: tracker_field
  ref: user_name
  data:
   name: $profilerequest:User Login Field Name$User Login$
   tracker: $user_tracker
   type: user
   flags: [ searchable, public, link, list, mandatory ]
   options: 1



Contributors to this page: Xavier de Pedro and luciash d' being .
Page last modified on Wednesday 06 of April, 2016 12:28:26 CEST by Xavier de Pedro.