Loading...
 
Features / Usability

Features / Usability


Re: Wiki Pages as tracker items

posts: 1563 Germany

I think, I understand.

It is kind of a user page.

A user page can easily be found by the user name, but not by a tracker item Id - so this might make sense.

You have a template for the form (wiki page with plugin tracker plus pretty tracker template or so) and you have a template for the display of the new page.

You want to display not all items of the tracker (so all users data one after the other), but only the specific one.

Right so far?



I guess you want to use the trackerlist plugin.
The trackerlist plugin must be in kind of a content template, kind of prefilled contant on page creation and the trackerlist plugin there has a parameter wiki="templatepage", which points to the wiki page you use as template, which cares about the display regarding the user data.

At the point when you have solved that the tracker form creates a wikipage, that contains a trackerlist plugin with trackerId=X, we need to figure out the appropriate parameter or setup, that you can limit the trackerlist display to the specific owner of the created user page.



Lets say usertracker Id = 2 and a user named "Peter" registers.

Your tracker form creates item 378 in tracker 2 and a wikipage "user:peter" (or so).

The wikipage contains a trackerlistplugin like that:

Copy to clipboard
{trackerlist trackerId=2 ... bla bla ... wiki="tpl_usertracker_in_userpage"}

where tpl_usertracker_in_userpage is the name of the template wiki page.

The tracker form must pass a parameter to the wiki page into the trackerlist plugin that limits to Peter

Hmmm something like:

Copy to clipboard
{trackerlist trackerId=2 ... $user ... blabla ... wiki="tpl_usertracker_in_userpage"}


But this $user must be replaced by a "fixed identifier", that is understood by the trackerlist plugin.
You do not want, that every user displays the user date of the user which views the page (so see your own data on all user pages of other users makes no sense).
Instead you want, that after the wiki page is created, the wiki page shows the data of the owner of the page - ex. Peters data on the page user:peter .

hmmmmm

I think that could work with category, when you create a category for every user on registration or so. Just one simple idea.
Maybe Jonny might have an idea what to pass.

There might be some parameter in the docs PluginTrackerlist which could point us to the right parameter we could use - not necessarily categories, as this would cause extra management requirements.



I guess we need 3 templates:
1. template to display the form
2. template for creation of the wikipage content including the trackerlist plugin and the user filter / user identifier, which limits the display to the one specific tracker item
3. template to display the user data once the wiki page is created



I have to go now, but I will be thinking about that the next hours (or days) and i'll look into the docs aswell and to my own tracker use cases. Together we might get there soon. And now I think this makes sens. Maybe I can use that for a project aswell some time.

Looking forward to ideas of other community members.

Regards,
Torsten

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting