Show "Wikipage" type tracker field as a link, not as a page Posted by CMaster 26 Jan 2017 12:46 GMT-0000 posts: 3 Is there any way (using prefs, pretty trackers, whatever) I can display a tracker field of type "Wiki Page" as a link, as opposed to showing the whole page itself? (Tiki 16)
Posted by CMaster 01 Feb 2017 16:00 GMT-0000 posts: 3 I've got a kludge for this, but it's very much a kludge: As the tracker item name and the wiki page name are thh same, I made the Tracker Item name no longer a "Title". Then, in a pretty tracker, I put something like this: {$f_1}. Other than obviously not being ideal, this also goes wrong if a different field (which is a link to another tracker item) is filled. Then the link points to the wiki page for the other tracker item instead, for unclear reasons.
Posted by Niel Hirjee 02 Feb 2017 12:06 GMT-0000 posts: 12 Let us assume {$f_1} contains 'HomePage', a wiki page name. Then the following should produce a non kludgy link in a wiki page template: Copy to clipboard[tiki-index.php?page={$f_1}|some text here] And for a tpl fie: <a href="tiki-index.php?page={$f_1}">some text here</a>