Now, updating for Tiki 9! Get Smart...
Now accepting new user registrations! Become a contributor.
| More
Join Print Print multiple pages Convert to PDF

Adding the Dynamic List


Now that we've created the "Internal" tracker and its items (that is, the dynamic list of OS/Version combinations) we need to add these items to the "External" tracker.

To accomplish this, we need to create two new fields in the "External" tracker: one for the operating system selection and one for the version selection.
Internal and External tracker
The relationship between the Internal tracker and the fields in the External tracker.


Add the following fields to the "External" tracker:
Field Type Options
Operating System item link 2,101
Version dynamic items list 2,10,12,112


1. Where: 2 = ID of the Internal Tracker, 10 = Field ID of the primary selection (drop down list)
2. Where: 2 = ID of the Internal Tracker, 10 = Field ID of the primary selection (drop down list), 12 = ID of the item link of the External tracker, 11 = ID of the text field of the Internal tracker

Your "External" tracker should appear similar to this:
Tracker
The completed External tracker with the dynamic list from the Internal tracker.



Using the Tracker

Now that the "External" tracker includes the dynamic fields, the final step is to update the form we built previously to include these new fields.

  1. Update the TRACKER plugin to include the new fields
    {TRACKER(trackerId="1", fields="1:2:3:4:5:6:8:12:13", showtitle="n", showdesc="y", showmandatory="y", reset="Clear", submit="Send")}
    Thank you
    {TRACKER}
  2. The form now includes the new fields:
    User form
    The user information form with the new operating system fields.
  3. When you select a specific option for the Operating System, its available Version options appear.

You can also update the Trackerlist plugin to display the new fields:
Trackerlist
The user list with the new operating system fields.



Contributors to this page: Rick Sapir .
Page last modified on Thursday, October 14, 2010 09:37:29am EDT by Rick Sapir.
The content on this page is licensed under the terms of the Copyright Information.

Buy the Books

Tiki Essentials & Tiki for Smarties -- Buy the Books.
Available from Amazon, LuLu, and more as paperback or ebook...

What do you think?

What do you think of this project?



Anti-Bot verification code image Try another code



View Results
(Votes: 20)

"..This is the only Tiki site that explained things enough that I could follow and understand. Thank you!"

Is Essentials helpful?

Essential Readers



Advertising



Powered by Tiki Wiki CMS Groupware
Creative Commons Copyright. Some rights reserved.
Tiki Essentials (this site) is © 2011-2012 by Rick Sapir, published by KeyContent.org, and is licensed
under a Creative Commons Attribution-Share Alike 3.0 United States License. Some rights reserved. Privacy Policy.
Permissions beyond the scope of this license may be available at http://twessentials.tikiforsmarties.com/Copyright Information.
Questions, comments, or concerns about this site or the guide? Let me know.
New to Tiki? Try Tiki for Dummies Smarties: A beginner's guide to using Tiki Wiki CMS Groupware.


Feedback Form
Feedback Analytics