Loading...
 
Features / Usability

Features / Usability


Auto selecting category

US

I have a tracker that has a drop down field. I want a page that will display all tracker items with "x" as the drop down category. Now I have a tracker filter, but I cant see a way to auto select "x" to be displayed.

Please help,
Avocado

US
It would actually be even better if there was a way to do it all behind the scenes. Another worlds not have the user do any selecting. Just navigate to the page and see all trackers with category "x" displayed

United States

If you use a plain TRACKERLIST to show the tracker items on a wiki page,  you can use the filterfield and exactvalue parameters to only display specific tracker items. 

For example, this:

{trackerlist trackerId="1" filterfield="21" exactvalue="foo" }

 

would display all the tracker items from Tracker 1 in which the value of Field 21 is foo.

See the docs for full details: https://doc.tiki.org/plugintrackerlist

If the field that you're filtering is a Category tracker field, I think you may have to use the category's ID instead of its name, but I'm not sure.

 

HTH,

- Rick  |  My Tiki Blog |  My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.

 

US

Thank you very much.

What a big help!

-Avocado


Upcoming Events

No records to display

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.